Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8667/0.8667, allocations: 120.4 MB / 140.1 MB, free: 56 kB / 126.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005449/0.0005449, allocations: 18.22 kB / 217.7 MB, free: 13.53 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05471/0.05526, allocations: 33.37 MB / 251.1 MB, free: 13.3 MB / 238.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss): time 1.766/1.821, allocations: 254 MB / 0.4933 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04308/1.864, allocations: 30.52 MB / 0.5231 GB, free: 6.285 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/1.865, allocations: 4 kB / 0.5231 GB, free: 6.281 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/PipePressureLoss.mo:35:3-37:42: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 master/WaterSteam/PressureLosses/PipePressureLoss.mo:38:3-40:37:writable] Warning: Connector C2 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.0003987/1.865, allocations: 106.5 kB / 0.5232 GB, free: 6.18 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/1.865, allocations: 116.7 kB / 0.5233 GB, free: 6.066 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp 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 master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp 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 master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der 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 master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der 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.02631/1.892, allocations: 9.692 MB / 0.5328 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005645/1.892, allocations: 346.4 kB / 0.5331 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/1.892, allocations: 92.7 kB / 0.5332 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/1.893, allocations: 160.6 kB / 0.5333 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/1.893, allocations: 95.45 kB / 0.5334 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/1.893, allocations: 16 kB / 0.5335 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03166/1.925, allocations: 16.76 MB / 0.5498 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.782e-05/1.925, allocations: 47.78 kB / 0.5499 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001879/1.925, allocations: 107.5 kB / 0.55 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01766/1.942, allocations: 8.451 MB / 0.5582 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.942, allocations: 0.6562 kB / 0.5582 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/1.942, allocations: 2.219 kB / 0.5582 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.484e-06/1.943, allocations: 0 / 0.5582 GB, free: 2.332 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00342/1.946, allocations: 1.4 MB / 0.5596 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/1.946, allocations: 16.02 kB / 0.5596 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/1.946, allocations: 27.81 kB / 0.5596 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/1.946, allocations: 173.2 kB / 0.5598 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/1.946, allocations: 16.5 kB / 0.5598 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/1.946, allocations: 21.75 kB / 0.5598 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/1.947, allocations: 299.8 kB / 0.5601 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/1.947, allocations: 1.359 kB / 0.5601 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/1.947, allocations: 8 kB / 0.5601 GB, free: 304 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/1.947, allocations: 8 kB / 0.5601 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/1.947, allocations: 181.8 kB / 0.5603 GB, free: 112 kB / 0.4981 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.03924/1.986, allocations: 10.77 MB / 0.5708 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/1.987, allocations: 106.7 kB / 0.5709 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/1.987, allocations: 74.05 kB / 0.571 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.164/2.151, allocations: 43.58 MB / 0.6136 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/2.151, allocations: 30.56 kB / 0.6136 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.264e-06/2.151, allocations: 0 / 0.6136 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001046/2.152, allocations: 369.9 kB / 0.6139 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/2.152, allocations: 51.41 kB / 0.614 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/2.152, allocations: 182.9 kB / 0.6142 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/2.152, allocations: 33.7 kB / 0.6142 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/2.152, allocations: 164.5 kB / 0.6144 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-05/2.152, allocations: 122.9 kB / 0.6145 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/2.152, allocations: 41.7 kB / 0.6145 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001566/2.153, allocations: 334.8 kB / 0.6148 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/2.153, allocations: 71.98 kB / 0.6149 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/2.153, allocations: 121.4 kB / 0.615 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/2.153, allocations: 208.8 kB / 0.6152 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/2.153, allocations: 8 kB / 0.6152 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004616/2.154, allocations: 293.7 kB / 0.6155 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/2.154, allocations: 5.406 kB / 0.6155 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/2.154, allocations: 4 kB / 0.6155 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009807/2.155, allocations: 161.6 kB / 0.6157 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.206e-05/2.155, allocations: 11.94 kB / 0.6157 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006014/2.155, allocations: 0.6342 MB / 0.6163 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/2.155, allocations: 23.81 kB / 0.6163 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/2.155, allocations: 4 kB / 0.6163 GB, free: 6.516 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (pipePressureLoss.C2.b,pipePressureLoss.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001363/2.156, allocations: 139.4 kB / 0.6165 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/2.156, allocations: 17.5 kB / 0.6165 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008195/2.156, allocations: 0.5875 MB / 0.617 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004053/2.157, allocations: 229.5 kB / 0.6173 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/2.157, allocations: 4 kB / 0.6173 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/2.157, allocations: 0 / 0.6173 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00099/2.158, allocations: 0.6271 MB / 0.6179 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/2.158, allocations: 0 / 0.6179 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/2.158, allocations: 16 kB / 0.6179 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000394/2.158, allocations: 106 kB / 0.618 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/2.158, allocations: 11.98 kB / 0.618 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005744/2.159, allocations: 0.6615 MB / 0.6187 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/2.159, allocations: 0 / 0.6187 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/2.159, allocations: 342.5 kB / 0.619 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/2.159, allocations: 23.84 kB / 0.619 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/2.159, allocations: 15.88 kB / 0.619 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/2.16, allocations: 7.938 kB / 0.619 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/2.16, allocations: 11.92 kB / 0.619 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/2.16, allocations: 0 / 0.619 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002216/2.16, allocations: 209.2 kB / 0.6192 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/2.16, allocations: 4 kB / 0.6192 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0029/2.163, allocations: 1.2 MB / 0.6204 GB, free: 2.156 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004516/2.167, allocations: 1.743 MB / 0.6221 GB, free: 436 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005191/2.168, allocations: 214.1 kB / 0.6223 GB, free: 216 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/2.168, allocations: 7.938 kB / 0.6223 GB, free: 208 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/2.168, allocations: 77.17 kB / 0.6224 GB, free: 132 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007198/2.169, allocations: 111.3 kB / 0.6225 GB, free: 28 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009084/2.17, allocations: 0.506 MB / 0.623 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/2.17, allocations: 160.8 kB / 0.6232 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.7e-05/2.17, allocations: 17.48 kB / 0.6232 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/2.17, allocations: 16.5 kB / 0.6232 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/2.17, allocations: 4 kB / 0.6232 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of Templates: time 0.06242/2.232, allocations: 41.75 MB / 0.664 GB, free: 5.75 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.49136919004377] Failed to read output from testmodel.py, exit status != 0: 2.571680972003378 2.580998188 0.636141538 Calling exit ...