Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8119/0.8119, allocations: 152.6 MB / 169.6 MB, free: 14.93 MB / 142.1 MB " [Timeout remaining time 179] 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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004565, allocations: 14.12 kB / 245.6 MB, free: 15.64 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05164/0.05209, allocations: 33.06 MB / 278.6 MB, free: 0.6836 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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.617/1.67, allocations: 301.1 MB / 0.5661 GB, free: 2.836 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04191/1.711, allocations: 34.57 MB / 0.5999 GB, free: 132 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/1.712, allocations: 0 / 0.5999 GB, free: 132 kB / 478.1 MB [/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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.0004335/1.712, allocations: 127.4 kB / 0.6 GB, free: 4 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/1.712, allocations: 123.3 kB / 0.6001 GB, free: 15.88 MB / 494.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.02295/1.735, allocations: 9.735 MB / 0.6096 GB, free: 6.129 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005731/1.736, allocations: 342.4 kB / 0.6099 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/1.736, allocations: 100.4 kB / 0.61 GB, free: 5.695 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/1.736, allocations: 143.3 kB / 0.6102 GB, free: 5.555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/1.736, allocations: 111.4 kB / 0.6103 GB, free: 5.445 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/1.736, allocations: 20 kB / 0.6103 GB, free: 5.426 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03091/1.767, allocations: 17.89 MB / 0.6278 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.415e-05/1.767, allocations: 47.8 kB / 0.6278 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/1.768, allocations: 131.3 kB / 0.6279 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01859/1.786, allocations: 8.427 MB / 0.6362 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.786, allocations: 0 / 0.6362 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.714e-06/1.786, allocations: 0 / 0.6362 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.254e-06/1.786, allocations: 0 / 0.6362 GB, free: 10.89 MB / 0.5137 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.003868/1.79, allocations: 1.486 MB / 0.6376 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/1.79, allocations: 15.89 kB / 0.6376 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/1.79, allocations: 35.73 kB / 0.6377 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/1.791, allocations: 234.6 kB / 0.6379 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/1.791, allocations: 20.42 kB / 0.6379 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/1.791, allocations: 20 kB / 0.6379 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/1.791, allocations: 299.3 kB / 0.6382 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.791, allocations: 0 / 0.6382 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/1.791, allocations: 16 kB / 0.6382 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/1.791, allocations: 7.984 kB / 0.6382 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/1.791, allocations: 165.1 kB / 0.6384 GB, free: 8.477 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.03852/1.83, allocations: 18.14 MB / 0.6561 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/1.83, allocations: 118.5 kB / 0.6562 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/1.83, allocations: 68.84 kB / 0.6563 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3283/2.159, allocations: 77.72 MB / 0.7322 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/2.159, allocations: 33.41 kB / 0.7322 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/2.159, allocations: 4 kB / 0.7322 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34): time 0.0009057/2.16, allocations: 438.7 kB / 0.7326 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/2.16, allocations: 58.67 kB / 0.7327 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/2.16, allocations: 221.8 kB / 0.7329 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/2.16, allocations: 30.89 kB / 0.7329 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/2.16, allocations: 146.9 kB / 0.7331 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/2.16, allocations: 118.1 kB / 0.7332 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-05/2.16, allocations: 48.42 kB / 0.7332 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.291e-05/2.16, allocations: 334.9 kB / 0.7336 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-05/2.16, allocations: 73.19 kB / 0.7336 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/2.16, allocations: 119 kB / 0.7337 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/2.16, allocations: 202.8 kB / 0.7339 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/2.16, allocations: 6.625 kB / 0.7339 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003519/2.161, allocations: 292.5 kB / 0.7342 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/2.161, allocations: 5.812 kB / 0.7342 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/2.161, allocations: 2.812 kB / 0.7342 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008158/2.162, allocations: 159.2 kB / 0.7344 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.266e-05/2.162, allocations: 8.031 kB / 0.7344 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000359/2.162, allocations: 0.6366 MB / 0.735 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/2.162, allocations: 34.83 kB / 0.735 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/2.162, allocations: 5.469 kB / 0.735 GB, free: 209.1 MB / 0.5919 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 9.278e-05/2.162, allocations: 132 kB / 0.7352 GB, free: 209 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/2.162, allocations: 21.58 kB / 0.7352 GB, free: 209 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005385/2.163, allocations: 0.5837 MB / 0.7358 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002842/2.163, allocations: 213 kB / 0.736 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/2.163, allocations: 0 / 0.736 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/2.163, allocations: 0.8906 kB / 0.736 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007331/2.164, allocations: 0.7249 MB / 0.7367 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/2.164, allocations: 2.625 kB / 0.7367 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/2.164, allocations: 14.45 kB / 0.7367 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003373/2.164, allocations: 123.9 kB / 0.7368 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/2.164, allocations: 5.688 kB / 0.7368 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003136/2.164, allocations: 0.6521 MB / 0.7374 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/2.164, allocations: 3.688 kB / 0.7375 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/2.165, allocations: 337.9 kB / 0.7378 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/2.165, allocations: 107.1 kB / 0.7379 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/2.165, allocations: 13.69 kB / 0.7379 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/2.165, allocations: 3.938 kB / 0.7379 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/2.165, allocations: 9.141 kB / 0.7379 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/2.165, allocations: 3.219 kB / 0.7379 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001782/2.165, allocations: 241.2 kB / 0.7381 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/2.165, allocations: 4 kB / 0.7381 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002448/2.168, allocations: 1.201 MB / 0.7393 GB, free: 207.5 MB / 0.5919 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.004721/2.172, allocations: 1.749 MB / 0.741 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004354/2.173, allocations: 206.9 kB / 0.7412 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/2.173, allocations: 0 / 0.7412 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/2.173, allocations: 83.62 kB / 0.7413 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006565/2.174, allocations: 123.8 kB / 0.7414 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007133/2.174, allocations: 0.5287 MB / 0.7419 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/2.175, allocations: 0.7678 MB / 0.7427 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/2.175, allocations: 22.91 kB / 0.7427 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of SimCode: time 3.7e-07/2.175, allocations: 0 / 0.7427 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.02697/2.202, allocations: 24.88 MB / 0.767 GB, free: 185.4 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.469701822148636] Failed to read output from testmodel.py, exit status != 0: 2.3249904550611973 2.333668154 0.545378716 Calling exit ...