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 4.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo): time 0.4676/0.4676, allocations: 111.7 MB / 121.5 MB, free: 4.793 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08951/0.5571, allocations: 33.97 MB / 155.5 MB, free: 3.727 MB / 154.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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 1.743e-06/1.743e-06, allocations: 0 / 156.8 MB, free: 2.473 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.805e-05, allocations: 2.312 kB / 156.8 MB, free: 2.469 MB / 154.7 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.016/1.016, allocations: 233.4 MB / 390.2 MB, free: 2.613 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02874/1.044, allocations: 33.21 MB / 423.4 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/1.045, allocations: 8 kB / 423.4 MB, free: 1.27 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:33:3-34:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:35:3-36:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/BoundaryConditions/SinkP.mo:19:3-20:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] Notification: Performance of NFTyping.typeComponents: time 0.0002493/1.045, allocations: 110.8 kB / 423.5 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/1.045, allocations: 131 kB / 423.6 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01535/1.06, allocations: 8.631 MB / 432.3 MB, free: 8.363 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004742/1.061, allocations: 422.1 kB / 432.7 MB, free: 7.949 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/1.061, allocations: 110.8 kB / 432.8 MB, free: 7.844 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/1.061, allocations: 263.2 kB / 433 MB, free: 7.586 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/1.061, allocations: 103.6 kB / 433.1 MB, free: 7.484 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/1.061, allocations: 24 kB / 433.2 MB, free: 7.461 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh1satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh2satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du1satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du2satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.02212/1.084, allocations: 18.1 MB / 451.3 MB, free: 5.344 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/1.084, allocations: 47.75 kB / 451.3 MB, free: 5.297 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/1.084, allocations: 87.81 kB / 451.4 MB, free: 5.211 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01535/1.099, allocations: 8.254 MB / 459.6 MB, free: 12.94 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.712e-05/1.099, allocations: 0 / 459.6 MB, free: 12.94 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.533e-06/1.099, allocations: 0 / 459.6 MB, free: 12.94 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/1.099, allocations: 0 / 459.6 MB, free: 12.94 MB / 458.7 MB 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.003427/1.103, allocations: 2.051 MB / 461.7 MB, free: 10.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/1.103, allocations: 12.62 kB / 461.7 MB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/1.103, allocations: 39.97 kB / 461.8 MB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/1.103, allocations: 172.7 kB / 461.9 MB, free: 10.59 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/1.103, allocations: 16.5 kB / 461.9 MB, free: 10.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/1.103, allocations: 24 kB / 462 MB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/1.103, allocations: 263.2 kB / 462.2 MB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/1.103, allocations: 0 / 462.2 MB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.103, allocations: 4 kB / 462.2 MB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/1.103, allocations: 16 kB / 462.2 MB, free: 10.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.859e-05/1.103, allocations: 98.5 kB / 462.3 MB, free: 10.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/1.117, allocations: 9.18 MB / 471.5 MB, free: 0.9102 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/1.117, allocations: 161.6 kB / 471.7 MB, free: 0.7461 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.495e-05/1.117, allocations: 44.83 kB / 471.7 MB, free: 0.6992 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0608/1.178, allocations: 39.05 MB / 0.4988 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.178, allocations: 30.56 kB / 0.4988 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=41): time 2.545e-06/1.178, allocations: 0 / 0.4988 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41): time 0.001079/1.179, allocations: 406.8 kB / 0.4992 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/1.179, allocations: 55.41 kB / 0.4993 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/1.179, allocations: 207.3 kB / 0.4995 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/1.179, allocations: 25.7 kB / 0.4995 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/1.18, allocations: 152.6 kB / 0.4996 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/1.18, allocations: 142.7 kB / 0.4998 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/1.18, allocations: 61.61 kB / 0.4998 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.755e-05/1.18, allocations: 334.8 kB / 0.5001 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/1.18, allocations: 35.31 kB / 0.5002 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/1.18, allocations: 83.17 kB / 0.5003 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/1.18, allocations: 155.6 kB / 0.5004 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.18, allocations: 0 / 0.5004 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000566/1.181, allocations: 296.3 kB / 0.5007 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.181, allocations: 8 kB / 0.5007 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.181, allocations: 0 / 0.5007 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003235/1.181, allocations: 185 kB / 0.5009 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/1.181, allocations: 23.92 kB / 0.5009 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003497/1.181, allocations: 0.6304 MB / 0.5015 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.42e-05/1.181, allocations: 31.73 kB / 0.5015 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/1.181, allocations: 4 kB / 0.5015 GB, free: 6.645 MB / 0.4948 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 (StaticCentrifugalPump1.C1.a,StaticCentrifugalPump1.C2.b,sourceP.C.b,sinkP.C.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 7.533e-05/1.181, allocations: 121.7 kB / 0.5017 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/1.181, allocations: 19.97 kB / 0.5017 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006069/1.182, allocations: 0.6569 MB / 0.5023 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001211/1.182, allocations: 157.8 kB / 0.5025 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/1.182, allocations: 3.938 kB / 0.5025 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.182, allocations: 48 / 0.5025 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/1.183, allocations: 0.5562 MB / 0.503 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.183, allocations: 0 / 0.503 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-05/1.183, allocations: 31.98 kB / 0.5031 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/1.183, allocations: 27.8 kB / 0.5031 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002608/1.183, allocations: 158 kB / 0.5032 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/1.183, allocations: 7.938 kB / 0.5032 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003085/1.183, allocations: 0.6437 MB / 0.5039 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.183, allocations: 0 / 0.5039 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/1.184, allocations: 328.5 kB / 0.5042 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/1.184, allocations: 8 kB / 0.5042 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.065e-05/1.184, allocations: 4 kB / 0.5042 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/1.184, allocations: 19.91 kB / 0.5042 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/1.184, allocations: 0 / 0.5042 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.463e-05/1.184, allocations: 102.8 kB / 0.5043 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/1.184, allocations: 4 kB / 0.5043 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002168/1.186, allocations: 1.22 MB / 0.5055 GB, free: 2.41 MB / 0.4948 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.003065/1.189, allocations: 2.051 MB / 0.5075 GB, free: 360 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003368/1.189, allocations: 219.7 kB / 0.5077 GB, free: 132 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.189, allocations: 8 kB / 0.5077 GB, free: 124 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/1.189, allocations: 99.84 kB / 0.5078 GB, free: 24 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1465/1.336, allocations: 134.2 kB / 0.5079 GB, free: 79.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/1.339, allocations: 0.5807 MB / 0.5085 GB, free: 79.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.757e-05/1.34, allocations: 93.25 kB / 0.5086 GB, free: 79.42 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.054e-05/1.34, allocations: 22.88 kB / 0.5086 GB, free: 79.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/1.34, allocations: 111.2 kB / 0.5087 GB, free: 79.38 MB / 0.4948 GB Notification: Performance of SimCode: time 1.293e-06/1.34, allocations: 0 / 0.5087 GB, free: 79.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.04176/1.382, allocations: 49.97 MB / 0.5575 GB, free: 54.86 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06365/1.445, allocations: 53.74 MB / 0.61 GB, free: 14.62 MB / 0.4948 GB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.784009211696684]