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.8548/0.8548, allocations: 111.6 MB / 131 MB, free: 5.086 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 1.924e-06/1.924e-06, allocations: 0 / 175.7 MB, free: 9.465 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.664e-05, allocations: 6.25 kB / 175.7 MB, free: 9.457 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.714/1.714, allocations: 254.9 MB / 430.6 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04567/1.759, allocations: 29.84 MB / 460.4 MB, free: 2.539 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/1.76, allocations: 4 kB / 460.4 MB, free: 2.535 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.0004139/1.76, allocations: 115.2 kB / 460.5 MB, free: 2.422 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/1.76, allocations: 117.1 kB / 460.7 MB, free: 2.309 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.02315/1.783, allocations: 8.677 MB / 469.3 MB, free: 9.594 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000748/1.784, allocations: 474.1 kB / 469.8 MB, free: 9.129 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/1.784, allocations: 185.4 kB / 470 MB, free: 8.945 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007402/1.785, allocations: 291.2 kB / 470.3 MB, free: 8.66 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/1.785, allocations: 147.6 kB / 470.4 MB, free: 8.516 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.645e-05/1.786, allocations: 32 kB / 470.4 MB, free: 8.484 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02847/1.814, allocations: 14.3 MB / 484.7 MB, free: 10.17 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002816/1.814, allocations: 199.3 kB / 484.9 MB, free: 9.973 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002684/1.815, allocations: 159.4 kB / 485.1 MB, free: 9.816 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2008/2.015, allocations: 10.06 MB / 495.1 MB, free: 23.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/2.015, allocations: 0.7031 kB / 495.1 MB, free: 23.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.072e-06/2.015, allocations: 0 / 495.1 MB, free: 23.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.964e-05/2.015, allocations: 0.7656 kB / 495.1 MB, free: 23.38 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.004068/2.019, allocations: 1.991 MB / 497.1 MB, free: 22.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/2.019, allocations: 14.27 kB / 497.2 MB, free: 22.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/2.02, allocations: 115.4 kB / 497.3 MB, free: 22.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/2.02, allocations: 383.9 kB / 497.6 MB, free: 21.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/2.02, allocations: 22.58 kB / 497.7 MB, free: 21.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/2.02, allocations: 32.47 kB / 497.7 MB, free: 21.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007206/2.021, allocations: 484.8 kB / 498.2 MB, free: 21.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/2.021, allocations: 1.031 kB / 498.2 MB, free: 21.88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/2.021, allocations: 15.31 kB / 498.2 MB, free: 21.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/2.021, allocations: 11.31 kB / 498.2 MB, free: 21.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008078/2.022, allocations: 446.6 kB / 498.6 MB, free: 21.88 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/2.024, allocations: 1.9 MB / 0.4888 GB, free: 20.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/2.025, allocations: 0.5755 MB / 0.4894 GB, free: 20.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/2.025, allocations: 199.6 kB / 0.4896 GB, free: 20.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07323/2.099, allocations: 22.7 MB / 0.5117 GB, free: 16.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/2.099, allocations: 36.77 kB / 0.5118 GB, free: 16.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 1.984e-06/2.099, allocations: 0 / 0.5118 GB, free: 16.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.00271/2.101, allocations: 0.9686 MB / 0.5127 GB, free: 15.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/2.101, allocations: 55.41 kB / 0.5128 GB, free: 15.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006872/2.102, allocations: 0.8047 MB / 0.5135 GB, free: 15.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/2.102, allocations: 33.52 kB / 0.5136 GB, free: 15.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/2.102, allocations: 464.2 kB / 0.514 GB, free: 14.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/2.102, allocations: 136.5 kB / 0.5141 GB, free: 14.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/2.103, allocations: 96.11 kB / 0.5142 GB, free: 14.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.384e-05/2.103, allocations: 0.4955 MB / 0.5147 GB, free: 14.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/2.103, allocations: 179.2 kB / 0.5149 GB, free: 14.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/2.103, allocations: 262.5 kB / 0.5151 GB, free: 13.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/2.104, allocations: 466.1 kB / 0.5156 GB, free: 13.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/2.104, allocations: 0 / 0.5156 GB, free: 13.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001115/2.105, allocations: 0.7583 MB / 0.5163 GB, free: 13.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/2.105, allocations: 8 kB / 0.5163 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/2.105, allocations: 2.094 kB / 0.5163 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004328/2.109, allocations: 0.856 MB / 0.5172 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/2.109, allocations: 46.81 kB / 0.5172 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/2.111, allocations: 1.578 MB / 0.5188 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/2.111, allocations: 43.44 kB / 0.5188 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/2.111, allocations: 12.38 kB / 0.5188 GB, free: 11.12 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.0001553/2.111, allocations: 202.2 kB / 0.519 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.349e-05/2.111, allocations: 91.38 kB / 0.5191 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/2.112, allocations: 0.7064 MB / 0.5198 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007813/2.113, allocations: 0.5528 MB / 0.5203 GB, free: 9.895 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/2.113, allocations: 4 kB / 0.5203 GB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/2.113, allocations: 0 / 0.5203 GB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/2.115, allocations: 1.502 MB / 0.5218 GB, free: 8.719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/2.115, allocations: 0 / 0.5218 GB, free: 8.719 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/2.115, allocations: 63.14 kB / 0.5218 GB, free: 8.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001767/2.117, allocations: 375.2 kB / 0.5222 GB, free: 8.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/2.117, allocations: 12.86 kB / 0.5222 GB, free: 8.312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006342/2.118, allocations: 1.048 MB / 0.5232 GB, free: 7.312 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/2.118, allocations: 0 / 0.5232 GB, free: 7.312 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/2.119, allocations: 1.09 MB / 0.5243 GB, free: 6.246 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/2.119, allocations: 118.9 kB / 0.5244 GB, free: 6.133 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/2.119, allocations: 4.656 kB / 0.5244 GB, free: 6.129 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/2.12, allocations: 16.86 kB / 0.5244 GB, free: 6.113 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/2.12, allocations: 31.94 kB / 0.5245 GB, free: 6.082 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/2.12, allocations: 12 kB / 0.5245 GB, free: 6.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003581/2.12, allocations: 474.9 kB / 0.5249 GB, free: 5.613 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/2.12, allocations: 8.031 kB / 0.5249 GB, free: 5.605 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002387/2.122, allocations: 1.173 MB / 0.5261 GB, free: 4.43 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.003635/2.126, allocations: 1.781 MB / 0.5278 GB, free: 2.883 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/2.127, allocations: 0.5739 MB / 0.5284 GB, free: 2.309 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/2.127, allocations: 3.094 kB / 0.5284 GB, free: 2.309 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005554/2.128, allocations: 318.6 kB / 0.5287 GB, free: 2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/2.128, allocations: 96.67 kB / 0.5288 GB, free: 1.906 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/2.13, allocations: 1.392 MB / 0.5301 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/2.13, allocations: 381.9 kB / 0.5305 GB, free: 88 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001207/2.13, allocations: 31.97 kB / 0.5305 GB, free: 56 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.896e-05/2.13, allocations: 28.5 kB / 0.5306 GB, free: 24 kB / 442.7 MB Notification: Performance of SimCode: time 5.11e-07/2.13, allocations: 0 / 0.5306 GB, free: 24 kB / 442.7 MB Notification: Performance of Templates: time 0.06987/2.2, allocations: 41.86 MB / 0.5715 GB, free: 6.352 MB / 490.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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.341754105989821]