Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007692/0.007692, allocations: 103.7 kB / 15.74 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 188.9 kB / 16.67 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8276/0.8276, allocations: 132.2 MB / 422.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.12 kB / 0.5813 GB, free: 7.535 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4813/0.4827, allocations: 80.2 MB / 0.6597 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2083/0.6911, allocations: 175.8 MB / 0.8314 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02147/0.7126, allocations: 12.64 MB / 0.8437 GB, free: 9.105 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.7141, allocations: 31.81 kB / 0.8437 GB, free: 9.074 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.716, allocations: 444.7 kB / 0.8442 GB, free: 8.637 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003431/0.7195, allocations: 0.9516 MB / 0.8451 GB, free: 7.684 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004897/0.7244, allocations: 1.83 MB / 0.8469 GB, free: 5.863 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00313/0.7276, allocations: 2.287 MB / 0.8491 GB, free: 3.57 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.7301, allocations: 1.594 MB / 0.8507 GB, free: 1.93 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004096/0.7342, allocations: 1.399 MB / 0.852 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.7355, allocations: 0.811 MB / 0.8528 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003901/0.7359, allocations: 156 kB / 0.853 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.7389, allocations: 1.415 MB / 0.8543 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005532/0.7395, allocations: 466.6 kB / 0.8548 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.7406, allocations: 0.7968 MB / 0.8556 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004733/0.7454, allocations: 2.637 MB / 0.8581 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.7454, allocations: 0 / 0.8581 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.736e-06/0.7454, allocations: 4 kB / 0.8582 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001294/0.7456, allocations: 0 / 0.8582 GB, free: 10.27 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.0057/0.7513, allocations: 1.899 MB / 0.86 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.7513, allocations: 12.03 kB / 0.86 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002897/0.7542, allocations: 401.6 kB / 0.8604 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.7561, allocations: 0.9957 MB / 0.8614 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.563e-05/0.7562, allocations: 94.62 kB / 0.8615 GB, free: 6.77 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.7563, allocations: 124 kB / 0.8616 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.7589, allocations: 1.46 MB / 0.863 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.7589, allocations: 4 kB / 0.863 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.7591, allocations: 60 kB / 0.8631 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.7591, allocations: 35.94 kB / 0.8631 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.7617, allocations: 1.536 MB / 0.8646 GB, free: 3.469 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4328/1.194, allocations: 4.866 MB / 0.8694 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002529/1.197, allocations: 1.418 MB / 0.8707 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008313/1.198, allocations: 447.7 kB / 0.8712 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007183/1.199, allocations: 430.3 kB / 0.8716 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/1.2, allocations: 0.621 MB / 0.8722 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 2.675e-06/1.2, allocations: 0.7812 kB / 0.8722 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98): time 0.004339/1.204, allocations: 1.534 MB / 0.8737 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/1.204, allocations: 199 kB / 0.8739 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/1.206, allocations: 0.849 MB / 0.8747 GB, free: 191.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/1.206, allocations: 44.3 kB / 0.8747 GB, free: 191.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004631/1.206, allocations: 0.5687 MB / 0.8753 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/1.207, allocations: 335.6 kB / 0.8756 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/1.207, allocations: 198.4 kB / 0.8758 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.838e-05/1.207, allocations: 343 kB / 0.8761 GB, free: 190 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007813/1.208, allocations: 362.2 kB / 0.8765 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009262/1.209, allocations: 0.5346 MB / 0.877 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/1.21, allocations: 0.9021 MB / 0.8779 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/1.21, allocations: 1.875 kB / 0.8779 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003094/1.214, allocations: 1.153 MB / 0.879 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/1.214, allocations: 6.5 kB / 0.879 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.214, allocations: 3.188 kB / 0.879 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006292/1.214, allocations: 92.75 kB / 0.8791 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/1.215, allocations: 236.1 kB / 0.8793 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/1.217, allocations: 1.651 MB / 0.8809 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/1.218, allocations: 119.9 kB / 0.8811 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.218, allocations: 47.36 kB / 0.8811 GB, free: 187.1 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008835/1.219, allocations: 338 kB / 0.8814 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/1.22, allocations: 120 kB / 0.8815 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003038/1.223, allocations: 1.323 MB / 0.8828 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/1.223, allocations: 10.41 kB / 0.8828 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.223, allocations: 5.531 kB / 0.8828 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/1.223, allocations: 11.98 kB / 0.8829 GB, free: 186.3 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004398/1.227, allocations: 2.686 MB / 0.8855 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.227, allocations: 3.984 kB / 0.8855 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009314/1.228, allocations: 214.5 kB / 0.8857 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004255/1.228, allocations: 71.89 kB / 0.8858 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.516e-05/1.229, allocations: 39.38 kB / 0.8858 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/1.23, allocations: 1.666 MB / 0.8874 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.23, allocations: 3.938 kB / 0.8874 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/1.233, allocations: 1.221 MB / 0.8886 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007445/1.234, allocations: 342.5 kB / 0.8889 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/1.234, allocations: 21.09 kB / 0.889 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008106/1.235, allocations: 70.34 kB / 0.889 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.235, allocations: 72.02 kB / 0.8891 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/1.235, allocations: 45.75 kB / 0.8891 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008373/1.236, allocations: 0.5877 MB / 0.8897 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/1.236, allocations: 0 / 0.8897 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001494/1.237, allocations: 463.2 kB / 0.8902 GB, free: 181.4 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001794/1.239, allocations: 0.7007 MB / 0.8908 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002358/1.242, allocations: 1.072 MB / 0.8919 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/1.242, allocations: 5.219 kB / 0.8919 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/1.243, allocations: 0.6344 MB / 0.8925 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/1.245, allocations: 0.5201 MB / 0.893 GB, free: 180 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/1.25, allocations: 2.309 MB / 0.8953 GB, free: 178.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007503/1.251, allocations: 1.179 MB / 0.8964 GB, free: 177.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001333/1.252, allocations: 373.2 kB / 0.8968 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/1.252, allocations: 130.8 kB / 0.8969 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of SimCode: time 5.11e-07/1.252, allocations: 0 / 0.8969 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of Templates: time 0.03662/1.289, allocations: 23.08 MB / 0.9195 GB, free: 162.4 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)