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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.4753/0.4753, allocations: 111.6 MB / 131.4 MB, free: 4.965 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 1.843e-06/1.843e-06, allocations: 0 / 176.4 MB, free: 9.062 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.752e-05, allocations: 10.25 kB / 176.4 MB, free: 9.051 MB / 170.7 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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.079/1.079, allocations: 257 MB / 433.4 MB, free: 328 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0277/1.107, allocations: 32.46 MB / 465.9 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/1.107, allocations: 0 / 465.9 MB, free: 15.74 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78: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:19:3-20:80: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:21:3-22:80: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:23:3-24:78: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.000325/1.107, allocations: 111.3 kB / 466 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/1.108, allocations: 119.1 kB / 466.1 MB, free: 15.51 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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.02165/1.129, allocations: 9.783 MB / 475.9 MB, free: 5.684 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000533/1.13, allocations: 366.1 kB / 476.3 MB, free: 5.324 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/1.13, allocations: 100.7 kB / 476.4 MB, free: 5.223 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/1.13, allocations: 227.3 kB / 476.6 MB, free: 5 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/1.13, allocations: 79.73 kB / 476.7 MB, free: 4.922 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/1.13, allocations: 20 kB / 476.7 MB, free: 4.902 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2354/1.366, allocations: 16.77 MB / 493.5 MB, free: 9.18 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.159e-05/1.366, allocations: 40 kB / 493.5 MB, free: 9.18 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/1.366, allocations: 92.34 kB / 493.6 MB, free: 9.18 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0156/1.382, allocations: 10.74 MB / 0.4925 GB, free: 6.258 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.382, allocations: 0 / 0.4925 GB, free: 6.258 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.382, allocations: 0.9688 kB / 0.4925 GB, free: 6.258 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/1.382, allocations: 0 / 0.4925 GB, free: 6.258 MB / 426.7 MB 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.003138/1.385, allocations: 1.51 MB / 0.494 GB, free: 5.184 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.385, allocations: 16.91 kB / 0.494 GB, free: 5.176 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/1.385, allocations: 44.69 kB / 0.494 GB, free: 5.156 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/1.385, allocations: 186.3 kB / 0.4942 GB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/1.385, allocations: 13.7 kB / 0.4942 GB, free: 4.973 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/1.385, allocations: 20.78 kB / 0.4942 GB, free: 4.965 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/1.385, allocations: 245.1 kB / 0.4945 GB, free: 4.785 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.385, allocations: 0 / 0.4945 GB, free: 4.785 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/1.385, allocations: 10.41 kB / 0.4945 GB, free: 4.777 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/1.385, allocations: 11.94 kB / 0.4945 GB, free: 4.773 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.379e-05/1.385, allocations: 78.94 kB / 0.4946 GB, free: 4.758 MB / 426.7 MB 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.01433/1.4, allocations: 9.682 MB / 0.504 GB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/1.4, allocations: 69.02 kB / 0.5041 GB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/1.4, allocations: 31.67 kB / 0.5041 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06311/1.463, allocations: 38.14 MB / 0.5414 GB, free: 9.152 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/1.463, allocations: 34.2 kB / 0.5414 GB, free: 9.109 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.214e-06/1.463, allocations: 0 / 0.5414 GB, free: 9.109 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006032/1.464, allocations: 269.1 kB / 0.5417 GB, free: 8.84 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/1.464, allocations: 51.41 kB / 0.5417 GB, free: 8.777 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/1.464, allocations: 225 kB / 0.5419 GB, free: 8.559 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/1.464, allocations: 29.7 kB / 0.5419 GB, free: 8.523 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/1.464, allocations: 201.4 kB / 0.5421 GB, free: 8.328 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/1.464, allocations: 121.2 kB / 0.5423 GB, free: 8.215 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/1.464, allocations: 62.25 kB / 0.5423 GB, free: 8.156 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/1.464, allocations: 0.5045 MB / 0.5428 GB, free: 7.648 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/1.464, allocations: 31.98 kB / 0.5428 GB, free: 7.617 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.247e-05/1.464, allocations: 87.52 kB / 0.5429 GB, free: 7.523 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/1.464, allocations: 132.4 kB / 0.543 GB, free: 7.383 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.464, allocations: 4 kB / 0.5431 GB, free: 7.379 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002033/1.465, allocations: 203 kB / 0.5432 GB, free: 7.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.465, allocations: 4 kB / 0.5433 GB, free: 7.176 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.465, allocations: 80 / 0.5433 GB, free: 7.176 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003748/1.465, allocations: 102.8 kB / 0.5433 GB, free: 7.074 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.065e-05/1.465, allocations: 8 kB / 0.5434 GB, free: 7.066 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003559/1.465, allocations: 0.8741 MB / 0.5442 GB, free: 6.172 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.328e-05/1.465, allocations: 24.84 kB / 0.5442 GB, free: 6.148 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/1.465, allocations: 7.984 kB / 0.5442 GB, free: 6.141 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,PuitsP1.C.a,pipePressureLoss.C1.a,pipePressureLoss.C2.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 8.807e-05/1.466, allocations: 164.5 kB / 0.5444 GB, free: 5.969 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/1.466, allocations: 21.22 kB / 0.5444 GB, free: 5.949 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004827/1.466, allocations: 0.6283 MB / 0.545 GB, free: 5.312 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001416/1.466, allocations: 170.4 kB / 0.5452 GB, free: 5.145 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.466, allocations: 4.688 kB / 0.5452 GB, free: 5.141 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.466, allocations: 0 / 0.5452 GB, free: 5.141 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/1.467, allocations: 0.5675 MB / 0.5458 GB, free: 4.566 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.467, allocations: 0 / 0.5458 GB, free: 4.566 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/1.467, allocations: 16.81 kB / 0.5458 GB, free: 4.555 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001635/1.467, allocations: 85.05 kB / 0.5459 GB, free: 4.473 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/1.467, allocations: 8 kB / 0.5459 GB, free: 4.465 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002908/1.467, allocations: 0.8595 MB / 0.5467 GB, free: 3.582 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.467, allocations: 0 / 0.5467 GB, free: 3.582 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/1.467, allocations: 341 kB / 0.547 GB, free: 3.238 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/1.467, allocations: 27.78 kB / 0.547 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/1.467, allocations: 15.89 kB / 0.5471 GB, free: 3.195 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.564e-05/1.468, allocations: 4.031 kB / 0.5471 GB, free: 3.191 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/1.468, allocations: 15.92 kB / 0.5471 GB, free: 3.176 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/1.468, allocations: 4.5 kB / 0.5471 GB, free: 3.172 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.722e-05/1.468, allocations: 212.8 kB / 0.5473 GB, free: 2.973 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.1e-08/1.468, allocations: 0 / 0.5473 GB, free: 2.973 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002443/1.47, allocations: 1.204 MB / 0.5485 GB, free: 1.766 MB / 474.7 MB 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.003219/1.473, allocations: 1.982 MB / 0.5504 GB, free: 4 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002809/1.474, allocations: 172.5 kB / 0.5506 GB, free: 15.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.474, allocations: 0 / 0.5506 GB, free: 15.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/1.474, allocations: 74.45 kB / 0.5506 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/1.474, allocations: 123.7 kB / 0.5508 GB, free: 15.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008128/1.475, allocations: 492.2 kB / 0.5512 GB, free: 15.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.851e-05/1.475, allocations: 88.31 kB / 0.5513 GB, free: 15.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.605e-05/1.475, allocations: 11.05 kB / 0.5513 GB, free: 15.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/1.475, allocations: 138.1 kB / 0.5515 GB, free: 14.9 MB / 490.7 MB Notification: Performance of SimCode: time 7.81e-07/1.475, allocations: 0 / 0.5515 GB, free: 14.9 MB / 490.7 MB Notification: Performance of Templates: time 0.04644/1.522, allocations: 49.64 MB / 0.5999 GB, free: 13.48 MB / 0.5261 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.938283300027251]