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.8208/0.8208, allocations: 111.6 MB / 131 MB, free: 5.09 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 2.995e-06/2.995e-06, allocations: 0 / 175.7 MB, free: 9.523 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.851e-05/4.151e-05, allocations: 5.125 kB / 175.7 MB, free: 9.52 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.846/1.846, allocations: 254.8 MB / 430.4 MB, free: 412 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04818/1.894, allocations: 29.85 MB / 460.3 MB, free: 2.441 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/1.894, allocations: 4 kB / 460.3 MB, free: 2.438 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.000501/1.895, allocations: 111.2 kB / 460.4 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/1.895, allocations: 121.1 kB / 460.5 MB, free: 2.211 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.02706/1.922, allocations: 8.685 MB / 469.2 MB, free: 9.488 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008889/1.923, allocations: 458.2 kB / 469.6 MB, free: 9.039 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/1.923, allocations: 177.7 kB / 469.8 MB, free: 8.863 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00051/1.924, allocations: 275.3 kB / 470.1 MB, free: 8.594 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/1.924, allocations: 139.6 kB / 470.2 MB, free: 8.457 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.012e-05/1.924, allocations: 28 kB / 470.2 MB, free: 8.43 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03388/1.958, allocations: 14.29 MB / 484.5 MB, free: 10.12 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003629/1.958, allocations: 195.3 kB / 484.7 MB, free: 9.926 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000362/1.959, allocations: 147.4 kB / 484.9 MB, free: 9.781 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2584/2.217, allocations: 10.04 MB / 494.9 MB, free: 23.19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/2.217, allocations: 0.5 kB / 494.9 MB, free: 23.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.833e-06/2.217, allocations: 0 / 494.9 MB, free: 23.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.385e-05/2.217, allocations: 2.281 kB / 494.9 MB, free: 23.19 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004749/2.222, allocations: 1.962 MB / 496.9 MB, free: 22.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/2.222, allocations: 13.62 kB / 496.9 MB, free: 22.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/2.222, allocations: 119.3 kB / 497 MB, free: 22.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/2.222, allocations: 386.3 kB / 497.4 MB, free: 21.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/2.223, allocations: 21.41 kB / 497.4 MB, free: 21.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/2.223, allocations: 32.38 kB / 497.4 MB, free: 21.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008271/2.223, allocations: 0.5682 MB / 498 MB, free: 21.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/2.223, allocations: 1.062 kB / 498 MB, free: 21.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/2.223, allocations: 14.56 kB / 498 MB, free: 21.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/2.223, allocations: 11.41 kB / 498 MB, free: 21.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008737/2.224, allocations: 0.5431 MB / 498.6 MB, free: 21.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/2.227, allocations: 2.592 MB / 0.4894 GB, free: 20.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/2.228, allocations: 0.7449 MB / 0.4901 GB, free: 19.99 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004041/2.228, allocations: 265.8 kB / 0.4904 GB, free: 19.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07265/2.301, allocations: 22.69 MB / 0.5126 GB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/2.301, allocations: 41.47 kB / 0.5126 GB, free: 15.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.124e-06/2.301, allocations: 4 kB / 0.5126 GB, free: 15.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.003589/2.305, allocations: 1.351 MB / 0.5139 GB, free: 14.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/2.305, allocations: 59.02 kB / 0.514 GB, free: 14.37 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007134/2.305, allocations: 0.7844 MB / 0.5147 GB, free: 13.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/2.305, allocations: 33.2 kB / 0.5148 GB, free: 13.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00026/2.306, allocations: 448.8 kB / 0.5152 GB, free: 13.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/2.306, allocations: 138.9 kB / 0.5153 GB, free: 13.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/2.306, allocations: 78.94 kB / 0.5154 GB, free: 13.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.039e-05/2.306, allocations: 0.4984 MB / 0.5159 GB, free: 12.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/2.306, allocations: 240.4 kB / 0.5161 GB, free: 12.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/2.306, allocations: 313.7 kB / 0.5164 GB, free: 12.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/2.307, allocations: 0.5444 MB / 0.517 GB, free: 12.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/2.307, allocations: 0 / 0.517 GB, free: 12.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00108/2.308, allocations: 0.8526 MB / 0.5178 GB, free: 11.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/2.308, allocations: 4 kB / 0.5178 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/2.308, allocations: 5.859 kB / 0.5178 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004017/2.312, allocations: 0.7971 MB / 0.5186 GB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/2.312, allocations: 30.89 kB / 0.5186 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/2.314, allocations: 1.538 MB / 0.5201 GB, free: 9.609 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/2.314, allocations: 33.11 kB / 0.5201 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/2.314, allocations: 13.61 kB / 0.5202 GB, free: 9.57 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 (sink.C.a,sourcePQ.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 (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.0001924/2.314, allocations: 194.7 kB / 0.5203 GB, free: 9.391 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.501e-05/2.314, allocations: 87.05 kB / 0.5204 GB, free: 9.309 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/2.315, allocations: 0.9161 MB / 0.5213 GB, free: 8.574 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009987/2.316, allocations: 0.767 MB / 0.5221 GB, free: 7.949 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/2.316, allocations: 0 / 0.5221 GB, free: 7.949 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/2.316, allocations: 7.922 kB / 0.5221 GB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/2.319, allocations: 1.854 MB / 0.5239 GB, free: 6.438 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/2.319, allocations: 0 / 0.5239 GB, free: 6.438 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/2.319, allocations: 39.97 kB / 0.5239 GB, free: 6.398 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/2.321, allocations: 0.5245 MB / 0.5244 GB, free: 5.875 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/2.321, allocations: 8.625 kB / 0.5244 GB, free: 5.867 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/2.322, allocations: 1.522 MB / 0.5259 GB, free: 4.312 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/2.322, allocations: 0 / 0.5259 GB, free: 4.312 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/2.323, allocations: 1.029 MB / 0.5269 GB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/2.323, allocations: 103.3 kB / 0.527 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/2.323, allocations: 12.56 kB / 0.527 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/2.323, allocations: 8 kB / 0.527 GB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/2.323, allocations: 27.94 kB / 0.5271 GB, free: 3.113 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/2.323, allocations: 12 kB / 0.5271 GB, free: 3.102 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003946/2.324, allocations: 467 kB / 0.5275 GB, free: 2.652 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/2.324, allocations: 0 / 0.5275 GB, free: 2.652 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003006/2.327, allocations: 1.167 MB / 0.5287 GB, free: 1.484 MB / 442.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.004565/2.331, allocations: 1.773 MB / 0.5304 GB, free: 15.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001661/2.333, allocations: 0.6732 MB / 0.5311 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/2.333, allocations: 320 / 0.5311 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000808/2.334, allocations: 389.8 kB / 0.5314 GB, free: 14.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007659/2.335, allocations: 92.97 kB / 0.5315 GB, free: 14.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/2.338, allocations: 1.45 MB / 0.5329 GB, free: 13.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/2.338, allocations: 376.9 kB / 0.5333 GB, free: 12.93 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000121/2.339, allocations: 24.69 kB / 0.5333 GB, free: 12.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/2.339, allocations: 20.5 kB / 0.5333 GB, free: 12.89 MB / 458.7 MB Notification: Performance of SimCode: time 1.543e-06/2.339, allocations: 3.188 kB / 0.5333 GB, free: 12.89 MB / 458.7 MB Notification: Performance of Templates: time 0.06699/2.406, allocations: 41.19 MB / 0.5736 GB, free: 3.938 MB / 490.7 MB " [Timeout remaining time 657] 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: 8.652983633917756]