Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.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.4881/0.4881, allocations: 111.6 MB / 131.4 MB, free: 4.926 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.CentrifugalPump.TestCentrifugalPump.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.967e-06/3.967e-06, allocations: 4 kB / 176.5 MB, free: 9.039 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/2.126e-05, allocations: 5.703 kB / 176.5 MB, free: 9.035 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.CentrifugalPump.TestCentrifugalPump.Scenario_1): time 1.062/1.062, allocations: 257.1 MB / 433.6 MB, free: 216 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02406/1.086, allocations: 29.43 MB / 463 MB, free: 2.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/1.087, allocations: 3.938 kB / 463 MB, free: 2.656 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/SourceAngularVelocity.mo:6:3-7: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.0003335/1.087, allocations: 115.2 kB / 463.1 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/1.087, allocations: 125.1 kB / 463.2 MB, free: 2.418 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.01534/1.102, allocations: 8.689 MB / 471.9 MB, free: 9.699 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004372/1.103, allocations: 458.1 kB / 472.4 MB, free: 9.25 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/1.103, allocations: 173.7 kB / 472.6 MB, free: 9.082 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003588/1.103, allocations: 279.2 kB / 472.8 MB, free: 8.809 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/1.104, allocations: 131.6 kB / 473 MB, free: 8.68 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/1.104, allocations: 32 kB / 473 MB, free: 8.648 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2332/1.337, allocations: 14.28 MB / 487.3 MB, free: 10.98 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002416/1.337, allocations: 193.3 kB / 487.5 MB, free: 10.98 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002336/1.337, allocations: 150 kB / 487.6 MB, free: 10.98 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01555/1.353, allocations: 9.887 MB / 497.5 MB, free: 10.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.353, allocations: 0 / 497.5 MB, free: 10.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.152e-06/1.353, allocations: 0 / 497.5 MB, free: 10.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/1.353, allocations: 0.5938 kB / 497.5 MB, free: 10.7 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004299/1.357, allocations: 1.928 MB / 499.4 MB, free: 9.516 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.357, allocations: 15.77 kB / 499.4 MB, free: 9.512 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.851e-05/1.357, allocations: 119.5 kB / 499.6 MB, free: 9.461 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/1.358, allocations: 379.6 kB / 499.9 MB, free: 9.199 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/1.358, allocations: 24.25 kB / 499.9 MB, free: 9.199 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/1.358, allocations: 30.28 kB / 500 MB, free: 9.199 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/1.358, allocations: 434.5 kB / 0.4887 GB, free: 9.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/1.358, allocations: 3.938 kB / 0.4887 GB, free: 9.016 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/1.358, allocations: 13.25 kB / 0.4887 GB, free: 9.016 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/1.358, allocations: 13.97 kB / 0.4887 GB, free: 9.016 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/1.358, allocations: 281.9 kB / 0.489 GB, free: 9.012 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/1.359, allocations: 2.336 MB / 0.4913 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/1.36, allocations: 430.5 kB / 0.4917 GB, free: 7.398 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.737e-05/1.36, allocations: 134.5 kB / 0.4918 GB, free: 7.387 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03133/1.391, allocations: 19.93 MB / 0.5113 GB, free: 9.812 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/1.391, allocations: 44.86 kB / 0.5113 GB, free: 9.762 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 1.713e-06/1.391, allocations: 0 / 0.5113 GB, free: 9.762 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001585/1.393, allocations: 0.8686 MB / 0.5121 GB, free: 8.895 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/1.393, allocations: 55.41 kB / 0.5122 GB, free: 8.828 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/1.393, allocations: 0.6898 MB / 0.5129 GB, free: 8.227 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/1.393, allocations: 33.7 kB / 0.5129 GB, free: 8.188 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/1.394, allocations: 441.1 kB / 0.5133 GB, free: 7.781 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/1.394, allocations: 134.5 kB / 0.5135 GB, free: 7.656 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.185e-05/1.394, allocations: 74.05 kB / 0.5135 GB, free: 7.586 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/1.394, allocations: 499.3 kB / 0.514 GB, free: 7.098 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.808e-05/1.394, allocations: 115.9 kB / 0.5141 GB, free: 6.984 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/1.394, allocations: 180.9 kB / 0.5143 GB, free: 6.789 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/1.394, allocations: 309.2 kB / 0.5146 GB, free: 6.477 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/1.394, allocations: 0 / 0.5146 GB, free: 6.477 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004718/1.395, allocations: 0.5396 MB / 0.5151 GB, free: 5.945 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.395, allocations: 8 kB / 0.5151 GB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/1.395, allocations: 1.188 kB / 0.5151 GB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/1.397, allocations: 0.6922 MB / 0.5158 GB, free: 5.254 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/1.397, allocations: 31.98 kB / 0.5158 GB, free: 5.223 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006897/1.397, allocations: 1.287 MB / 0.5171 GB, free: 3.934 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/1.397, allocations: 27.8 kB / 0.5171 GB, free: 3.906 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/1.397, allocations: 12.97 kB / 0.5171 GB, free: 3.895 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 (centrifugalPump.C1.a,centrifugalPump.C2.b,sourcePQ.C.b,sink.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001233/1.398, allocations: 179.6 kB / 0.5173 GB, free: 3.711 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/1.398, allocations: 87.48 kB / 0.5174 GB, free: 3.625 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005736/1.398, allocations: 0.6001 MB / 0.518 GB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004173/1.399, allocations: 461.6 kB / 0.5184 GB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/1.399, allocations: 0.5 kB / 0.5184 GB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.399, allocations: 4 kB / 0.5184 GB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/1.4, allocations: 1.303 MB / 0.5197 GB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.4, allocations: 1.688 kB / 0.5197 GB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/1.4, allocations: 43.39 kB / 0.5197 GB, free: 1.266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008264/1.401, allocations: 443 kB / 0.5201 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/1.401, allocations: 8 kB / 0.5201 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006347/1.401, allocations: 1.281 MB / 0.5214 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.401, allocations: 0 / 0.5214 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/1.402, allocations: 0.7146 MB / 0.5221 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.42e-05/1.402, allocations: 103.3 kB / 0.5222 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/1.402, allocations: 8 kB / 0.5222 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/1.402, allocations: 11.94 kB / 0.5222 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/1.402, allocations: 25.36 kB / 0.5222 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/1.402, allocations: 15.92 kB / 0.5223 GB, free: 14.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001966/1.402, allocations: 406.1 kB / 0.5226 GB, free: 14.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/1.402, allocations: 4 kB / 0.5226 GB, free: 14.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002606/1.405, allocations: 1.165 MB / 0.5238 GB, free: 13.13 MB / 458.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 (22): * Single equations (assignments): 21 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003013/1.408, allocations: 1.851 MB / 0.5256 GB, free: 11.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004568/1.408, allocations: 430 kB / 0.526 GB, free: 11.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.408, allocations: 0 / 0.526 GB, free: 11.08 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/1.409, allocations: 257.4 kB / 0.5262 GB, free: 10.83 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/1.409, allocations: 89.23 kB / 0.5263 GB, free: 10.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/1.411, allocations: 1.357 MB / 0.5277 GB, free: 9.375 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/1.411, allocations: 188.8 kB / 0.5278 GB, free: 9.168 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.996e-05/1.411, allocations: 24.44 kB / 0.5279 GB, free: 9.145 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/1.411, allocations: 122.2 kB / 0.528 GB, free: 9.023 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/1.411, allocations: 0 / 0.528 GB, free: 9.023 MB / 458.7 MB Notification: Performance of Templates: time 0.04618/1.457, allocations: 47.61 MB / 0.5745 GB, free: 9.676 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.891127053182572]