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.839/0.839, allocations: 120.4 MB / 140.1 MB, free: 40 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 0.0005358/0.0005358, allocations: 9.422 kB / 217.7 MB, free: 13.52 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06074/0.06127, allocations: 33.37 MB / 251.1 MB, free: 13.3 MB / 238.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.775/1.836, allocations: 254.2 MB / 0.4934 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2123/2.048, allocations: 164.8 MB / 0.6543 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003093/2.048, allocations: 11.88 kB / 0.6543 GB, free: 15.64 MB / 0.6075 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.0001674/2.049, allocations: 48.16 kB / 0.6544 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003905/2.049, allocations: 130.9 kB / 0.6545 GB, free: 15.46 MB / 0.6075 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.03142/2.08, allocations: 11.47 MB / 0.6657 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006833/2.081, allocations: 438.5 kB / 0.6661 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/2.081, allocations: 193.2 kB / 0.6663 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/2.082, allocations: 179.4 kB / 0.6665 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/2.082, allocations: 167.1 kB / 0.6666 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/2.082, allocations: 36 kB / 0.6667 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.036/2.118, allocations: 18.52 MB / 0.6848 GB, free: 456 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/2.118, allocations: 91.69 kB / 0.6848 GB, free: 364 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002602/2.118, allocations: 179.1 kB / 0.685 GB, free: 184 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02298/2.141, allocations: 9.778 MB / 0.6946 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/2.141, allocations: 0 / 0.6946 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.944e-06/2.141, allocations: 0 / 0.6946 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.298e-06/2.141, allocations: 0 / 0.6946 GB, free: 6.375 MB / 0.6387 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.004757/2.146, allocations: 1.799 MB / 0.6963 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/2.146, allocations: 12.03 kB / 0.6963 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/2.146, allocations: 55.7 kB / 0.6964 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/2.147, allocations: 267.8 kB / 0.6966 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/2.147, allocations: 29 kB / 0.6967 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/2.147, allocations: 32 kB / 0.6967 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/2.147, allocations: 390.2 kB / 0.6971 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/2.147, allocations: 7.938 kB / 0.6971 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/2.148, allocations: 16 kB / 0.6971 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/2.148, allocations: 8 kB / 0.6971 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005687/2.148, allocations: 254.4 kB / 0.6973 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0081/2.156, allocations: 3.152 MB / 0.7004 GB, free: 236 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/2.158, allocations: 300 kB / 0.7007 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/2.158, allocations: 52.83 kB / 0.7008 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1686/2.327, allocations: 45.61 MB / 0.7453 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/2.327, allocations: 34.56 kB / 0.7453 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/2.327, allocations: 4 kB / 0.7453 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.005458/2.332, allocations: 0.8323 MB / 0.7461 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/2.332, allocations: 51.41 kB / 0.7462 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/2.333, allocations: 336.3 kB / 0.7465 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/2.333, allocations: 25.7 kB / 0.7465 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/2.333, allocations: 240 kB / 0.7468 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/2.333, allocations: 55.56 kB / 0.7468 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/2.333, allocations: 65.66 kB / 0.7469 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001666/2.333, allocations: 338.8 kB / 0.7472 GB, free: 204 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/2.333, allocations: 67.94 kB / 0.7473 GB, free: 136 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1667/2.5, allocations: 166.9 kB / 0.7474 GB, free: 313.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/2.501, allocations: 237.4 kB / 0.7477 GB, free: 313 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/2.501, allocations: 1.156 kB / 0.7477 GB, free: 313 MB / 0.6856 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002498/2.503, allocations: 0.5552 MB / 0.7482 GB, free: 312.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/2.503, allocations: 13 kB / 0.7482 GB, free: 312.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/2.503, allocations: 4 kB / 0.7482 GB, free: 312.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007752/2.504, allocations: 155.2 kB / 0.7484 GB, free: 312.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/2.504, allocations: 34.77 kB / 0.7484 GB, free: 312.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006504/2.505, allocations: 0.6932 MB / 0.7491 GB, free: 312.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/2.505, allocations: 30.64 kB / 0.7491 GB, free: 312.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/2.505, allocations: 14.25 kB / 0.7491 GB, free: 312.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.0001671/2.505, allocations: 167 kB / 0.7493 GB, free: 312.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/2.505, allocations: 37.11 kB / 0.7493 GB, free: 312.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/2.507, allocations: 474.3 kB / 0.7498 GB, free: 312.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/2.507, allocations: 3.938 kB / 0.7498 GB, free: 312.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/2.507, allocations: 0 / 0.7498 GB, free: 312.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/2.507, allocations: 0 / 0.7498 GB, free: 312.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/2.508, allocations: 251 kB / 0.75 GB, free: 312.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/2.508, allocations: 0 / 0.75 GB, free: 312.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/2.508, allocations: 12.5 kB / 0.75 GB, free: 312.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006637/2.508, allocations: 150.3 kB / 0.7502 GB, free: 312.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/2.508, allocations: 1.125 kB / 0.7502 GB, free: 312.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005573/2.509, allocations: 0.6811 MB / 0.7508 GB, free: 311.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/2.509, allocations: 4.359 kB / 0.7508 GB, free: 311.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/2.511, allocations: 473 kB / 0.7513 GB, free: 311.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/2.511, allocations: 46.59 kB / 0.7513 GB, free: 311.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/2.511, allocations: 10.81 kB / 0.7513 GB, free: 311.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/2.511, allocations: 6.891 kB / 0.7514 GB, free: 311.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/2.511, allocations: 6.25 kB / 0.7514 GB, free: 311.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/2.511, allocations: 7.375 kB / 0.7514 GB, free: 311.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001898/2.512, allocations: 221.1 kB / 0.7516 GB, free: 311.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/2.512, allocations: 1.594 kB / 0.7516 GB, free: 311.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00304/2.515, allocations: 1.461 MB / 0.753 GB, free: 311.2 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.005172/2.52, allocations: 2.184 MB / 0.7551 GB, free: 311 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005692/2.52, allocations: 194.3 kB / 0.7553 GB, free: 311 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/2.52, allocations: 0 / 0.7553 GB, free: 311 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/2.521, allocations: 80.89 kB / 0.7554 GB, free: 311 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/2.521, allocations: 66.23 kB / 0.7555 GB, free: 310.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008769/2.522, allocations: 0.5937 MB / 0.756 GB, free: 310.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/2.522, allocations: 189 kB / 0.7562 GB, free: 310.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 9.909e-05/2.522, allocations: 31.48 kB / 0.7563 GB, free: 310.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/2.522, allocations: 24.81 kB / 0.7563 GB, free: 310.5 MB / 0.6856 GB Notification: Performance of SimCode: time 3.3e-07/2.522, allocations: 0 / 0.7563 GB, free: 310.5 MB / 0.6856 GB Notification: Performance of Templates: time 0.04674/2.569, allocations: 45.59 MB / 0.8008 GB, free: 276.7 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 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.76135737891309] Failed to read output from testmodel.py, exit status != 0: 2.689439398003742 2.698522826 0.554914387 Calling exit ...