Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.5068/0.5068, allocations: 111.6 MB / 131.7 MB, free: 5.062 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.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 176.5 MB, free: 9.418 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.811e-05, allocations: 2.312 kB / 176.5 MB, free: 9.414 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.TestStaticCentrifugalPump1): time 1.238/1.238, allocations: 257 MB / 433.6 MB, free: 11.93 MB / 394.9 MB Notification: Performance of NFInst.instExpressions: time 0.02778/1.266, allocations: 32.97 MB / 466.5 MB, free: 10.84 MB / 426.9 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/1.266, allocations: 4 kB / 466.5 MB, free: 10.84 MB / 426.9 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StaticCentrifugalPump.mo:33:3-34: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/StaticCentrifugalPump.mo:35:3-36: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/BoundaryConditions/SourceP.mo:19:3-20: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/SinkP.mo:19:3-20:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003015/1.267, allocations: 111.3 kB / 466.6 MB, free: 10.73 MB / 426.9 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/1.267, allocations: 131 kB / 466.8 MB, free: 10.6 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.01747/1.284, allocations: 9.799 MB / 476.6 MB, free: 0.7617 MB / 426.9 MB Notification: Performance of NFFlatten.flatten: time 0.0005205/1.285, allocations: 422 kB / 477 MB, free: 356 kB / 426.9 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/1.285, allocations: 112.8 kB / 477.1 MB, free: 244 kB / 426.9 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/1.285, allocations: 255.3 kB / 477.3 MB, free: 15.98 MB / 442.9 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/1.285, allocations: 99.64 kB / 477.4 MB, free: 15.89 MB / 442.9 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/1.285, allocations: 20 kB / 477.5 MB, free: 15.87 MB / 442.9 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1969/1.482, allocations: 16.78 MB / 494.2 MB, free: 19.03 MB / 442.9 MB Notification: Performance of NFScalarize.scalarize: time 7.607e-05/1.482, allocations: 59.03 kB / 494.3 MB, free: 19.03 MB / 442.9 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/1.483, allocations: 102.2 kB / 494.4 MB, free: 19.03 MB / 442.9 MB Notification: Performance of NFConvertDAE.convert: time 0.01631/1.499, allocations: 10.76 MB / 0.4933 GB, free: 18.97 MB / 442.9 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.499, allocations: 1.641 kB / 0.4933 GB, free: 18.97 MB / 442.9 MB Notification: Performance of FrontEnd: time 1.804e-06/1.499, allocations: 0 / 0.4933 GB, free: 18.97 MB / 442.9 MB Notification: Performance of Transformations before backend: time 9.618e-06/1.499, allocations: 1.281 kB / 0.4933 GB, free: 18.97 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00433/1.503, allocations: 1.556 MB / 0.4948 GB, free: 18.02 MB / 442.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/1.503, allocations: 12.95 kB / 0.4948 GB, free: 18.02 MB / 442.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.667e-05/1.503, allocations: 54.58 kB / 0.4949 GB, free: 18 MB / 442.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/1.503, allocations: 198.6 kB / 0.4951 GB, free: 17.84 MB / 442.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/1.503, allocations: 17.34 kB / 0.4951 GB, free: 17.84 MB / 442.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/1.504, allocations: 23.03 kB / 0.4951 GB, free: 17.84 MB / 442.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/1.504, allocations: 284.2 kB / 0.4954 GB, free: 17.71 MB / 442.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.504, allocations: 1.125 kB / 0.4954 GB, free: 17.71 MB / 442.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/1.504, allocations: 10.59 kB / 0.4954 GB, free: 17.71 MB / 442.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/1.504, allocations: 10.81 kB / 0.4954 GB, free: 17.71 MB / 442.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/1.504, allocations: 121.2 kB / 0.4955 GB, free: 17.71 MB / 442.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01818/1.522, allocations: 11.18 MB / 0.5065 GB, free: 16.09 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/1.523, allocations: 129.9 kB / 0.5066 GB, free: 16.06 MB / 442.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.073e-05/1.523, allocations: 60.41 kB / 0.5066 GB, free: 16.04 MB / 442.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07355/1.596, allocations: 43.75 MB / 0.5494 GB, free: 11.49 MB / 474.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/1.596, allocations: 33.39 kB / 0.5494 GB, free: 11.45 MB / 474.9 MB Notification: Performance of pre-optimization done (n=41): time 2.445e-06/1.596, allocations: 0 / 0.5494 GB, free: 11.45 MB / 474.9 MB Notification: Performance of matching and sorting (n=41): time 0.001658/1.598, allocations: 0.5558 MB / 0.5499 GB, free: 10.89 MB / 474.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/1.598, allocations: 55.41 kB / 0.55 GB, free: 10.82 MB / 474.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/1.598, allocations: 253 kB / 0.5502 GB, free: 10.56 MB / 474.9 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/1.598, allocations: 25.7 kB / 0.5503 GB, free: 10.53 MB / 474.9 MB Notification: Performance of collectInitialEqns (initialization): time 9.201e-05/1.598, allocations: 213.3 kB / 0.5505 GB, free: 10.32 MB / 474.9 MB Notification: Performance of collectInitialBindings (initialization): time 7.387e-05/1.598, allocations: 151.1 kB / 0.5506 GB, free: 10.17 MB / 474.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/1.598, allocations: 63.3 kB / 0.5507 GB, free: 10.1 MB / 474.9 MB Notification: Performance of setup shared object (initialization): time 0.0003585/1.599, allocations: 0.5117 MB / 0.5512 GB, free: 9.578 MB / 474.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-05/1.599, allocations: 52.12 kB / 0.5512 GB, free: 9.531 MB / 474.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/1.599, allocations: 117.4 kB / 0.5513 GB, free: 9.398 MB / 474.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/1.599, allocations: 170.8 kB / 0.5515 GB, free: 9.211 MB / 474.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.599, allocations: 4 kB / 0.5515 GB, free: 9.207 MB / 474.9 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008815/1.6, allocations: 414 kB / 0.5519 GB, free: 8.809 MB / 474.9 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.6, allocations: 8 kB / 0.5519 GB, free: 8.801 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/1.6, allocations: 3.984 kB / 0.5519 GB, free: 8.797 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004569/1.6, allocations: 205 kB / 0.5521 GB, free: 8.594 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/1.6, allocations: 15.98 kB / 0.5521 GB, free: 8.578 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005428/1.601, allocations: 0.9328 MB / 0.553 GB, free: 7.617 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/1.601, allocations: 27.73 kB / 0.553 GB, free: 7.59 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/1.601, allocations: 15.98 kB / 0.5531 GB, free: 7.574 MB / 474.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.601, allocations: 168.2 kB / 0.5532 GB, free: 7.402 MB / 474.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/1.601, allocations: 31.8 kB / 0.5532 GB, free: 7.371 MB / 474.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006526/1.602, allocations: 0.7958 MB / 0.554 GB, free: 6.484 MB / 474.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002119/1.602, allocations: 208.6 kB / 0.5542 GB, free: 6.273 MB / 474.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/1.602, allocations: 0 / 0.5542 GB, free: 6.273 MB / 474.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.602, allocations: 3.984 kB / 0.5542 GB, free: 6.27 MB / 474.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006878/1.603, allocations: 0.7146 MB / 0.5549 GB, free: 5.52 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.603, allocations: 4 kB / 0.5549 GB, free: 5.516 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/1.603, allocations: 23.47 kB / 0.555 GB, free: 5.496 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003339/1.603, allocations: 159 kB / 0.5551 GB, free: 5.34 MB / 474.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/1.603, allocations: 9.25 kB / 0.5551 GB, free: 5.332 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004545/1.604, allocations: 0.94 MB / 0.556 GB, free: 4.363 MB / 474.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.604, allocations: 0 / 0.556 GB, free: 4.363 MB / 474.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/1.604, allocations: 388.7 kB / 0.5564 GB, free: 3.965 MB / 474.9 MB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/1.604, allocations: 43.77 kB / 0.5564 GB, free: 3.922 MB / 474.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/1.604, allocations: 3.938 kB / 0.5564 GB, free: 3.918 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/1.604, allocations: 9.031 kB / 0.5565 GB, free: 3.91 MB / 474.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/1.604, allocations: 19.97 kB / 0.5565 GB, free: 3.891 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/1.604, allocations: 4 kB / 0.5565 GB, free: 3.887 MB / 474.9 MB Notification: Performance of sorting global known variables: time 0.0001455/1.604, allocations: 241 kB / 0.5567 GB, free: 3.648 MB / 474.9 MB Notification: Performance of sort global known variables: time 8e-08/1.604, allocations: 0 / 0.5567 GB, free: 3.648 MB / 474.9 MB Notification: Performance of remove unused functions: time 0.003499/1.608, allocations: 1.216 MB / 0.5579 GB, free: 2.43 MB / 474.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 (13): * Single equations (assignments): 12 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004503/1.612, allocations: 1.905 MB / 0.5598 GB, free: 0.7539 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.0004752/1.613, allocations: 237.7 kB / 0.56 GB, free: 0.5234 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.613, allocations: 0 / 0.56 GB, free: 0.5234 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/1.613, allocations: 127.6 kB / 0.5601 GB, free: 412 kB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/1.613, allocations: 129.7 kB / 0.5602 GB, free: 300 kB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/1.615, allocations: 0.5683 MB / 0.5608 GB, free: 15.71 MB / 490.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.909e-05/1.615, allocations: 96.3 kB / 0.5609 GB, free: 15.59 MB / 490.9 MB Notification: Performance of simCode: alias equations: time 7.681e-05/1.615, allocations: 19.55 kB / 0.5609 GB, free: 15.58 MB / 490.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/1.615, allocations: 20.5 kB / 0.5609 GB, free: 15.56 MB / 490.9 MB Notification: Performance of SimCode: time 1.373e-06/1.615, allocations: 0 / 0.5609 GB, free: 15.56 MB / 490.9 MB Notification: Performance of Templates: time 0.04209/1.657, allocations: 43.64 MB / 0.6035 GB, free: 4.176 MB / 0.5106 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.3031572110485286]