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.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8433/0.8433, allocations: 152.6 MB / 171.4 MB, free: 5.996 MB / 142.1 MB
"
[Timeout remaining time 179]
Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.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 0.0005047/0.0005047, allocations: 19.97 kB / 248.5 MB, free: 5.633 MB / 206.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1626, allocations: 33.05 MB / 281.6 MB, free: 3.566 MB / 222.1 MB
Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica.
Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica.
Notification: Automatically loaded package Modelica 4.0.0 due to usage.
Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.561/1.723, allocations: 301.5 MB / 0.5694 GB, free: 5.395 MB / 478.1 MB
Notification: Performance of NFInst.instExpressions: time 0.2911/2.014, allocations: 34.62 MB / 0.6032 GB, free: 6.039 MB / 478.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/2.014, allocations: 1.688 kB / 0.6032 GB, free: 6.039 MB / 478.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0).
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:63:3-65:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0).
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0).
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0).
Notification: Performance of NFTyping.typeComponents: time 0.0003272/2.015, allocations: 136.7 kB / 0.6033 GB, free: 5.973 MB / 478.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001758/2.015, allocations: 121.9 kB / 0.6034 GB, free: 5.887 MB / 478.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.
Notification: Performance of NFTyping.typeClassSections: time 0.02427/2.039, allocations: 9.83 MB / 0.613 GB, free: 1.293 MB / 478.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005399/2.04, allocations: 408.5 kB / 0.6134 GB, free: 1.047 MB / 478.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/2.04, allocations: 110 kB / 0.6135 GB, free: 0.9766 MB / 478.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000206/2.04, allocations: 174.1 kB / 0.6137 GB, free: 0.8711 MB / 478.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/2.04, allocations: 132.4 kB / 0.6138 GB, free: 0.7852 MB / 478.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.27e-05/2.04, allocations: 23.06 kB / 0.6138 GB, free: 0.7852 MB / 478.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.03451/2.075, allocations: 17.9 MB / 0.6313 GB, free: 1.16 MB / 494.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001036/2.075, allocations: 56.27 kB / 0.6314 GB, free: 1.105 MB / 494.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002591/2.075, allocations: 162.2 kB / 0.6315 GB, free: 0.9492 MB / 494.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.02098/2.096, allocations: 8.467 MB / 0.6398 GB, free: 8.457 MB / 0.4981 GB
Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/2.096, allocations: 1.125 kB / 0.6398 GB, free: 8.457 MB / 0.4981 GB
Notification: Performance of FrontEnd: time 1.383e-06/2.096, allocations: 0 / 0.6398 GB, free: 8.457 MB / 0.4981 GB
Notification: Performance of Transformations before backend: time 7.434e-06/2.096, allocations: 0 / 0.6398 GB, free: 8.457 MB / 0.4981 GB
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.004186/2.1, allocations: 1.464 MB / 0.6412 GB, free: 6.957 MB / 0.4981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/2.1, allocations: 8.031 kB / 0.6412 GB, free: 6.949 MB / 0.4981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/2.101, allocations: 36.98 kB / 0.6413 GB, free: 6.914 MB / 0.4981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/2.101, allocations: 196.6 kB / 0.6415 GB, free: 6.695 MB / 0.4981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/2.101, allocations: 28.38 kB / 0.6415 GB, free: 6.668 MB / 0.4981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/2.101, allocations: 18.84 kB / 0.6415 GB, free: 6.652 MB / 0.4981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/2.101, allocations: 336.4 kB / 0.6418 GB, free: 6.293 MB / 0.4981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/2.102, allocations: 4.469 kB / 0.6418 GB, free: 6.289 MB / 0.4981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/2.102, allocations: 13.06 kB / 0.6418 GB, free: 6.277 MB / 0.4981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/2.102, allocations: 13.45 kB / 0.6418 GB, free: 6.266 MB / 0.4981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/2.102, allocations: 224 kB / 0.6421 GB, free: 6.051 MB / 0.4981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03469/2.137, allocations: 11.23 MB / 0.653 GB, free: 10.68 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/2.137, allocations: 178.5 kB / 0.6532 GB, free: 10.49 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/2.137, allocations: 101.3 kB / 0.6533 GB, free: 10.39 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.1409/2.278, allocations: 42.46 MB / 0.6948 GB, free: 15.9 MB / 0.5606 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/2.278, allocations: 34.5 kB / 0.6948 GB, free: 15.86 MB / 0.5606 GB
Notification: Performance of pre-optimization done (n=41): time 1.943e-06/2.278, allocations: 0.6562 kB / 0.6948 GB, free: 15.86 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=41): time 0.004334/2.283, allocations: 0.8663 MB / 0.6956 GB, free: 14.98 MB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/2.283, allocations: 59.34 kB / 0.6957 GB, free: 14.91 MB / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/2.283, allocations: 245.9 kB / 0.6959 GB, free: 14.66 MB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 2.289e-05/2.283, allocations: 25.7 kB / 0.696 GB, free: 14.62 MB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000133/2.283, allocations: 164.8 kB / 0.6961 GB, free: 14.46 MB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001173/2.283, allocations: 142.7 kB / 0.6963 GB, free: 14.32 MB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.485e-05/2.283, allocations: 58.55 kB / 0.6963 GB, free: 14.26 MB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 0.0001685/2.283, allocations: 338.8 kB / 0.6966 GB, free: 13.92 MB / 0.5606 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/2.284, allocations: 96.41 kB / 0.6967 GB, free: 13.82 MB / 0.5606 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/2.284, allocations: 152.4 kB / 0.6969 GB, free: 13.66 MB / 0.5606 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/2.284, allocations: 269.4 kB / 0.6971 GB, free: 13.38 MB / 0.5606 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/2.284, allocations: 3.938 kB / 0.6971 GB, free: 13.38 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=49) (initialization): time 0.002444/2.287, allocations: 0.6067 MB / 0.6977 GB, free: 12.77 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/2.287, allocations: 8 kB / 0.6977 GB, free: 12.76 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/2.287, allocations: 0 / 0.6977 GB, free: 12.76 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008331/2.288, allocations: 223.6 kB / 0.6979 GB, free: 12.54 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/2.288, allocations: 19.92 kB / 0.698 GB, free: 12.52 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009463/2.289, allocations: 0.7441 MB / 0.6987 GB, free: 11.75 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/2.289, allocations: 40.69 kB / 0.6987 GB, free: 11.71 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/2.289, allocations: 8 kB / 0.6987 GB, free: 11.7 MB / 0.5606 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 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.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 0.0001664/2.289, allocations: 146.3 kB / 0.6989 GB, free: 11.55 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/2.289, allocations: 28.84 kB / 0.6989 GB, free: 11.52 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/2.29, allocations: 0.774 MB / 0.6997 GB, free: 10.68 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005157/2.291, allocations: 290.3 kB / 0.6999 GB, free: 10.39 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/2.291, allocations: 7.922 kB / 0.6999 GB, free: 10.38 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/2.291, allocations: 0 / 0.6999 GB, free: 10.38 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/2.292, allocations: 0.8344 MB / 0.7008 GB, free: 9.492 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/2.292, allocations: 0 / 0.7008 GB, free: 9.492 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.962e-05/2.292, allocations: 19.98 kB / 0.7008 GB, free: 9.473 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0006955/2.293, allocations: 208.4 kB / 0.701 GB, free: 9.27 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/2.293, allocations: 11.98 kB / 0.701 GB, free: 9.258 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008699/2.294, allocations: 0.7573 MB / 0.7017 GB, free: 8.477 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/2.294, allocations: 0 / 0.7017 GB, free: 8.477 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006569/2.294, allocations: 424 kB / 0.7021 GB, free: 8.043 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.451e-05/2.295, allocations: 43.72 kB / 0.7022 GB, free: 8 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/2.295, allocations: 15.89 kB / 0.7022 GB, free: 7.984 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/2.295, allocations: 8 kB / 0.7022 GB, free: 7.977 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/2.295, allocations: 15.97 kB / 0.7022 GB, free: 7.961 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/2.295, allocations: 4.938 kB / 0.7022 GB, free: 7.957 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.0003006/2.295, allocations: 259 kB / 0.7025 GB, free: 7.699 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 7e-08/2.295, allocations: 0 / 0.7025 GB, free: 7.699 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.00312/2.298, allocations: 1.196 MB / 0.7036 GB, free: 6.5 MB / 0.5606 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.005689/2.304, allocations: 1.748 MB / 0.7053 GB, free: 4.777 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.0008336/2.305, allocations: 291.3 kB / 0.7056 GB, free: 4.488 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 2.374e-06/2.305, allocations: 0 / 0.7056 GB, free: 4.488 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003558/2.305, allocations: 133.3 kB / 0.7057 GB, free: 4.359 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007486/2.306, allocations: 128.2 kB / 0.7059 GB, free: 4.254 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/2.307, allocations: 0.6175 MB / 0.7065 GB, free: 3.617 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/2.308, allocations: 0.7806 MB / 0.7072 GB, free: 2.812 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.0001094/2.308, allocations: 25.39 kB / 0.7073 GB, free: 2.785 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/2.308, allocations: 23.44 kB / 0.7073 GB, free: 2.762 MB / 0.5606 GB
Notification: Performance of SimCode: time 4.3e-07/2.308, allocations: 0 / 0.7073 GB, free: 2.762 MB / 0.5606 GB
Notification: Performance of Templates: time 0.0674/2.375, allocations: 43.65 MB / 0.7499 GB, free: 7.562 MB / 0.6075 GB
"
[Timeout remaining time 657]
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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 8.391425454057753]
Failed to read output from testmodel.py, exit status != 0:
2.5443240767344832 2.767648482 0.6677049469999999
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7feb9a2457b0>