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.5307/0.5307, allocations: 111.6 MB / 131.5 MB, free: 4.914 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 1.422e-06/1.422e-06, allocations: 0 / 176.6 MB, free: 8.977 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089e-05/1.231e-05, allocations: 9.047 kB / 176.6 MB, free: 8.969 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.264/1.264, allocations: 262.9 MB / 439.4 MB, free: 9.496 MB / 394.9 MB Notification: Performance of NFInst.instExpressions: time 0.02747/1.291, allocations: 29.92 MB / 469.4 MB, free: 11.46 MB / 426.9 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002404/1.292, allocations: 0 / 469.4 MB, free: 11.46 MB / 426.9 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.000415/1.292, allocations: 107.3 kB / 469.5 MB, free: 11.36 MB / 426.9 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/1.292, allocations: 133 kB / 469.6 MB, free: 11.22 MB / 426.9 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.01968/1.312, allocations: 8.755 MB / 478.4 MB, free: 2.438 MB / 426.9 MB Notification: Performance of NFFlatten.flatten: time 0.0005981/1.312, allocations: 458.1 kB / 478.8 MB, free: 1.988 MB / 426.9 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/1.313, allocations: 179.7 kB / 479 MB, free: 1.809 MB / 426.9 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003603/1.313, allocations: 279.2 kB / 479.3 MB, free: 1.535 MB / 426.9 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/1.313, allocations: 135.6 kB / 479.4 MB, free: 1.402 MB / 426.9 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/1.313, allocations: 32 kB / 479.4 MB, free: 1.371 MB / 426.9 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02172/1.335, allocations: 14.28 MB / 493.7 MB, free: 3.062 MB / 442.9 MB Notification: Performance of NFScalarize.scalarize: time 0.0002411/1.335, allocations: 195.3 kB / 493.9 MB, free: 2.871 MB / 442.9 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/1.335, allocations: 151.4 kB / 494 MB, free: 2.723 MB / 442.9 MB Notification: Performance of NFConvertDAE.convert: time 0.2408/1.576, allocations: 9.866 MB / 0.4921 GB, free: 21.72 MB / 442.9 MB Notification: Performance of FrontEnd - DAE generated: time 9.958e-06/1.576, allocations: 5.281 kB / 0.4921 GB, free: 21.72 MB / 442.9 MB Notification: Performance of FrontEnd: time 2.265e-06/1.576, allocations: 3.562 kB / 0.4921 GB, free: 21.72 MB / 442.9 MB Notification: Performance of Transformations before backend: time 2.523e-05/1.576, allocations: 0.7188 kB / 0.4921 GB, free: 21.72 MB / 442.9 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.007514/1.584, allocations: 1.786 MB / 0.4939 GB, free: 20.7 MB / 442.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.584, allocations: 14.23 kB / 0.4939 GB, free: 20.69 MB / 442.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/1.584, allocations: 77.42 kB / 0.4939 GB, free: 20.69 MB / 442.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/1.584, allocations: 356.7 kB / 0.4943 GB, free: 20.43 MB / 442.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/1.584, allocations: 23.72 kB / 0.4943 GB, free: 20.43 MB / 442.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/1.584, allocations: 31.81 kB / 0.4943 GB, free: 20.43 MB / 442.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004876/1.585, allocations: 409.2 kB / 0.4947 GB, free: 20.29 MB / 442.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.585, allocations: 0.9688 kB / 0.4947 GB, free: 20.29 MB / 442.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/1.585, allocations: 14.44 kB / 0.4947 GB, free: 20.29 MB / 442.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/1.585, allocations: 15.06 kB / 0.4948 GB, free: 20.29 MB / 442.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/1.585, allocations: 281.9 kB / 0.495 GB, free: 20.27 MB / 442.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/1.587, allocations: 1.665 MB / 0.4966 GB, free: 19.24 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/1.587, allocations: 403.2 kB / 0.497 GB, free: 19.21 MB / 442.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/1.587, allocations: 123.5 kB / 0.4971 GB, free: 19.21 MB / 442.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03756/1.625, allocations: 20.35 MB / 0.517 GB, free: 14.74 MB / 442.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/1.625, allocations: 42.06 kB / 0.5171 GB, free: 14.69 MB / 442.9 MB Notification: Performance of pre-optimization done (n=38): time 3.667e-06/1.625, allocations: 0 / 0.5171 GB, free: 14.69 MB / 442.9 MB Notification: Performance of matching and sorting (n=38): time 0.001585/1.627, allocations: 0.7594 MB / 0.5178 GB, free: 13.98 MB / 442.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/1.627, allocations: 51.41 kB / 0.5179 GB, free: 13.92 MB / 442.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/1.627, allocations: 0.584 MB / 0.5184 GB, free: 13.45 MB / 442.9 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/1.627, allocations: 29.45 kB / 0.5185 GB, free: 13.42 MB / 442.9 MB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/1.627, allocations: 243.2 kB / 0.5187 GB, free: 13.21 MB / 442.9 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/1.627, allocations: 134.3 kB / 0.5188 GB, free: 13.11 MB / 442.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/1.627, allocations: 65.12 kB / 0.5189 GB, free: 13.05 MB / 442.9 MB Notification: Performance of setup shared object (initialization): time 4.718e-05/1.627, allocations: 328.8 kB / 0.5192 GB, free: 12.74 MB / 442.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-05/1.628, allocations: 98.95 kB / 0.5193 GB, free: 12.65 MB / 442.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.715e-05/1.628, allocations: 149.6 kB / 0.5194 GB, free: 12.5 MB / 442.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/1.628, allocations: 297.2 kB / 0.5197 GB, free: 12.23 MB / 442.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.628, allocations: 0 / 0.5197 GB, free: 12.23 MB / 442.9 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004059/1.628, allocations: 450.2 kB / 0.5201 GB, free: 11.84 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/1.628, allocations: 4 kB / 0.5201 GB, free: 11.84 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.628, allocations: 4 kB / 0.5201 GB, free: 11.83 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001743/1.63, allocations: 0.6912 MB / 0.5208 GB, free: 11.18 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/1.63, allocations: 24.88 kB / 0.5208 GB, free: 11.15 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006712/1.631, allocations: 0.9661 MB / 0.5218 GB, free: 10.3 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/1.631, allocations: 28.14 kB / 0.5218 GB, free: 10.28 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/1.631, allocations: 10.06 kB / 0.5218 GB, free: 10.27 MB / 442.9 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.0001951/1.631, allocations: 140.8 kB / 0.522 GB, free: 10.14 MB / 442.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/1.631, allocations: 50.89 kB / 0.522 GB, free: 10.09 MB / 442.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006139/1.632, allocations: 0.5763 MB / 0.5226 GB, free: 9.582 MB / 442.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003551/1.632, allocations: 419.1 kB / 0.523 GB, free: 9.211 MB / 442.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.632, allocations: 0.875 kB / 0.523 GB, free: 9.211 MB / 442.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.632, allocations: 5.391 kB / 0.523 GB, free: 9.207 MB / 442.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/1.633, allocations: 1.144 MB / 0.5241 GB, free: 8.207 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.633, allocations: 0 / 0.5241 GB, free: 8.207 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.149e-05/1.633, allocations: 39.64 kB / 0.5241 GB, free: 8.172 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009056/1.634, allocations: 442.2 kB / 0.5246 GB, free: 7.77 MB / 442.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/1.634, allocations: 4.312 kB / 0.5246 GB, free: 7.77 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000548/1.635, allocations: 0.9962 MB / 0.5255 GB, free: 6.887 MB / 442.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.635, allocations: 0 / 0.5255 GB, free: 6.887 MB / 442.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000463/1.635, allocations: 0.605 MB / 0.5261 GB, free: 6.316 MB / 442.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/1.635, allocations: 91.3 kB / 0.5262 GB, free: 6.227 MB / 442.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/1.635, allocations: 11.75 kB / 0.5262 GB, free: 6.223 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/1.636, allocations: 11.05 kB / 0.5262 GB, free: 6.215 MB / 442.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/1.636, allocations: 24.73 kB / 0.5263 GB, free: 6.195 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/1.636, allocations: 8.75 kB / 0.5263 GB, free: 6.191 MB / 442.9 MB Notification: Performance of sorting global known variables: time 0.0001973/1.636, allocations: 276.3 kB / 0.5265 GB, free: 5.965 MB / 442.9 MB Notification: Performance of sort global known variables: time 5e-08/1.636, allocations: 0 / 0.5265 GB, free: 5.965 MB / 442.9 MB Notification: Performance of remove unused functions: time 0.006002/1.642, allocations: 1.162 MB / 0.5277 GB, free: 4.879 MB / 442.9 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.00628/1.648, allocations: 1.893 MB / 0.5295 GB, free: 3.254 MB / 442.9 MB Notification: Performance of simCode: created initialization part: time 0.000691/1.649, allocations: 407.1 kB / 0.5299 GB, free: 2.898 MB / 442.9 MB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/1.649, allocations: 8 kB / 0.5299 GB, free: 2.891 MB / 442.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0002667/1.649, allocations: 237.8 kB / 0.5301 GB, free: 2.684 MB / 442.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/1.65, allocations: 90.45 kB / 0.5302 GB, free: 2.629 MB / 442.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/1.651, allocations: 1.359 MB / 0.5315 GB, free: 1.324 MB / 442.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/1.651, allocations: 187.1 kB / 0.5317 GB, free: 1.129 MB / 442.9 MB Notification: Performance of simCode: alias equations: time 7.884e-05/1.651, allocations: 21.77 kB / 0.5317 GB, free: 1.109 MB / 442.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/1.652, allocations: 93.16 kB / 0.5318 GB, free: 1.02 MB / 442.9 MB Notification: Performance of SimCode: time 1.493e-06/1.652, allocations: 0 / 0.5318 GB, free: 1.02 MB / 442.9 MB Notification: Performance of Templates: time 0.05371/1.705, allocations: 46.91 MB / 0.5776 GB, free: 2.504 MB / 490.9 MB " [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: 5.522163406945765]