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.8573/0.8573, allocations: 153.8 MB / 173.4 MB, free: 4.938 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.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.0005463/0.0005463, allocations: 11.97 kB / 251.1 MB, free: 3.938 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1691, allocations: 33.36 MB / 284.5 MB, free: 2.137 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.TestStaticCentrifugalPump1): time 1.897/2.066, allocations: 307.6 MB / 0.5782 GB, free: 16.03 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03446/2.1, allocations: 34.7 MB / 0.6121 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/2.101, allocations: 2.094 kB / 0.6121 GB, free: 14.29 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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.0004379/2.101, allocations: 134.9 kB / 0.6122 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/2.101, allocations: 122.5 kB / 0.6123 GB, free: 14.14 MB / 494.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.02856/2.13, allocations: 9.838 MB / 0.6219 GB, free: 8.625 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007623/2.131, allocations: 412.4 kB / 0.6223 GB, free: 8.223 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/2.131, allocations: 117.5 kB / 0.6224 GB, free: 8.109 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/2.131, allocations: 175.2 kB / 0.6226 GB, free: 7.938 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/2.131, allocations: 131.4 kB / 0.6227 GB, free: 7.809 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/2.131, allocations: 24 kB / 0.6227 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03601/2.167, allocations: 17.91 MB / 0.6402 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/2.167, allocations: 51.78 kB / 0.6403 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002363/2.168, allocations: 163.1 kB / 0.6404 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.021/2.189, allocations: 8.466 MB / 0.6487 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/2.189, allocations: 0 / 0.6487 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/2.189, allocations: 4 kB / 0.6487 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.586e-06/2.189, allocations: 0 / 0.6487 GB, free: 13.16 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.005268/2.194, allocations: 1.473 MB / 0.6502 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/2.194, allocations: 8.031 kB / 0.6502 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.214e-05/2.194, allocations: 37.27 kB / 0.6502 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/2.194, allocations: 192.7 kB / 0.6504 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/2.194, allocations: 24.38 kB / 0.6504 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/2.194, allocations: 21.31 kB / 0.6504 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/2.195, allocations: 339.8 kB / 0.6508 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/2.195, allocations: 3.938 kB / 0.6508 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/2.195, allocations: 8 kB / 0.6508 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/2.195, allocations: 19.98 kB / 0.6508 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/2.196, allocations: 223.1 kB / 0.651 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03809/2.234, allocations: 11.24 MB / 0.662 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/2.234, allocations: 182.5 kB / 0.6621 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/2.234, allocations: 94.19 kB / 0.6622 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1525/2.387, allocations: 43.41 MB / 0.7046 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/2.387, allocations: 38.56 kB / 0.7047 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.244e-06/2.387, allocations: 4 kB / 0.7047 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41): time 0.004343/2.391, allocations: 0.8692 MB / 0.7055 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/2.391, allocations: 51.41 kB / 0.7056 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/2.392, allocations: 250.8 kB / 0.7058 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/2.392, allocations: 25.7 kB / 0.7058 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/2.392, allocations: 164.7 kB / 0.706 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/2.392, allocations: 138.8 kB / 0.7061 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.523e-05/2.392, allocations: 61.64 kB / 0.7062 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001647/2.392, allocations: 338.8 kB / 0.7065 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/2.392, allocations: 100.4 kB / 0.7066 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/2.392, allocations: 144.2 kB / 0.7067 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/2.393, allocations: 277.4 kB / 0.707 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/2.393, allocations: 0 / 0.707 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002526/2.395, allocations: 0.6031 MB / 0.7076 GB, free: 492 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/2.395, allocations: 4.781 kB / 0.7076 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/2.396, allocations: 4 kB / 0.7076 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008663/2.396, allocations: 220.3 kB / 0.7078 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/2.396, allocations: 23.92 kB / 0.7078 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/2.398, allocations: 0.7357 MB / 0.7085 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/2.398, allocations: 40.83 kB / 0.7086 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/2.398, allocations: 8 kB / 0.7086 GB, free: 15.43 MB / 0.5762 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.0001875/2.398, allocations: 137.8 kB / 0.7087 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/2.398, allocations: 28.38 kB / 0.7087 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/2.399, allocations: 0.7863 MB / 0.7095 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005561/2.4, allocations: 294.4 kB / 0.7098 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/2.4, allocations: 0 / 0.7098 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/2.4, allocations: 0 / 0.7098 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/2.401, allocations: 0.8458 MB / 0.7106 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/2.401, allocations: 0.75 kB / 0.7106 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.735e-05/2.401, allocations: 24.73 kB / 0.7106 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006925/2.402, allocations: 204.2 kB / 0.7108 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/2.402, allocations: 3.984 kB / 0.7108 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008837/2.403, allocations: 0.7629 MB / 0.7116 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/2.403, allocations: 4.625 kB / 0.7116 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006812/2.404, allocations: 420.8 kB / 0.712 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.933e-05/2.404, allocations: 47.72 kB / 0.712 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/2.404, allocations: 8.641 kB / 0.7121 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/2.404, allocations: 8 kB / 0.7121 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/2.404, allocations: 19.97 kB / 0.7121 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/2.404, allocations: 4.562 kB / 0.7121 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002947/2.404, allocations: 255 kB / 0.7123 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.404, allocations: 4 kB / 0.7123 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003322/2.408, allocations: 1.212 MB / 0.7135 GB, free: 10.2 MB / 0.5762 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.005717/2.413, allocations: 1.745 MB / 0.7152 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008453/2.414, allocations: 297 kB / 0.7155 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/2.414, allocations: 256 / 0.7155 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003674/2.414, allocations: 139.8 kB / 0.7156 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008123/2.415, allocations: 129 kB / 0.7158 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/2.417, allocations: 0.6475 MB / 0.7164 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/2.417, allocations: 0.7756 MB / 0.7171 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/2.417, allocations: 21.31 kB / 0.7172 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/2.417, allocations: 4 kB / 0.7172 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of Templates: time 0.0398/2.457, allocations: 25.51 MB / 0.7421 GB, free: 13.35 MB / 0.6075 GB " [Timeout remaining time 657] 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: 10.739584811963141] Failed to read output from testmodel.py, exit status != 0: 2.6408753329887986 2.874076982 0.682667681 Calling exit ...