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 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7851/0.7851, allocations: 152.6 MB / 169.6 MB, free: 14.93 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 0.0004761/0.0004761, allocations: 18.7 kB / 245.6 MB, free: 15.57 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05065/0.05113, allocations: 33.05 MB / 278.7 MB, free: 0.6016 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.512/1.563, allocations: 301.2 MB / 0.5663 GB, free: 2.504 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03943/1.603, allocations: 34.57 MB / 0.6001 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/1.603, allocations: 0 / 0.6001 GB, free: 15.8 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62:42: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 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:63:3-65:37: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 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47: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.000346/1.603, allocations: 140.5 kB / 0.6002 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/1.603, allocations: 127.1 kB / 0.6004 GB, free: 15.54 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850: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 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088: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 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69: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 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69: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 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49: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 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49: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.02087/1.624, allocations: 9.749 MB / 0.6099 GB, free: 5.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004894/1.625, allocations: 410.3 kB / 0.6103 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/1.625, allocations: 112.4 kB / 0.6104 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/1.625, allocations: 171.2 kB / 0.6105 GB, free: 5.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/1.625, allocations: 131.4 kB / 0.6107 GB, free: 4.961 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/1.625, allocations: 24 kB / 0.6107 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02756/1.653, allocations: 17.89 MB / 0.6282 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.634e-05/1.653, allocations: 51.78 kB / 0.6282 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/1.653, allocations: 159.1 kB / 0.6284 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01396/1.667, allocations: 8.462 MB / 0.6366 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.667, allocations: 0 / 0.6366 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.312e-06/1.667, allocations: 4 kB / 0.6366 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.212e-06/1.667, allocations: 0 / 0.6366 GB, free: 10.33 MB / 0.5137 GB 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.0033/1.67, allocations: 1.541 MB / 0.6381 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/1.67, allocations: 8.031 kB / 0.6381 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.654e-05/1.671, allocations: 39.7 kB / 0.6382 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/1.671, allocations: 250.5 kB / 0.6384 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/1.671, allocations: 20.56 kB / 0.6384 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/1.671, allocations: 20 kB / 0.6385 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/1.671, allocations: 336.2 kB / 0.6388 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.671, allocations: 4 kB / 0.6388 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/1.671, allocations: 8 kB / 0.6388 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/1.671, allocations: 19.94 kB / 0.6388 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003892/1.672, allocations: 230.9 kB / 0.639 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03683/1.709, allocations: 18.13 MB / 0.6567 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/1.709, allocations: 170.5 kB / 0.6569 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/1.709, allocations: 100.8 kB / 0.657 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3028/2.012, allocations: 77.74 MB / 0.7329 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/2.012, allocations: 30.56 kB / 0.7329 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 2.344e-06/2.012, allocations: 0 / 0.7329 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=41): time 0.003679/2.016, allocations: 0.9227 MB / 0.7338 GB, free: 205 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.762e-05/2.016, allocations: 54.84 kB / 0.7339 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/2.016, allocations: 260.7 kB / 0.7341 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/2.016, allocations: 25.7 kB / 0.7342 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/2.016, allocations: 157.8 kB / 0.7343 GB, free: 204.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/2.016, allocations: 142.7 kB / 0.7345 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-05/2.016, allocations: 53.69 kB / 0.7345 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.986e-05/2.016, allocations: 347.3 kB / 0.7348 GB, free: 204.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/2.016, allocations: 94.45 kB / 0.7349 GB, free: 204.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/2.016, allocations: 152.3 kB / 0.7351 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/2.017, allocations: 262.2 kB / 0.7353 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/2.017, allocations: 4 kB / 0.7353 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002075/2.019, allocations: 0.6008 MB / 0.7359 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/2.019, allocations: 9.016 kB / 0.7359 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/2.019, allocations: 2.75 kB / 0.7359 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006808/2.02, allocations: 219 kB / 0.7361 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.254e-05/2.02, allocations: 23.55 kB / 0.7362 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000614/2.02, allocations: 0.7345 MB / 0.7369 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/2.02, allocations: 38.64 kB / 0.7369 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/2.02, allocations: 9.547 kB / 0.7369 GB, free: 203.5 MB / 0.5919 GB 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.0001214/2.021, allocations: 140.7 kB / 0.737 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/2.021, allocations: 30.91 kB / 0.7371 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007401/2.021, allocations: 0.7583 MB / 0.7378 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000389/2.022, allocations: 293.7 kB / 0.7381 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/2.022, allocations: 0 / 0.7381 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/2.022, allocations: 2.203 kB / 0.7381 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008903/2.023, allocations: 0.8647 MB / 0.7389 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/2.023, allocations: 0 / 0.7389 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.822e-05/2.023, allocations: 27.22 kB / 0.739 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005572/2.023, allocations: 192.8 kB / 0.7392 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/2.023, allocations: 8.562 kB / 0.7392 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005476/2.024, allocations: 0.7698 MB / 0.7399 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/2.024, allocations: 0 / 0.7399 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/2.024, allocations: 422.6 kB / 0.7403 GB, free: 202.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/2.024, allocations: 117.1 kB / 0.7404 GB, free: 202 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/2.024, allocations: 13.17 kB / 0.7404 GB, free: 202 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/2.024, allocations: 8.047 kB / 0.7404 GB, free: 202 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/2.025, allocations: 15.56 kB / 0.7405 GB, free: 202 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/2.025, allocations: 9.469 kB / 0.7405 GB, free: 202 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001842/2.025, allocations: 252.2 kB / 0.7407 GB, free: 201.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/2.025, allocations: 0 / 0.7407 GB, free: 201.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002112/2.027, allocations: 1.213 MB / 0.7419 GB, free: 201.9 MB / 0.5919 GB 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.003571/2.03, allocations: 1.726 MB / 0.7436 GB, free: 201.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005821/2.031, allocations: 304.2 kB / 0.7439 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/2.031, allocations: 0 / 0.7439 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/2.031, allocations: 136.3 kB / 0.744 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/2.032, allocations: 128.8 kB / 0.7441 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008252/2.033, allocations: 0.6395 MB / 0.7448 GB, free: 201.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/2.033, allocations: 0.7796 MB / 0.7455 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/2.033, allocations: 24.81 kB / 0.7455 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/2.033, allocations: 7.781 kB / 0.7455 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.02336/2.056, allocations: 25.4 MB / 0.7703 GB, free: 182.2 MB / 0.5919 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.036607180023566] Failed to read output from testmodel.py, exit status != 0: 2.1637282769661397 2.171432818 0.5024187529999999 Calling exit ...