Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.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.7824/0.7824, allocations: 111.6 MB / 131 MB, free: 5.082 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.TestCentrifugalPump9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 175.7 MB, free: 9.449 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.897e-05, allocations: 6.219 kB / 175.7 MB, free: 9.445 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.TestCentrifugalPump9): time 1.738/1.738, allocations: 254.6 MB / 430.3 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04386/1.782, allocations: 27.76 MB / 458.1 MB, free: 4.805 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/1.782, allocations: 4 kB / 458.1 MB, free: 4.801 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/SourceMechanicalPower.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.0004246/1.783, allocations: 107.3 kB / 458.2 MB, free: 4.695 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/1.783, allocations: 117.1 kB / 458.3 MB, free: 4.582 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.02363/1.807, allocations: 8.673 MB / 467 MB, free: 11.87 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006761/1.807, allocations: 434.2 kB / 467.4 MB, free: 11.45 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/1.808, allocations: 168.8 kB / 467.6 MB, free: 11.28 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004473/1.808, allocations: 267.3 kB / 467.9 MB, free: 11.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/1.808, allocations: 127.6 kB / 468 MB, free: 10.89 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.446e-05/1.808, allocations: 28 kB / 468 MB, free: 10.86 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02835/1.837, allocations: 14.29 MB / 482.3 MB, free: 12.55 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002746/1.837, allocations: 191.3 kB / 482.5 MB, free: 12.36 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002642/1.837, allocations: 147.4 kB / 482.6 MB, free: 12.22 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01968/1.857, allocations: 10.01 MB / 492.6 MB, free: 2.176 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.857, allocations: 7.938 kB / 492.7 MB, free: 2.168 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.473e-06/1.857, allocations: 0 / 492.7 MB, free: 2.168 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/1.857, allocations: 3.938 kB / 492.7 MB, free: 2.164 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.004563/1.861, allocations: 1.791 MB / 494.4 MB, free: 340 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/1.861, allocations: 11.98 kB / 494.5 MB, free: 328 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/1.862, allocations: 115.4 kB / 494.6 MB, free: 212 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1357/1.997, allocations: 362.1 kB / 494.9 MB, free: 109.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/1.997, allocations: 24.41 kB / 494.9 MB, free: 109.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/1.997, allocations: 29.16 kB / 495 MB, free: 109.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007763/1.998, allocations: 0.5569 MB / 495.5 MB, free: 109.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/1.998, allocations: 1.875 kB / 495.5 MB, free: 109.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/1.998, allocations: 12.72 kB / 495.5 MB, free: 109.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/1.998, allocations: 9.281 kB / 495.6 MB, free: 109.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007062/1.999, allocations: 0.5854 MB / 496.1 MB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/2, allocations: 1.942 MB / 498.1 MB, free: 107.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/2.002, allocations: 0.7561 MB / 498.8 MB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/2.002, allocations: 261.2 kB / 499.1 MB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06644/2.068, allocations: 22.64 MB / 0.5095 GB, free: 86.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/2.068, allocations: 42.78 kB / 0.5095 GB, free: 86.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 2.074e-06/2.068, allocations: 0 / 0.5095 GB, free: 86.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.004866/2.073, allocations: 1.732 MB / 0.5112 GB, free: 85.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/2.073, allocations: 56.81 kB / 0.5113 GB, free: 85 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/2.074, allocations: 0.7178 MB / 0.512 GB, free: 84.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/2.074, allocations: 30.25 kB / 0.512 GB, free: 84.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/2.074, allocations: 355.2 kB / 0.5124 GB, free: 83.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/2.074, allocations: 132 kB / 0.5125 GB, free: 83.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.398e-05/2.074, allocations: 61.69 kB / 0.5125 GB, free: 83.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.691e-05/2.074, allocations: 318 kB / 0.5128 GB, free: 83.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/2.074, allocations: 256.7 kB / 0.5131 GB, free: 83.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/2.075, allocations: 297 kB / 0.5134 GB, free: 82.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/2.075, allocations: 0.5514 MB / 0.5139 GB, free: 82.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/2.075, allocations: 0 / 0.5139 GB, free: 82.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001067/2.076, allocations: 0.9306 MB / 0.5148 GB, free: 81.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/2.076, allocations: 7.938 kB / 0.5148 GB, free: 81.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/2.076, allocations: 4 kB / 0.5148 GB, free: 81.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004582/2.081, allocations: 1.019 MB / 0.5158 GB, free: 80.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/2.081, allocations: 10.38 kB / 0.5158 GB, free: 80.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/2.082, allocations: 1.79 MB / 0.5176 GB, free: 78.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/2.083, allocations: 27.28 kB / 0.5176 GB, free: 78.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/2.083, allocations: 19.98 kB / 0.5176 GB, free: 78.45 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 (11): * Single equations (assignments): 10 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001959/2.083, allocations: 237.8 kB / 0.5179 GB, free: 78.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.515e-05/2.083, allocations: 83.48 kB / 0.5179 GB, free: 78.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/2.084, allocations: 1.106 MB / 0.519 GB, free: 77.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001128/2.086, allocations: 0.9228 MB / 0.5199 GB, free: 76.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/2.086, allocations: 0 / 0.5199 GB, free: 76.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/2.086, allocations: 3.984 kB / 0.5199 GB, free: 76.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/2.088, allocations: 1.939 MB / 0.5218 GB, free: 74.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/2.088, allocations: 1.25 kB / 0.5218 GB, free: 74.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-05/2.088, allocations: 23.98 kB / 0.5218 GB, free: 74.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002455/2.09, allocations: 0.7336 MB / 0.5226 GB, free: 73.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/2.09, allocations: 15.98 kB / 0.5226 GB, free: 73.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/2.092, allocations: 1.825 MB / 0.5244 GB, free: 71.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/2.092, allocations: 0 / 0.5244 GB, free: 71.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/2.093, allocations: 1.135 MB / 0.5255 GB, free: 70.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/2.093, allocations: 93.73 kB / 0.5256 GB, free: 70.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/2.093, allocations: 15.5 kB / 0.5256 GB, free: 70.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/2.094, allocations: 12.97 kB / 0.5256 GB, free: 70.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/2.094, allocations: 31.89 kB / 0.5256 GB, free: 70.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/2.094, allocations: 8 kB / 0.5256 GB, free: 70.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003998/2.094, allocations: 0.499 MB / 0.5261 GB, free: 69.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/2.094, allocations: 0 / 0.5261 GB, free: 69.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002314/2.096, allocations: 1.165 MB / 0.5272 GB, free: 68.54 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 (15): * Single equations (assignments): 14 * 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,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003897/2.1, allocations: 1.764 MB / 0.529 GB, free: 67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001158/2.101, allocations: 0.6958 MB / 0.5296 GB, free: 66.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/2.101, allocations: 0 / 0.5296 GB, free: 66.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006562/2.102, allocations: 384 kB / 0.53 GB, free: 65.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/2.103, allocations: 87.19 kB / 0.5301 GB, free: 65.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/2.104, allocations: 1.535 MB / 0.5316 GB, free: 64.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/2.105, allocations: 376.9 kB / 0.532 GB, free: 63.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.92e-05/2.105, allocations: 16.69 kB / 0.532 GB, free: 63.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/2.105, allocations: 24.33 kB / 0.532 GB, free: 63.85 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/2.105, allocations: 4 kB / 0.532 GB, free: 63.84 MB / 442.7 MB Notification: Performance of Templates: time 0.04208/2.147, allocations: 40.65 MB / 0.5717 GB, free: 23.31 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9245896459324285]