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.9217/0.9217, 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.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.0007912/0.0007912, allocations: 7.984 kB / 251 MB, free: 3.891 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1801, allocations: 33.36 MB / 284.4 MB, free: 2.059 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.883/2.064, allocations: 307.7 MB / 0.5782 GB, free: 17.2 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2079/2.272, allocations: 164.8 MB / 0.7391 GB, free: 200 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003377/2.272, allocations: 11.88 kB / 0.7391 GB, free: 188 kB / 0.5919 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.0001873/2.272, allocations: 44.22 kB / 0.7392 GB, free: 144 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004503/2.272, allocations: 138.8 kB / 0.7393 GB, free: 4 kB / 0.5919 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.03121/2.304, allocations: 11.46 MB / 0.7505 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007507/2.304, allocations: 438.5 kB / 0.7509 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/2.305, allocations: 185.3 kB / 0.7511 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/2.305, allocations: 183.3 kB / 0.7513 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/2.305, allocations: 171.1 kB / 0.7514 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/2.305, allocations: 36 kB / 0.7515 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03649/2.342, allocations: 18.52 MB / 0.7696 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002025/2.342, allocations: 95.67 kB / 0.7697 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002567/2.342, allocations: 179.1 kB / 0.7698 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02474/2.367, allocations: 9.778 MB / 0.7794 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/2.367, allocations: 0 / 0.7794 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.793e-06/2.367, allocations: 0 / 0.7794 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.008e-05/2.367, allocations: 0 / 0.7794 GB, free: 6.93 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.005137/2.372, allocations: 1.803 MB / 0.7811 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/2.372, allocations: 8.031 kB / 0.7811 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/2.372, allocations: 55.72 kB / 0.7812 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/2.373, allocations: 263.8 kB / 0.7814 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/2.373, allocations: 29.88 kB / 0.7815 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/2.373, allocations: 41.06 kB / 0.7815 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/2.374, allocations: 384.9 kB / 0.7819 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/2.374, allocations: 4 kB / 0.7819 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/2.374, allocations: 21.77 kB / 0.7819 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/2.374, allocations: 8 kB / 0.7819 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005554/2.374, allocations: 254.4 kB / 0.7822 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00831/2.382, allocations: 3.157 MB / 0.7852 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/2.384, allocations: 290.5 kB / 0.7855 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/2.384, allocations: 58.7 kB / 0.7856 GB, free: 444 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1647/2.549, allocations: 45.59 MB / 0.8301 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/2.549, allocations: 42.5 kB / 0.8301 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 2.234e-06/2.549, allocations: 0 / 0.8301 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.005211/2.554, allocations: 0.8311 MB / 0.831 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/2.554, allocations: 59.34 kB / 0.831 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/2.555, allocations: 332.3 kB / 0.8313 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/2.555, allocations: 29.7 kB / 0.8314 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/2.555, allocations: 244 kB / 0.8316 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/2.555, allocations: 51.53 kB / 0.8316 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/2.555, allocations: 69.64 kB / 0.8317 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001578/2.555, allocations: 334.8 kB / 0.832 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/2.555, allocations: 67.95 kB / 0.8321 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/2.556, allocations: 168.8 kB / 0.8322 GB, free: 496 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/2.556, allocations: 238.9 kB / 0.8325 GB, free: 212 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/2.556, allocations: 0 / 0.8325 GB, free: 212 kB / 0.6856 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.185/2.741, allocations: 0.5508 MB / 0.833 GB, free: 303 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/2.741, allocations: 11.44 kB / 0.833 GB, free: 303 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/2.741, allocations: 2.844 kB / 0.833 GB, free: 303 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007849/2.742, allocations: 159 kB / 0.8332 GB, free: 303 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/2.742, allocations: 42.08 kB / 0.8332 GB, free: 303 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006587/2.743, allocations: 0.694 MB / 0.8339 GB, free: 302.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/2.743, allocations: 28.53 kB / 0.8339 GB, free: 302.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/2.743, allocations: 15.16 kB / 0.8339 GB, free: 302.5 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.0001669/2.743, allocations: 162.5 kB / 0.8341 GB, free: 302.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/2.743, allocations: 28.22 kB / 0.8341 GB, free: 302.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/2.746, allocations: 481.4 kB / 0.8346 GB, free: 302.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/2.746, allocations: 1.312 kB / 0.8346 GB, free: 302.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/2.746, allocations: 1.641 kB / 0.8346 GB, free: 302.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/2.746, allocations: 5.562 kB / 0.8346 GB, free: 302.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/2.746, allocations: 244.4 kB / 0.8348 GB, free: 302.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/2.746, allocations: 4.125 kB / 0.8348 GB, free: 302.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/2.746, allocations: 15.48 kB / 0.8348 GB, free: 302.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007205/2.747, allocations: 146.6 kB / 0.835 GB, free: 302.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/2.747, allocations: 1 kB / 0.835 GB, free: 302.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000597/2.747, allocations: 0.6917 MB / 0.8357 GB, free: 301.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/2.747, allocations: 0.6875 kB / 0.8357 GB, free: 301.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/2.749, allocations: 467.7 kB / 0.8361 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/2.749, allocations: 53.52 kB / 0.8362 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/2.75, allocations: 4.844 kB / 0.8362 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/2.75, allocations: 5.75 kB / 0.8362 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/2.75, allocations: 9.438 kB / 0.8362 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/2.75, allocations: 9.875 kB / 0.8362 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002194/2.75, allocations: 221.5 kB / 0.8364 GB, free: 301.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.1e-08/2.75, allocations: 0 / 0.8364 GB, free: 301.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003377/2.753, allocations: 1.457 MB / 0.8378 GB, free: 301.5 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.005983/2.759, allocations: 2.19 MB / 0.84 GB, free: 301.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007109/2.76, allocations: 188.7 kB / 0.8401 GB, free: 301.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/2.76, allocations: 1.906 kB / 0.8401 GB, free: 301.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002423/2.76, allocations: 76.11 kB / 0.8402 GB, free: 301.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/2.761, allocations: 65.97 kB / 0.8403 GB, free: 301.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/2.762, allocations: 0.6274 MB / 0.8409 GB, free: 301.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/2.762, allocations: 186.9 kB / 0.8411 GB, free: 301 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/2.762, allocations: 23.75 kB / 0.8411 GB, free: 301 MB / 0.6856 GB Notification: Performance of SimCode: time 3.4e-07/2.762, allocations: 0.75 kB / 0.8411 GB, free: 301 MB / 0.6856 GB Notification: Performance of Templates: time 0.0361/2.798, allocations: 28.99 MB / 0.8694 GB, free: 289.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.081721773836762] Failed to read output from testmodel.py, exit status != 0: 2.9303850466385484 2.943089697 0.572655746 Calling exit ...