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.5198/0.5198, allocations: 111.6 MB / 131.7 MB, free: 5.066 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 2.484e-06/2.484e-06, allocations: 0 / 176.4 MB, free: 9.508 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.867e-05, allocations: 5.703 kB / 176.4 MB, free: 9.504 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.135/1.135, allocations: 256.9 MB / 433.3 MB, free: 440 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0285/1.164, allocations: 32.96 MB / 466.3 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/1.164, allocations: 4 kB / 466.3 MB, free: 15.34 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.0003242/1.164, allocations: 107.4 kB / 466.4 MB, free: 15.23 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/1.165, allocations: 123.1 kB / 466.5 MB, free: 15.11 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.01799/1.183, allocations: 9.776 MB / 476.3 MB, free: 5.293 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004803/1.183, allocations: 362.1 kB / 476.6 MB, free: 4.938 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/1.183, allocations: 100.8 kB / 476.7 MB, free: 4.836 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/1.183, allocations: 231.2 kB / 477 MB, free: 4.609 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/1.184, allocations: 79.73 kB / 477 MB, free: 4.531 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/1.184, allocations: 16 kB / 477.1 MB, free: 4.516 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2112/1.395, allocations: 16.77 MB / 493.8 MB, free: 8.805 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.253e-05/1.395, allocations: 47.14 kB / 493.9 MB, free: 8.805 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/1.395, allocations: 85.88 kB / 494 MB, free: 8.805 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0169/1.412, allocations: 10.73 MB / 0.4929 GB, free: 5.617 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.412, allocations: 3.938 kB / 0.4929 GB, free: 5.613 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.412e-06/1.412, allocations: 0 / 0.4929 GB, free: 5.613 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.877e-06/1.412, allocations: 1.875 kB / 0.4929 GB, free: 5.613 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.003069/1.415, allocations: 1.506 MB / 0.4943 GB, free: 4.527 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.415, allocations: 14.14 kB / 0.4944 GB, free: 4.523 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.467e-05/1.415, allocations: 40.72 kB / 0.4944 GB, free: 4.504 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/1.415, allocations: 186 kB / 0.4946 GB, free: 4.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/1.415, allocations: 14.62 kB / 0.4946 GB, free: 4.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/1.415, allocations: 20.78 kB / 0.4946 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/1.416, allocations: 252.1 kB / 0.4948 GB, free: 4.121 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/1.416, allocations: 3.25 kB / 0.4949 GB, free: 4.121 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/1.416, allocations: 9.344 kB / 0.4949 GB, free: 4.113 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/1.416, allocations: 14.11 kB / 0.4949 GB, free: 4.105 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/1.416, allocations: 92.48 kB / 0.495 GB, free: 4.086 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.01763/1.433, allocations: 11.14 MB / 0.5058 GB, free: 13.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/1.434, allocations: 75.16 kB / 0.5059 GB, free: 13.26 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/1.434, allocations: 35.69 kB / 0.5059 GB, free: 13.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07557/1.509, allocations: 43.74 MB / 0.5487 GB, free: 1.508 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/1.509, allocations: 41.39 kB / 0.5487 GB, free: 1.457 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.916e-06/1.509, allocations: 0 / 0.5487 GB, free: 1.457 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006594/1.51, allocations: 260.7 kB / 0.5489 GB, free: 1.195 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/1.51, allocations: 55.41 kB / 0.549 GB, free: 1.129 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/1.51, allocations: 229.8 kB / 0.5492 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/1.51, allocations: 25.7 kB / 0.5492 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/1.51, allocations: 206.2 kB / 0.5494 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/1.51, allocations: 121.5 kB / 0.5496 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/1.51, allocations: 59.34 kB / 0.5496 GB, free: 480 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/1.51, allocations: 0.5 MB / 0.5501 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/1.511, allocations: 35.98 kB / 0.5501 GB, free: 15.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/1.511, allocations: 95.78 kB / 0.5502 GB, free: 15.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/1.511, allocations: 155 kB / 0.5504 GB, free: 15.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.511, allocations: 0 / 0.5504 GB, free: 15.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002517/1.511, allocations: 216 kB / 0.5506 GB, free: 15.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.511, allocations: 8.75 kB / 0.5506 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.511, allocations: 4 kB / 0.5506 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004848/1.512, allocations: 127.5 kB / 0.5507 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.308e-05/1.512, allocations: 8 kB / 0.5507 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004029/1.512, allocations: 0.8735 MB / 0.5516 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.791e-05/1.512, allocations: 23.78 kB / 0.5516 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/1.512, allocations: 4 kB / 0.5516 GB, free: 14.35 MB / 490.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 (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.268e-05/1.512, allocations: 168.5 kB / 0.5518 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/1.512, allocations: 23.8 kB / 0.5518 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005382/1.513, allocations: 0.6111 MB / 0.5524 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001773/1.513, allocations: 179.2 kB / 0.5525 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1.513, allocations: 0 / 0.5525 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/1.513, allocations: 0 / 0.5525 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/1.513, allocations: 0.6233 MB / 0.5532 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/1.513, allocations: 0 / 0.5532 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/1.514, allocations: 23.27 kB / 0.5532 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001942/1.514, allocations: 81.28 kB / 0.5533 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/1.514, allocations: 8 kB / 0.5533 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003613/1.514, allocations: 0.8713 MB / 0.5541 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.514, allocations: 4 kB / 0.5541 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/1.514, allocations: 345.7 kB / 0.5544 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/1.514, allocations: 23.83 kB / 0.5545 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/1.514, allocations: 15.89 kB / 0.5545 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.295e-05/1.514, allocations: 11.12 kB / 0.5545 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/1.514, allocations: 7.984 kB / 0.5545 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/1.514, allocations: 8.594 kB / 0.5545 GB, free: 11.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001363/1.515, allocations: 229 kB / 0.5547 GB, free: 10.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/1.515, allocations: 4 kB / 0.5547 GB, free: 10.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002495/1.517, allocations: 1.204 MB / 0.5559 GB, free: 9.746 MB / 490.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.003572/1.521, allocations: 1.893 MB / 0.5578 GB, free: 8.082 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003604/1.521, allocations: 178.8 kB / 0.5579 GB, free: 7.902 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.521, allocations: 0 / 0.5579 GB, free: 7.902 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/1.521, allocations: 84.34 kB / 0.558 GB, free: 7.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/1.522, allocations: 123.4 kB / 0.5581 GB, free: 7.707 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009603/1.523, allocations: 498.4 kB / 0.5586 GB, free: 7.203 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.407e-05/1.523, allocations: 88.31 kB / 0.5587 GB, free: 7.098 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.33e-05/1.523, allocations: 22.98 kB / 0.5587 GB, free: 7.074 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/1.523, allocations: 16.5 kB / 0.5587 GB, free: 7.059 MB / 490.7 MB Notification: Performance of SimCode: time 1.543e-06/1.523, allocations: 0 / 0.5587 GB, free: 7.059 MB / 490.7 MB Notification: Performance of Templates: time 0.0432/1.566, allocations: 42.87 MB / 0.6006 GB, free: 12.5 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: 5.1993012118618935]