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.4971/0.4971, allocations: 111.6 MB / 131.2 MB, free: 4.566 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 3.045e-06/3.045e-06, allocations: 0 / 176.1 MB, free: 9.246 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.744e-05, allocations: 6.312 kB / 176.1 MB, free: 9.238 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.032/1.032, allocations: 256.9 MB / 433.1 MB, free: 440 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02751/1.059, allocations: 33.07 MB / 466.1 MB, free: 15.24 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/1.059, allocations: 0 / 466.1 MB, free: 15.24 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.0002952/1.06, allocations: 115.3 kB / 466.3 MB, free: 15.13 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/1.06, allocations: 119.1 kB / 466.4 MB, free: 15.01 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.01597/1.076, allocations: 9.787 MB / 476.2 MB, free: 5.18 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003472/1.076, allocations: 366.1 kB / 476.5 MB, free: 4.82 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/1.076, allocations: 96.77 kB / 476.6 MB, free: 4.723 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/1.077, allocations: 227.3 kB / 476.8 MB, free: 4.5 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.478e-05/1.077, allocations: 75.8 kB / 476.9 MB, free: 4.426 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/1.077, allocations: 23.94 kB / 476.9 MB, free: 4.402 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1956/1.272, allocations: 16.77 MB / 493.7 MB, free: 8.723 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/1.272, allocations: 53.36 kB / 493.7 MB, free: 8.723 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/1.273, allocations: 85.2 kB / 493.8 MB, free: 8.723 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009401/1.282, allocations: 10.73 MB / 0.4927 GB, free: 5.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.282, allocations: 1.219 kB / 0.4927 GB, free: 5.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.213e-06/1.282, allocations: 0 / 0.4927 GB, free: 5.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/1.282, allocations: 0 / 0.4927 GB, free: 5.48 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.001743/1.284, allocations: 1.506 MB / 0.4942 GB, free: 4.395 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.284, allocations: 14.27 kB / 0.4942 GB, free: 4.391 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/1.284, allocations: 46.22 kB / 0.4943 GB, free: 4.367 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/1.284, allocations: 183.8 kB / 0.4944 GB, free: 4.191 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/1.284, allocations: 18.5 kB / 0.4945 GB, free: 4.184 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/1.284, allocations: 19.25 kB / 0.4945 GB, free: 4.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/1.284, allocations: 258.3 kB / 0.4947 GB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.284, allocations: 3.969 kB / 0.4947 GB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/1.284, allocations: 4.938 kB / 0.4947 GB, free: 3.977 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/1.284, allocations: 13.36 kB / 0.4947 GB, free: 3.969 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/1.284, allocations: 95.36 kB / 0.4948 GB, free: 3.949 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.01577/1.3, allocations: 11.13 MB / 0.5057 GB, free: 13.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/1.3, allocations: 84.64 kB / 0.5058 GB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.72e-05/1.3, allocations: 31.69 kB / 0.5058 GB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07168/1.372, allocations: 43.74 MB / 0.5485 GB, free: 1.414 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/1.372, allocations: 37.38 kB / 0.5486 GB, free: 1.367 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/1.372, allocations: 0 / 0.5486 GB, free: 1.367 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005781/1.373, allocations: 265 kB / 0.5488 GB, free: 1.102 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/1.373, allocations: 51.41 kB / 0.5489 GB, free: 1.039 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/1.373, allocations: 225.8 kB / 0.5491 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/1.373, allocations: 25.7 kB / 0.5491 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/1.373, allocations: 207.3 kB / 0.5493 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/1.373, allocations: 122.5 kB / 0.5494 GB, free: 456 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/1.373, allocations: 51.36 kB / 0.5495 GB, free: 396 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/1.373, allocations: 0.5157 MB / 0.55 GB, free: 15.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/1.373, allocations: 27.98 kB / 0.55 GB, free: 15.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.901e-05/1.373, allocations: 95.78 kB / 0.5501 GB, free: 15.72 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/1.373, allocations: 146.3 kB / 0.5502 GB, free: 15.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.373, allocations: 4 kB / 0.5502 GB, free: 15.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003535/1.374, allocations: 219.5 kB / 0.5504 GB, free: 15.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.374, allocations: 4 kB / 0.5504 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.374, allocations: 0 / 0.5504 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004123/1.374, allocations: 107.6 kB / 0.5506 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.063e-05/1.374, allocations: 4 kB / 0.5506 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003609/1.375, allocations: 0.8789 MB / 0.5514 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.797e-05/1.375, allocations: 19.78 kB / 0.5514 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/1.375, allocations: 12.8 kB / 0.5514 GB, free: 14.29 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 8.017e-05/1.375, allocations: 160.6 kB / 0.5516 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/1.375, allocations: 27.73 kB / 0.5516 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/1.375, allocations: 0.6183 MB / 0.5522 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001631/1.375, allocations: 171 kB / 0.5524 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.375, allocations: 0.75 kB / 0.5524 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.375, allocations: 8.688 kB / 0.5524 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/1.376, allocations: 0.6203 MB / 0.553 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.376, allocations: 4 kB / 0.553 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.804e-05/1.376, allocations: 15.38 kB / 0.553 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001605/1.376, allocations: 84.27 kB / 0.5531 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/1.376, allocations: 0.5 kB / 0.5531 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003035/1.376, allocations: 0.8676 MB / 0.554 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.376, allocations: 4.625 kB / 0.554 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/1.377, allocations: 344.5 kB / 0.5543 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/1.377, allocations: 27.78 kB / 0.5543 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/1.377, allocations: 17.7 kB / 0.5543 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.836e-05/1.377, allocations: 7.938 kB / 0.5543 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/1.377, allocations: 7.984 kB / 0.5543 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/1.377, allocations: 4.938 kB / 0.5543 GB, free: 11.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001184/1.377, allocations: 228.6 kB / 0.5546 GB, free: 10.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/1.377, allocations: 0 / 0.5546 GB, free: 10.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00187/1.379, allocations: 1.208 MB / 0.5557 GB, free: 9.695 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.003112/1.382, allocations: 1.899 MB / 0.5576 GB, free: 8.023 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003004/1.382, allocations: 177.3 kB / 0.5578 GB, free: 7.844 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.382, allocations: 1.5 kB / 0.5578 GB, free: 7.844 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.636e-05/1.382, allocations: 81.03 kB / 0.5578 GB, free: 7.766 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/1.383, allocations: 121.8 kB / 0.558 GB, free: 7.656 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008422/1.384, allocations: 0.4891 MB / 0.5584 GB, free: 7.148 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.904e-05/1.384, allocations: 88.31 kB / 0.5585 GB, free: 7.043 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.121e-05/1.384, allocations: 22.22 kB / 0.5585 GB, free: 7.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/1.384, allocations: 16.5 kB / 0.5586 GB, free: 7.004 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/1.384, allocations: 0 / 0.5586 GB, free: 7.004 MB / 490.7 MB Notification: Performance of Templates: time 0.04462/1.428, allocations: 52.87 MB / 0.6102 GB, free: 2.41 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.564882968552411]