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.5596/0.5596, allocations: 111.6 MB / 131.2 MB, free: 4.562 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.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 2.655e-06/2.655e-06, allocations: 0 / 176.2 MB, free: 9.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.543e-05, allocations: 2.312 kB / 176.2 MB, free: 9.152 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.SimpleExamples.TestPipePressureLoss): time 1.038/1.038, allocations: 257 MB / 433.2 MB, free: 372 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02758/1.066, allocations: 33.06 MB / 466.3 MB, free: 15.18 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/1.066, allocations: 4 kB / 466.3 MB, free: 15.18 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.000294/1.066, allocations: 111.3 kB / 466.4 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/1.066, allocations: 123 kB / 466.5 MB, free: 14.95 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.01671/1.083, allocations: 9.795 MB / 476.3 MB, free: 5.109 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003545/1.083, allocations: 358.2 kB / 476.7 MB, free: 4.758 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/1.083, allocations: 96.77 kB / 476.8 MB, free: 4.66 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/1.084, allocations: 231.2 kB / 477 MB, free: 4.434 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.81e-05/1.084, allocations: 79.8 kB / 477.1 MB, free: 4.355 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/1.084, allocations: 16 kB / 477.1 MB, free: 4.34 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1821/1.266, allocations: 16.78 MB / 493.9 MB, free: 8.848 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/1.266, allocations: 43.42 kB / 493.9 MB, free: 8.848 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/1.266, allocations: 89.33 kB / 494 MB, free: 8.848 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0119/1.278, allocations: 10.73 MB / 0.4929 GB, free: 5.508 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.278, allocations: 3.375 kB / 0.4929 GB, free: 5.508 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/1.278, allocations: 3.844 kB / 0.4929 GB, free: 5.508 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/1.278, allocations: 0 / 0.4929 GB, free: 5.508 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.002417/1.28, allocations: 1.509 MB / 0.4944 GB, free: 4.418 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/1.28, allocations: 11.14 kB / 0.4944 GB, free: 4.414 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.203e-05/1.28, allocations: 43.69 kB / 0.4944 GB, free: 4.395 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/1.281, allocations: 178 kB / 0.4946 GB, free: 4.219 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/1.281, allocations: 19.38 kB / 0.4946 GB, free: 4.211 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/1.281, allocations: 19.75 kB / 0.4946 GB, free: 4.203 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/1.281, allocations: 259.6 kB / 0.4949 GB, free: 4.008 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.281, allocations: 0 / 0.4949 GB, free: 4.008 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/1.281, allocations: 10.38 kB / 0.4949 GB, free: 4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/1.281, allocations: 13.27 kB / 0.4949 GB, free: 3.992 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/1.281, allocations: 94.8 kB / 0.495 GB, free: 3.973 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.01651/1.298, allocations: 11.12 MB / 0.5059 GB, free: 13.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/1.298, allocations: 75.17 kB / 0.5059 GB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/1.298, allocations: 46.77 kB / 0.506 GB, free: 13.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07316/1.371, allocations: 43.73 MB / 0.5487 GB, free: 1.398 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/1.371, allocations: 37.38 kB / 0.5487 GB, free: 1.352 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 1.863e-06/1.371, allocations: 0 / 0.5487 GB, free: 1.352 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005811/1.372, allocations: 269.5 kB / 0.549 GB, free: 1.086 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/1.372, allocations: 51.41 kB / 0.549 GB, free: 1.023 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/1.372, allocations: 225.8 kB / 0.5492 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/1.372, allocations: 29.7 kB / 0.5493 GB, free: 0.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/1.372, allocations: 207.3 kB / 0.5495 GB, free: 0.543 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/1.372, allocations: 122 kB / 0.5496 GB, free: 436 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/1.372, allocations: 55.36 kB / 0.5496 GB, free: 372 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/1.372, allocations: 0.5078 MB / 0.5501 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.995e-05/1.372, allocations: 31.98 kB / 0.5502 GB, free: 15.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.576e-05/1.372, allocations: 95.06 kB / 0.5503 GB, free: 15.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/1.372, allocations: 142.4 kB / 0.5504 GB, free: 15.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.372, allocations: 8 kB / 0.5504 GB, free: 15.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002346/1.373, allocations: 215.9 kB / 0.5506 GB, free: 15.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/1.373, allocations: 9.562 kB / 0.5506 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.373, allocations: 0 / 0.5506 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004417/1.373, allocations: 130.2 kB / 0.5507 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.117e-05/1.373, allocations: 15.27 kB / 0.5508 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003725/1.374, allocations: 0.8663 MB / 0.5516 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/1.374, allocations: 27.78 kB / 0.5516 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/1.374, allocations: 4 kB / 0.5516 GB, free: 14.25 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.154e-05/1.374, allocations: 164.2 kB / 0.5518 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/1.374, allocations: 24.36 kB / 0.5518 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004997/1.374, allocations: 0.626 MB / 0.5524 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001628/1.374, allocations: 163.5 kB / 0.5526 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.374, allocations: 0 / 0.5526 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.374, allocations: 11.55 kB / 0.5526 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/1.375, allocations: 0.6209 MB / 0.5532 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.375, allocations: 4.562 kB / 0.5532 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/1.375, allocations: 12 kB / 0.5532 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001733/1.375, allocations: 88.5 kB / 0.5533 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/1.375, allocations: 4.688 kB / 0.5533 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003013/1.375, allocations: 0.8705 MB / 0.5541 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/1.375, allocations: 0 / 0.5541 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/1.376, allocations: 352.6 kB / 0.5545 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/1.376, allocations: 23.84 kB / 0.5545 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/1.376, allocations: 20.5 kB / 0.5545 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.863e-05/1.376, allocations: 3.938 kB / 0.5545 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/1.376, allocations: 12.69 kB / 0.5545 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/1.376, allocations: 4 kB / 0.5545 GB, free: 11.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001228/1.376, allocations: 221.1 kB / 0.5548 GB, free: 10.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/1.376, allocations: 0 / 0.5548 GB, free: 10.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001896/1.378, allocations: 1.204 MB / 0.5559 GB, free: 9.648 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.003235/1.381, allocations: 1.905 MB / 0.5578 GB, free: 7.977 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003062/1.381, allocations: 175.1 kB / 0.558 GB, free: 7.801 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/1.381, allocations: 4.062 kB / 0.558 GB, free: 7.797 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/1.381, allocations: 80.73 kB / 0.558 GB, free: 7.715 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/1.382, allocations: 117.5 kB / 0.5582 GB, free: 7.613 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008848/1.383, allocations: 0.4905 MB / 0.5586 GB, free: 7.102 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.826e-05/1.383, allocations: 88.31 kB / 0.5587 GB, free: 6.996 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.128e-05/1.383, allocations: 19.17 kB / 0.5587 GB, free: 6.977 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/1.383, allocations: 16.5 kB / 0.5588 GB, free: 6.961 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/1.383, allocations: 0 / 0.5588 GB, free: 6.961 MB / 490.7 MB Notification: Performance of Templates: time 0.03933/1.422, allocations: 42.87 MB / 0.6006 GB, free: 12.38 MB / 0.5261 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.29528762307018]