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.5064/0.5064, allocations: 111.6 MB / 132.2 MB, free: 4.949 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 1.653e-06/1.653e-06, allocations: 3.938 kB / 177.3 MB, free: 8.961 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.797e-05, allocations: 2.312 kB / 177.3 MB, free: 8.957 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.101/1.101, allocations: 257.1 MB / 434.4 MB, free: 256 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0283/1.13, allocations: 32.46 MB / 466.8 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/1.13, allocations: 4 kB / 466.8 MB, free: 15.67 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.0003449/1.13, allocations: 107.3 kB / 466.9 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/1.13, allocations: 123 kB / 467.1 MB, free: 15.44 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.0197/1.15, allocations: 9.787 MB / 476.9 MB, free: 5.609 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004977/1.151, allocations: 366.2 kB / 477.2 MB, free: 5.25 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/1.151, allocations: 92.77 kB / 477.3 MB, free: 5.156 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/1.151, allocations: 231.2 kB / 477.5 MB, free: 4.93 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/1.151, allocations: 79.73 kB / 477.6 MB, free: 4.852 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/1.151, allocations: 20 kB / 477.6 MB, free: 4.832 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2148/1.366, allocations: 16.78 MB / 494.4 MB, free: 9.164 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/1.366, allocations: 38.66 kB / 494.4 MB, free: 9.164 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/1.366, allocations: 90.55 kB / 494.5 MB, free: 9.164 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01675/1.383, allocations: 10.73 MB / 0.4934 GB, free: 6.199 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/1.383, allocations: 8.609 kB / 0.4934 GB, free: 6.191 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.383, allocations: 0 / 0.4934 GB, free: 6.191 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/1.383, allocations: 4.875 kB / 0.4934 GB, free: 6.191 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.003314/1.386, allocations: 1.507 MB / 0.4949 GB, free: 5.117 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/1.386, allocations: 14.23 kB / 0.4949 GB, free: 5.113 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/1.386, allocations: 43.41 kB / 0.495 GB, free: 5.094 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/1.386, allocations: 188.4 kB / 0.4951 GB, free: 4.914 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/1.387, allocations: 10.25 kB / 0.4951 GB, free: 4.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/1.387, allocations: 23.59 kB / 0.4952 GB, free: 4.902 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/1.387, allocations: 236.7 kB / 0.4954 GB, free: 4.727 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.387, allocations: 2.594 kB / 0.4954 GB, free: 4.727 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/1.387, allocations: 16.25 kB / 0.4954 GB, free: 4.719 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/1.387, allocations: 14.7 kB / 0.4954 GB, free: 4.711 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.035e-05/1.387, allocations: 71.39 kB / 0.4955 GB, free: 4.699 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.01482/1.402, allocations: 9.652 MB / 0.5049 GB, free: 15.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/1.402, allocations: 78.2 kB / 0.505 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/1.402, allocations: 27.69 kB / 0.505 GB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06712/1.469, allocations: 37.86 MB / 0.542 GB, free: 9.188 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/1.469, allocations: 42.64 kB / 0.542 GB, free: 9.137 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.595e-06/1.469, allocations: 0 / 0.542 GB, free: 9.137 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.000667/1.47, allocations: 243.5 kB / 0.5423 GB, free: 8.895 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/1.47, allocations: 55.41 kB / 0.5423 GB, free: 8.828 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/1.47, allocations: 222.2 kB / 0.5425 GB, free: 8.609 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/1.47, allocations: 25.7 kB / 0.5426 GB, free: 8.578 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/1.47, allocations: 215.9 kB / 0.5428 GB, free: 8.371 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/1.47, allocations: 120.5 kB / 0.5429 GB, free: 8.258 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/1.47, allocations: 55.64 kB / 0.5429 GB, free: 8.203 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/1.47, allocations: 0.5098 MB / 0.5434 GB, free: 7.691 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/1.47, allocations: 23.98 kB / 0.5434 GB, free: 7.668 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/1.47, allocations: 90.66 kB / 0.5435 GB, free: 7.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/1.471, allocations: 131.3 kB / 0.5437 GB, free: 7.434 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/1.471, allocations: 8 kB / 0.5437 GB, free: 7.426 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000263/1.471, allocations: 203.4 kB / 0.5439 GB, free: 7.223 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.471, allocations: 4 kB / 0.5439 GB, free: 7.219 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.471, allocations: 0.8125 kB / 0.5439 GB, free: 7.219 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/1.471, allocations: 105 kB / 0.544 GB, free: 7.117 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.519e-05/1.471, allocations: 15.08 kB / 0.544 GB, free: 7.105 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003883/1.472, allocations: 0.86 MB / 0.5448 GB, free: 6.219 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/1.472, allocations: 27.53 kB / 0.5448 GB, free: 6.195 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/1.472, allocations: 4 kB / 0.5449 GB, free: 6.191 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 9.886e-05/1.472, allocations: 160.6 kB / 0.545 GB, free: 6.023 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/1.472, allocations: 24.83 kB / 0.545 GB, free: 6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/1.472, allocations: 0.6208 MB / 0.5456 GB, free: 5.371 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001435/1.473, allocations: 157.5 kB / 0.5458 GB, free: 5.215 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/1.473, allocations: 0 / 0.5458 GB, free: 5.215 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/1.473, allocations: 0 / 0.5458 GB, free: 5.215 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/1.473, allocations: 0.5696 MB / 0.5463 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.473, allocations: 0 / 0.5463 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/1.473, allocations: 19.98 kB / 0.5464 GB, free: 4.625 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001817/1.473, allocations: 75.39 kB / 0.5464 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/1.473, allocations: 4 kB / 0.5464 GB, free: 4.547 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003053/1.474, allocations: 0.8658 MB / 0.5473 GB, free: 3.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.474, allocations: 0 / 0.5473 GB, free: 3.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/1.474, allocations: 330.8 kB / 0.5476 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/1.474, allocations: 31.78 kB / 0.5476 GB, free: 3.297 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/1.474, allocations: 15.89 kB / 0.5476 GB, free: 3.281 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.748e-05/1.474, allocations: 0 / 0.5476 GB, free: 3.281 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/1.474, allocations: 19.91 kB / 0.5477 GB, free: 3.262 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/1.474, allocations: 4 kB / 0.5477 GB, free: 3.258 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.513e-05/1.474, allocations: 204.2 kB / 0.5479 GB, free: 3.066 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/1.474, allocations: 0 / 0.5479 GB, free: 3.066 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003035/1.477, allocations: 1.208 MB / 0.549 GB, free: 1.855 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.003885/1.481, allocations: 1.988 MB / 0.551 GB, free: 100 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003523/1.481, allocations: 169.5 kB / 0.5511 GB, free: 15.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.481, allocations: 0 / 0.5511 GB, free: 15.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.037e-05/1.481, allocations: 71.55 kB / 0.5512 GB, free: 15.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/1.482, allocations: 122.4 kB / 0.5513 GB, free: 15.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008566/1.483, allocations: 492.8 kB / 0.5518 GB, free: 15.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.811e-05/1.483, allocations: 88.31 kB / 0.5519 GB, free: 15.15 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.593e-05/1.483, allocations: 18.8 kB / 0.5519 GB, free: 15.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/1.483, allocations: 134.1 kB / 0.552 GB, free: 15 MB / 490.7 MB Notification: Performance of SimCode: time 1.453e-06/1.483, allocations: 0 / 0.552 GB, free: 15 MB / 490.7 MB Notification: Performance of Templates: time 0.04749/1.53, allocations: 49.69 MB / 0.6006 GB, free: 13.59 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.6421531811356544]