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.8682/0.8682, allocations: 153.8 MB / 173.4 MB, free: 4.922 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.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 0.0005498/0.0005498, allocations: 15.97 kB / 251.1 MB, free: 3.918 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.191, allocations: 33.36 MB / 284.5 MB, free: 2.105 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.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.921/2.112, allocations: 307.7 MB / 0.5783 GB, free: 16.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2392/2.351, allocations: 191 MB / 0.7648 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006309/2.352, allocations: 7.938 kB / 0.7648 GB, free: 5.855 MB / 0.6231 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.0002956/2.352, allocations: 47.45 kB / 0.7648 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0007619/2.353, allocations: 126.9 kB / 0.7649 GB, free: 5.684 MB / 0.6231 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.0413/2.394, allocations: 11.65 MB / 0.7763 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0008839/2.395, allocations: 442.5 kB / 0.7767 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/2.395, allocations: 189.4 kB / 0.7769 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/2.395, allocations: 183.2 kB / 0.7771 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/2.396, allocations: 191.1 kB / 0.7773 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.548e-05/2.396, allocations: 36 kB / 0.7773 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04113/2.437, allocations: 19.88 MB / 0.7967 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002402/2.437, allocations: 91.69 kB / 0.7968 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000312/2.437, allocations: 206.9 kB / 0.797 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02949/2.467, allocations: 9.778 MB / 0.8066 GB, free: 11.01 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/2.467, allocations: 8 kB / 0.8066 GB, free: 11 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.234e-06/2.467, allocations: 0 / 0.8066 GB, free: 11 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.007e-05/2.467, allocations: 0 / 0.8066 GB, free: 11 MB / 0.67 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.005642/2.472, allocations: 1.814 MB / 0.8083 GB, free: 9.141 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/2.473, allocations: 8.031 kB / 0.8083 GB, free: 9.133 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/2.473, allocations: 63.88 kB / 0.8084 GB, free: 9.074 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/2.473, allocations: 263.8 kB / 0.8087 GB, free: 8.793 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/2.473, allocations: 29.75 kB / 0.8087 GB, free: 8.766 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/2.473, allocations: 36 kB / 0.8087 GB, free: 8.73 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000696/2.474, allocations: 388.8 kB / 0.8091 GB, free: 8.324 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/2.474, allocations: 0 / 0.8091 GB, free: 8.324 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/2.474, allocations: 16 kB / 0.8091 GB, free: 8.309 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/2.474, allocations: 8 kB / 0.8091 GB, free: 8.301 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005711/2.475, allocations: 258.4 kB / 0.8094 GB, free: 8.051 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008403/2.483, allocations: 3.832 MB / 0.8131 GB, free: 4.02 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/2.485, allocations: 307.1 kB / 0.8134 GB, free: 3.711 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/2.485, allocations: 54.98 kB / 0.8134 GB, free: 3.656 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3465/2.831, allocations: 45.42 MB / 0.8578 GB, free: 297.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/2.831, allocations: 31.06 kB / 0.8578 GB, free: 297.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 2.244e-06/2.831, allocations: 0 / 0.8578 GB, free: 297.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.005102/2.836, allocations: 0.8391 MB / 0.8586 GB, free: 297.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/2.837, allocations: 53.16 kB / 0.8587 GB, free: 297.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/2.837, allocations: 370.7 kB / 0.8591 GB, free: 297.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/2.837, allocations: 29.7 kB / 0.8591 GB, free: 297.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/2.837, allocations: 245.3 kB / 0.8593 GB, free: 296.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/2.837, allocations: 51.86 kB / 0.8594 GB, free: 296.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/2.837, allocations: 76.41 kB / 0.8594 GB, free: 296.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.923e-05/2.837, allocations: 336.4 kB / 0.8598 GB, free: 296.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/2.837, allocations: 62.47 kB / 0.8598 GB, free: 296.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/2.838, allocations: 167 kB / 0.86 GB, free: 296.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/2.838, allocations: 242.8 kB / 0.8602 GB, free: 296.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/2.838, allocations: 2.125 kB / 0.8602 GB, free: 296.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00234/2.84, allocations: 0.5671 MB / 0.8608 GB, free: 296.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/2.84, allocations: 11.75 kB / 0.8608 GB, free: 296.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/2.84, allocations: 3.969 kB / 0.8608 GB, free: 296.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007989/2.841, allocations: 161.9 kB / 0.8609 GB, free: 296 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/2.841, allocations: 37.3 kB / 0.861 GB, free: 296 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006844/2.842, allocations: 0.6898 MB / 0.8616 GB, free: 295.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/2.842, allocations: 36.83 kB / 0.8617 GB, free: 295.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/2.842, allocations: 15.69 kB / 0.8617 GB, free: 295.4 MB / 0.6856 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.0001854/2.842, allocations: 161.3 kB / 0.8618 GB, free: 295.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/2.842, allocations: 39.64 kB / 0.8619 GB, free: 295.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/2.845, allocations: 474.1 kB / 0.8623 GB, free: 294.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/2.845, allocations: 0 / 0.8623 GB, free: 294.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/2.845, allocations: 0 / 0.8623 GB, free: 294.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/2.845, allocations: 7.938 kB / 0.8623 GB, free: 294.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/2.845, allocations: 332.5 kB / 0.8627 GB, free: 294.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/2.845, allocations: 0 / 0.8627 GB, free: 294.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/2.845, allocations: 7.984 kB / 0.8627 GB, free: 294.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006552/2.846, allocations: 150.8 kB / 0.8628 GB, free: 294.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/2.846, allocations: 0 / 0.8628 GB, free: 294.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006076/2.846, allocations: 0.6819 MB / 0.8635 GB, free: 293.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/2.846, allocations: 0 / 0.8635 GB, free: 293.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/2.848, allocations: 470.4 kB / 0.8639 GB, free: 293.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/2.849, allocations: 59.48 kB / 0.864 GB, free: 293.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/2.849, allocations: 11.69 kB / 0.864 GB, free: 293.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/2.849, allocations: 0 / 0.864 GB, free: 293.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/2.849, allocations: 15.8 kB / 0.864 GB, free: 293.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/2.849, allocations: 4 kB / 0.864 GB, free: 293.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002695/2.849, allocations: 268.5 kB / 0.8643 GB, free: 293 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/2.849, allocations: 0 / 0.8643 GB, free: 293 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003676/2.853, allocations: 1.449 MB / 0.8657 GB, free: 291.9 MB / 0.6856 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.00597/2.859, allocations: 2.2 MB / 0.8678 GB, free: 290.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007173/2.859, allocations: 188.1 kB / 0.868 GB, free: 290 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/2.859, allocations: 0 / 0.868 GB, free: 290 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/2.86, allocations: 75.67 kB / 0.8681 GB, free: 290 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/2.86, allocations: 69.3 kB / 0.8681 GB, free: 289.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/2.861, allocations: 0.62 MB / 0.8688 GB, free: 289.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/2.861, allocations: 0.7941 MB / 0.8695 GB, free: 288.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/2.861, allocations: 27.44 kB / 0.8696 GB, free: 288.5 MB / 0.6856 GB Notification: Performance of SimCode: time 3.21e-07/2.861, allocations: 0 / 0.8696 GB, free: 288.5 MB / 0.6856 GB Notification: Performance of Templates: time 0.03708/2.899, allocations: 29.08 MB / 0.898 GB, free: 260.1 MB / 0.6856 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: 12.41477942513302] Failed to read output from testmodel.py, exit status != 0: 3.0586267639882863 3.067334935 0.598122274 Calling exit ...