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.852/0.852, allocations: 153.8 MB / 173.4 MB, free: 4.875 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 0.0005326/0.0005326, allocations: 11.97 kB / 251 MB, free: 3.867 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.152, allocations: 33.36 MB / 284.4 MB, free: 2.035 MB / 222.1 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.858/2.01, allocations: 307.6 MB / 0.5782 GB, free: 17.39 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02776/2.038, allocations: 27.71 MB / 0.6052 GB, free: 4.598 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/2.038, allocations: 3.656 kB / 0.6052 GB, free: 4.598 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:117:3-119: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 master/WaterSteam/Machines/CentrifugalPump.mo:120:3-122: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 master/WaterSteam/Machines/CentrifugalPump.mo:126:3-130:23: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:29:3-30:52: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:17:3-19:16: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-9:24: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.0003849/2.039, allocations: 107.1 kB / 0.6053 GB, free: 4.551 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/2.039, allocations: 114.7 kB / 0.6055 GB, free: 4.484 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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.02067/2.059, allocations: 8.58 MB / 0.6138 GB, free: 196 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005833/2.06, allocations: 426 kB / 0.6142 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/2.06, allocations: 149.3 kB / 0.6144 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000347/2.061, allocations: 192.9 kB / 0.6146 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/2.061, allocations: 147.9 kB / 0.6147 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.717e-05/2.061, allocations: 29.75 kB / 0.6147 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0293/2.09, allocations: 14.27 MB / 0.6287 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002334/2.09, allocations: 187.3 kB / 0.6288 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002796/2.091, allocations: 210.4 kB / 0.629 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01723/2.108, allocations: 7.962 MB / 0.6368 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/2.108, allocations: 3.938 kB / 0.6368 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/2.108, allocations: 2.188 kB / 0.6368 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.918e-06/2.108, allocations: 0 / 0.6368 GB, free: 9.238 MB / 0.4981 GB 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.004204/2.112, allocations: 1.808 MB / 0.6386 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/2.112, allocations: 10.38 kB / 0.6386 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/2.112, allocations: 93.2 kB / 0.6387 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/2.113, allocations: 373.4 kB / 0.639 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/2.113, allocations: 29.72 kB / 0.6391 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/2.113, allocations: 29.08 kB / 0.6391 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008548/2.114, allocations: 0.5469 MB / 0.6396 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/2.114, allocations: 0 / 0.6396 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/2.114, allocations: 16.61 kB / 0.6397 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/2.114, allocations: 12 kB / 0.6397 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009087/2.115, allocations: 0.5841 MB / 0.6402 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/2.117, allocations: 1.94 MB / 0.6421 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/2.118, allocations: 0.7498 MB / 0.6429 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004173/2.119, allocations: 265.5 kB / 0.6431 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08102/2.2, allocations: 22.61 MB / 0.6652 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/2.2, allocations: 34.8 kB / 0.6652 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=37): time 2.584e-06/2.2, allocations: 0 / 0.6652 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37): time 0.005509/2.205, allocations: 1.734 MB / 0.6669 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/2.205, allocations: 55.88 kB / 0.667 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000872/2.206, allocations: 0.7117 MB / 0.6677 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/2.206, allocations: 29.7 kB / 0.6677 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/2.207, allocations: 352.8 kB / 0.668 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/2.207, allocations: 130.8 kB / 0.6682 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/2.207, allocations: 70.48 kB / 0.6682 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001538/2.207, allocations: 318 kB / 0.6685 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/2.207, allocations: 247.9 kB / 0.6688 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/2.208, allocations: 294.1 kB / 0.669 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008638/2.209, allocations: 0.5562 MB / 0.6696 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/2.209, allocations: 4 kB / 0.6696 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00146/2.21, allocations: 0.923 MB / 0.6705 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/2.21, allocations: 4 kB / 0.6705 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/2.21, allocations: 4.562 kB / 0.6705 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004939/2.215, allocations: 1.008 MB / 0.6715 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/2.215, allocations: 15.94 kB / 0.6715 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/2.217, allocations: 1.78 MB / 0.6732 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/2.218, allocations: 35.83 kB / 0.6733 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/2.218, allocations: 19.94 kB / 0.6733 GB, free: 3.578 MB / 0.5294 GB 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.0003191/2.218, allocations: 246.3 kB / 0.6735 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-05/2.218, allocations: 75.48 kB / 0.6736 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/2.22, allocations: 1.092 MB / 0.6747 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001502/2.221, allocations: 0.9178 MB / 0.6756 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/2.221, allocations: 4 kB / 0.6756 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/2.221, allocations: 0.8438 kB / 0.6756 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/2.225, allocations: 1.945 MB / 0.6775 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/2.225, allocations: 0 / 0.6775 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.862e-05/2.225, allocations: 21.19 kB / 0.6775 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002705/2.227, allocations: 0.7382 MB / 0.6782 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/2.227, allocations: 15.94 kB / 0.6782 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/2.229, allocations: 1.809 MB / 0.68 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/2.229, allocations: 0 / 0.68 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/2.231, allocations: 1.123 MB / 0.6811 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/2.231, allocations: 95.33 kB / 0.6812 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.759e-05/2.232, allocations: 8 kB / 0.6812 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/2.232, allocations: 13.3 kB / 0.6812 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/2.232, allocations: 27.95 kB / 0.6812 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/2.232, allocations: 8 kB / 0.6812 GB, free: 11.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005946/2.232, allocations: 0.5074 MB / 0.6817 GB, free: 10.83 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/2.232, allocations: 0 / 0.6817 GB, free: 10.83 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00286/2.235, allocations: 1.157 MB / 0.6829 GB, free: 9.672 MB / 0.545 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 (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.004365/2.24, allocations: 1.613 MB / 0.6844 GB, free: 8.074 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001473/2.241, allocations: 0.6926 MB / 0.6851 GB, free: 7.375 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/2.241, allocations: 0 / 0.6851 GB, free: 7.375 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007963/2.242, allocations: 401.1 kB / 0.6855 GB, free: 6.984 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/2.243, allocations: 93.83 kB / 0.6856 GB, free: 6.902 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/2.245, allocations: 1.604 MB / 0.6871 GB, free: 5.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/2.246, allocations: 380.9 kB / 0.6875 GB, free: 4.871 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/2.246, allocations: 19.44 kB / 0.6875 GB, free: 4.852 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/2.246, allocations: 0 / 0.6875 GB, free: 4.852 MB / 0.545 GB Notification: Performance of Templates: time 0.03978/2.285, allocations: 27.6 MB / 0.7145 GB, free: 9.707 MB / 0.5762 GB " [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: 10.293062157928944] Failed to read output from testmodel.py, exit status != 0: 2.450531563721597 2.46616572 0.35494963599999996 Calling exit ...