Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.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.7764/0.7764, allocations: 111.6 MB / 131 MB, free: 5.102 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.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.551e-06/5.551e-06, allocations: 4 kB / 175.7 MB, free: 9.457 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.487e-05, allocations: 5.125 kB / 175.7 MB, free: 9.453 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.TestCentrifugalPump12): time 1.634/1.634, allocations: 254.7 MB / 430.4 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04342/1.677, allocations: 27.79 MB / 458.2 MB, free: 4.621 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/1.677, allocations: 4 kB / 458.2 MB, free: 4.617 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:64:3-65: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/Machines/CentrifugalPump.mo:66:3-67:78:writable] Warning: Connector C2 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/Machines/CentrifugalPump.mo:70:3-71:99:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:16:3-17: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/Sink.mo:10:3-11: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/ElectroMechanics/BoundaryConditions/SourceTorque.mo:5:3-6:99:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005266/1.678, allocations: 107.3 kB / 458.3 MB, free: 4.512 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/1.678, allocations: 129 kB / 458.4 MB, free: 4.387 MB / 410.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.0231/1.701, allocations: 8.665 MB / 467.1 MB, free: 11.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007314/1.702, allocations: 474.1 kB / 467.6 MB, free: 11.22 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/1.702, allocations: 193.2 kB / 467.7 MB, free: 11.03 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004663/1.703, allocations: 283.3 kB / 468 MB, free: 10.75 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/1.703, allocations: 143.6 kB / 468.2 MB, free: 10.61 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.605e-05/1.703, allocations: 32 kB / 468.2 MB, free: 10.58 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02781/1.731, allocations: 14.31 MB / 482.5 MB, free: 12.25 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000275/1.731, allocations: 203.2 kB / 482.7 MB, free: 12.05 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002689/1.732, allocations: 155.4 kB / 482.9 MB, free: 11.9 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01993/1.751, allocations: 10.07 MB / 492.9 MB, free: 1.805 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.751, allocations: 4 kB / 492.9 MB, free: 1.801 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.414e-06/1.751, allocations: 0 / 492.9 MB, free: 1.801 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/1.751, allocations: 0 / 492.9 MB, free: 1.801 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.1372/1.889, allocations: 1.843 MB / 494.8 MB, free: 109.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/1.889, allocations: 13.36 kB / 494.8 MB, free: 109.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/1.889, allocations: 122.5 kB / 494.9 MB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/1.889, allocations: 367.1 kB / 495.3 MB, free: 109.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/1.889, allocations: 25.53 kB / 495.3 MB, free: 109.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.42e-05/1.889, allocations: 35.36 kB / 495.3 MB, free: 109.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007986/1.89, allocations: 495.5 kB / 495.8 MB, free: 109 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.89, allocations: 0 / 495.8 MB, free: 109 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/1.89, allocations: 18.06 kB / 495.8 MB, free: 109 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/1.89, allocations: 7.969 kB / 495.8 MB, free: 109 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007952/1.891, allocations: 0.4997 MB / 496.3 MB, free: 108.8 MB / 442.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.001666/1.893, allocations: 1.474 MB / 497.8 MB, free: 107.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/1.894, allocations: 0.6306 MB / 498.4 MB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/1.895, allocations: 208.8 kB / 498.6 MB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06601/1.961, allocations: 22.64 MB / 0.5091 GB, free: 87.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/1.961, allocations: 38.56 kB / 0.5091 GB, free: 86.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 1.933e-06/1.961, allocations: 0 / 0.5091 GB, free: 86.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.002882/1.964, allocations: 1.015 MB / 0.5101 GB, free: 85.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/1.964, allocations: 55.41 kB / 0.5101 GB, free: 85.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/1.964, allocations: 0.7531 MB / 0.5109 GB, free: 85.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/1.964, allocations: 37.64 kB / 0.5109 GB, free: 85.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/1.964, allocations: 365 kB / 0.5113 GB, free: 84.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/1.964, allocations: 133 kB / 0.5114 GB, free: 84.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/1.965, allocations: 73.97 kB / 0.5115 GB, free: 84.56 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.857e-05/1.965, allocations: 326 kB / 0.5118 GB, free: 84.24 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/1.965, allocations: 216.7 kB / 0.512 GB, free: 84.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/1.965, allocations: 268.7 kB / 0.5122 GB, free: 83.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/1.966, allocations: 476.9 kB / 0.5127 GB, free: 83.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.966, allocations: 4 kB / 0.5127 GB, free: 83.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001292/1.967, allocations: 0.8153 MB / 0.5135 GB, free: 82.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.967, allocations: 8 kB / 0.5135 GB, free: 82.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/1.967, allocations: 0 / 0.5135 GB, free: 82.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004435/1.972, allocations: 0.8781 MB / 0.5143 GB, free: 81.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/1.972, allocations: 47.91 kB / 0.5144 GB, free: 81.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/1.973, allocations: 1.312 MB / 0.5157 GB, free: 80.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/1.974, allocations: 58.56 kB / 0.5157 GB, free: 80.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/1.974, allocations: 15.98 kB / 0.5157 GB, free: 80.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,centrifugalPump.C2.b,centrifugalPump.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 {(5,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002038/1.974, allocations: 249.6 kB / 0.516 GB, free: 79.85 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/1.974, allocations: 91.47 kB / 0.5161 GB, free: 79.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/1.975, allocations: 0.7964 MB / 0.5168 GB, free: 78.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000905/1.976, allocations: 0.6105 MB / 0.5174 GB, free: 78.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.976, allocations: 0 / 0.5174 GB, free: 78.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.976, allocations: 7.922 kB / 0.5175 GB, free: 78.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/1.978, allocations: 1.382 MB / 0.5188 GB, free: 76.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.978, allocations: 4 kB / 0.5188 GB, free: 76.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/1.978, allocations: 67.89 kB / 0.5189 GB, free: 76.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001876/1.98, allocations: 390.1 kB / 0.5192 GB, free: 76.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/1.98, allocations: 11.98 kB / 0.5193 GB, free: 76.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006773/1.981, allocations: 0.8158 MB / 0.52 GB, free: 75.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.981, allocations: 0 / 0.52 GB, free: 75.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/1.982, allocations: 1.131 MB / 0.5212 GB, free: 74.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/1.982, allocations: 111 kB / 0.5213 GB, free: 74.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/1.982, allocations: 8 kB / 0.5213 GB, free: 74.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/1.983, allocations: 24.53 kB / 0.5213 GB, free: 74.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/1.983, allocations: 23.95 kB / 0.5213 GB, free: 74.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/1.983, allocations: 15.98 kB / 0.5213 GB, free: 74.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004199/1.983, allocations: 0.5303 MB / 0.5218 GB, free: 73.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/1.983, allocations: 3.828 kB / 0.5218 GB, free: 73.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002334/1.986, allocations: 1.173 MB / 0.523 GB, free: 72.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (centrifugalPump.w) * 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 (29): * Single equations (assignments): 28 * 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 {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003882/1.99, allocations: 1.772 MB / 0.5247 GB, free: 71.13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001243/1.991, allocations: 0.6042 MB / 0.5253 GB, free: 70.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.991, allocations: 4 kB / 0.5253 GB, free: 70.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006189/1.991, allocations: 318.4 kB / 0.5256 GB, free: 70.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/1.992, allocations: 104.3 kB / 0.5257 GB, free: 70.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/1.994, allocations: 1.522 MB / 0.5272 GB, free: 68.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/1.994, allocations: 393.9 kB / 0.5276 GB, free: 68.15 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001282/1.994, allocations: 31.61 kB / 0.5276 GB, free: 68.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/1.994, allocations: 28.48 kB / 0.5276 GB, free: 68.1 MB / 442.7 MB Notification: Performance of SimCode: time 4.3e-07/1.994, allocations: 0 / 0.5276 GB, free: 68.1 MB / 442.7 MB Notification: Performance of Templates: time 0.04228/2.037, allocations: 41.24 MB / 0.5679 GB, free: 26.99 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.034977004048415]