Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8669/0.8669, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003805, allocations: 21.08 kB / 237.8 MB, free: 1.934 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05352/0.05391, allocations: 31.34 MB / 269.1 MB, free: 7.172 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe): time 1.625/1.679, allocations: 295.9 MB / 0.5517 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03113/1.71, allocations: 24.6 MB / 0.5758 GB, free: 3.258 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005444/1.711, allocations: 11.94 kB / 0.5758 GB, free: 3.246 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:115:3-116:48:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:117:3-118:46:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007806/1.712, allocations: 203.7 kB / 0.576 GB, free: 3.047 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000938/1.712, allocations: 385.9 kB / 0.5763 GB, free: 2.668 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.02054/1.733, allocations: 7.669 MB / 0.5838 GB, free: 10.99 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004116/1.737, allocations: 4.886 MB / 0.5886 GB, free: 6.09 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/1.739, allocations: 1.594 MB / 0.5902 GB, free: 4.473 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002375/1.742, allocations: 1.598 MB / 0.5917 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/1.744, allocations: 1.655 MB / 0.5933 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008654/1.745, allocations: 248 kB / 0.5936 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02666/1.772, allocations: 16.43 MB / 0.6096 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00143/1.773, allocations: 1.11 MB / 0.6107 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002047/1.775, allocations: 1.603 MB / 0.6123 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0203/1.796, allocations: 10.16 MB / 0.6222 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.796, allocations: 7.938 kB / 0.6222 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/1.796, allocations: 0 / 0.6222 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001659/1.796, allocations: 0 / 0.6222 GB, free: 3.605 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 817 * Number of variables: 817 Notification: Performance of Generate backend data structure: time 0.01533/1.811, allocations: 4.139 MB / 0.6262 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/1.811, allocations: 8.031 kB / 0.6262 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009148/1.812, allocations: 269.6 kB / 0.6265 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/1.815, allocations: 1.033 MB / 0.6275 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004761/1.815, allocations: 448.6 kB / 0.6279 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004176/1.816, allocations: 219.9 kB / 0.6281 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006283/1.822, allocations: 3.864 MB / 0.6319 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/1.822, allocations: 0 / 0.6319 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/1.822, allocations: 79.92 kB / 0.632 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.633e-05/1.822, allocations: 107.9 kB / 0.6321 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006136/1.829, allocations: 3.389 MB / 0.6354 GB, free: 5.848 MB / 0.5137 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.05442/1.883, allocations: 29.37 MB / 0.6641 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/1.897, allocations: 3.996 MB / 0.668 GB, free: 1.754 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004823/1.902, allocations: 2.573 MB / 0.6705 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08435/1.986, allocations: 37.15 MB / 0.7068 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.105e-05/1.986, allocations: 56.56 kB / 0.7068 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=591): time 4.99e-06/1.986, allocations: 0 / 0.7068 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=591): time 0.2016/2.188, allocations: 10.67 MB / 0.7173 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/2.188, allocations: 77.56 kB / 0.7173 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/2.189, allocations: 0.6046 MB / 0.7179 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002003/2.189, allocations: 69.27 kB / 0.718 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/2.189, allocations: 482 kB / 0.7184 GB, free: 209 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001127/2.19, allocations: 1.964 MB / 0.7204 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009542/2.191, allocations: 0.6391 MB / 0.721 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.444e-05/2.191, allocations: 343.2 kB / 0.7213 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003581/2.195, allocations: 2.18 MB / 0.7234 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003509/2.198, allocations: 2.569 MB / 0.726 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007474/2.206, allocations: 5.314 MB / 0.7311 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/2.206, allocations: 4.094 kB / 0.7311 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=650) (initialization): time 0.01103/2.217, allocations: 7.076 MB / 0.7381 GB, free: 205 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/2.217, allocations: 8.844 kB / 0.7381 GB, free: 205 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-05/2.217, allocations: 10.81 kB / 0.7381 GB, free: 205 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02563/2.243, allocations: 12.42 MB / 0.7502 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003966/2.247, allocations: 0.5492 MB / 0.7507 GB, free: 202 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/2.257, allocations: 6.773 MB / 0.7574 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/2.259, allocations: 422.2 kB / 0.7578 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/2.26, allocations: 115.9 kB / 0.7579 GB, free: 195.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,dynamicOnePhaseFlowPipe.C2.b,dynamicOnePhaseFlowPipe.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 {(23,106)} Notification: Performance of prepare postOptimizeDAE: time 0.001171/2.261, allocations: 0.7572 MB / 0.7586 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/2.261, allocations: 201.2 kB / 0.7588 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/2.277, allocations: 14.22 MB / 0.7727 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/2.277, allocations: 11.95 kB / 0.7727 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/2.277, allocations: 9.062 kB / 0.7727 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/2.278, allocations: 0.8587 MB / 0.7735 GB, free: 179 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003131/2.278, allocations: 87.81 kB / 0.7736 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/2.28, allocations: 155.8 kB / 0.7738 GB, free: 178.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003812/2.281, allocations: 201 kB / 0.774 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02132/2.302, allocations: 9.324 MB / 0.7831 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01362/2.316, allocations: 11.35 MB / 0.7942 GB, free: 157.7 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003919/2.32, allocations: 3.623 MB / 0.7977 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000519/2.32, allocations: 0.5145 MB / 0.7982 GB, free: 153.6 MB / 0.5919 GB Notification: Performance of Backend: time 5.91e-07/2.32, allocations: 0 / 0.7982 GB, free: 153.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02205/2.342, allocations: 8.323 MB / 0.8063 GB, free: 145.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01146/2.354, allocations: 11.96 MB / 0.818 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.3229/2.677, allocations: 122.4 MB / 0.9375 GB, free: 197.6 MB / 0.5919 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe 2>&1)