Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.841/0.841, allocations: 120.3 MB / 139.4 MB, free: 492 kB / 126.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.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 217.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.69e-05, allocations: 8.109 kB / 217.2 MB, free: 13.72 MB / 206.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.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.523/1.523, allocations: 254.4 MB / 471.7 MB, free: 10.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4164/1.939, allocations: 164.8 MB / 0.6215 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000291/1.94, allocations: 15.88 kB / 0.6216 GB, free: 4.863 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/StaticCentrifugalPump.mo:63:3-64:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/StaticCentrifugalPump.mo:65:3-66:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:47:3-48:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001438/1.94, allocations: 43.53 kB / 0.6216 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003462/1.94, allocations: 130.8 kB / 0.6217 GB, free: 4.691 MB / 0.5606 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.03293/1.973, allocations: 11.59 MB / 0.633 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006988/1.974, allocations: 463.1 kB / 0.6335 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000301/1.974, allocations: 177.4 kB / 0.6336 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003454/1.974, allocations: 267.4 kB / 0.6339 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/1.975, allocations: 139.6 kB / 0.634 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.884e-05/1.975, allocations: 39.94 kB / 0.6341 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03554/2.01, allocations: 18.57 MB / 0.6522 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001721/2.01, allocations: 99.61 kB / 0.6523 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002389/2.011, allocations: 135.7 kB / 0.6524 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02617/2.037, allocations: 12.31 MB / 0.6645 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/2.037, allocations: 0 / 0.6645 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/2.037, allocations: 0 / 0.6645 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.983e-06/2.037, allocations: 0.6562 kB / 0.6645 GB, free: 8.855 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.004453/2.041, allocations: 1.807 MB / 0.6662 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/2.041, allocations: 15.97 kB / 0.6662 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.968e-05/2.041, allocations: 51.67 kB / 0.6663 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/2.042, allocations: 263.9 kB / 0.6665 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/2.042, allocations: 30.12 kB / 0.6666 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/2.042, allocations: 32 kB / 0.6666 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007103/2.043, allocations: 389.6 kB / 0.667 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/2.043, allocations: 0 / 0.667 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/2.043, allocations: 16 kB / 0.667 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/2.043, allocations: 11.94 kB / 0.667 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/2.043, allocations: 258.4 kB / 0.6672 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007962/2.051, allocations: 3.13 MB / 0.6703 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/2.053, allocations: 308.6 kB / 0.6706 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/2.053, allocations: 48.84 kB / 0.6706 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1675/2.221, allocations: 45.6 MB / 0.7152 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/2.221, allocations: 30.56 kB / 0.7152 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 2.023e-06/2.221, allocations: 4 kB / 0.7152 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.005691/2.226, allocations: 0.8345 MB / 0.716 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/2.226, allocations: 55.41 kB / 0.7161 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004373/2.227, allocations: 328.3 kB / 0.7164 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/2.227, allocations: 30.81 kB / 0.7164 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/2.227, allocations: 247.9 kB / 0.7167 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/2.227, allocations: 51.58 kB / 0.7167 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/2.227, allocations: 69.59 kB / 0.7168 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001526/2.227, allocations: 342.8 kB / 0.7171 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/2.228, allocations: 63.91 kB / 0.7172 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/2.228, allocations: 168.8 kB / 0.7173 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/2.228, allocations: 233.8 kB / 0.7175 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/2.228, allocations: 0 / 0.7175 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002645/2.231, allocations: 0.5584 MB / 0.7181 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/2.231, allocations: 8 kB / 0.7181 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/2.231, allocations: 4.219 kB / 0.7181 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008419/2.232, allocations: 154.4 kB / 0.7182 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/2.232, allocations: 39.92 kB / 0.7183 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008563/2.233, allocations: 0.6974 MB / 0.719 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/2.233, allocations: 31.78 kB / 0.719 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/2.233, allocations: 16.89 kB / 0.719 GB, free: 0.6211 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,StaticCentrifugalPump1.fluid,sinkP.fluid,sourceP.fluid1,sourceP.C.diff_on_2,StaticCentrifugalPump1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001907/2.233, allocations: 159 kB / 0.7192 GB, free: 468 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.511e-05/2.233, allocations: 31.75 kB / 0.7192 GB, free: 436 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.17/2.403, allocations: 478.2 kB / 0.7196 GB, free: 291.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/2.403, allocations: 2.531 kB / 0.7196 GB, free: 291.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/2.403, allocations: 0 / 0.7196 GB, free: 291.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/2.403, allocations: 1.891 kB / 0.7196 GB, free: 291.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/2.404, allocations: 244.4 kB / 0.7199 GB, free: 291.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/2.404, allocations: 1.094 kB / 0.7199 GB, free: 291.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/2.404, allocations: 5.312 kB / 0.7199 GB, free: 291.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007574/2.405, allocations: 152 kB / 0.72 GB, free: 291.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/2.405, allocations: 3.969 kB / 0.72 GB, free: 291.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006893/2.405, allocations: 0.685 MB / 0.7207 GB, free: 291 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/2.405, allocations: 1.875 kB / 0.7207 GB, free: 291 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/2.408, allocations: 464 kB / 0.7212 GB, free: 290.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/2.408, allocations: 49.95 kB / 0.7212 GB, free: 290.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/2.408, allocations: 7.234 kB / 0.7212 GB, free: 290.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/2.408, allocations: 6.062 kB / 0.7212 GB, free: 290.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/2.408, allocations: 12.23 kB / 0.7212 GB, free: 290.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/2.408, allocations: 2.5 kB / 0.7212 GB, free: 290.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002215/2.408, allocations: 224.3 kB / 0.7214 GB, free: 290.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/2.408, allocations: 0 / 0.7214 GB, free: 290.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003152/2.411, allocations: 1.463 MB / 0.7229 GB, free: 290.8 MB / 0.6544 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 (3): * Single equations (assignments): 2 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005309/2.417, allocations: 2.377 MB / 0.7252 GB, free: 290.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005908/2.417, allocations: 197.4 kB / 0.7254 GB, free: 290.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/2.417, allocations: 0 / 0.7254 GB, free: 290.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/2.417, allocations: 83.72 kB / 0.7255 GB, free: 290.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/2.418, allocations: 60.91 kB / 0.7255 GB, free: 290.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009265/2.419, allocations: 0.5602 MB / 0.7261 GB, free: 290.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/2.419, allocations: 189.4 kB / 0.7262 GB, free: 290.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.173e-05/2.419, allocations: 27.92 kB / 0.7263 GB, free: 290.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/2.419, allocations: 21.94 kB / 0.7263 GB, free: 290.2 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/2.419, allocations: 1.406 kB / 0.7263 GB, free: 290.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.04595/2.465, allocations: 45.84 MB / 0.7711 GB, free: 247.3 MB / 0.6544 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.610045593231916] Failed to read output from testmodel.py, exit status != 0: 2.584300633519888 2.593898026 0.5548892639999999 Calling exit ...