Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.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.8872/0.8872, allocations: 152.6 MB / 171.4 MB, free: 6.02 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.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine")
translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.0006/0.0006, allocations: 11.97 kB / 248.5 MB, free: 5.648 MB / 206.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1774, allocations: 33.05 MB / 281.6 MB, free: 3.57 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.TestSteamEngine): time 1.61/1.787, allocations: 301.3 MB / 0.5692 GB, free: 5.398 MB / 478.1 MB
Notification: Performance of NFInst.instExpressions: time 0.2813/2.069, allocations: 29.11 MB / 0.5977 GB, free: 9.965 MB / 478.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/2.069, allocations: 2.281 kB / 0.5977 GB, free: 9.965 MB / 478.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/SteamEngine.mo:35:3-37:17: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/SteamEngine.mo:38:3-39:44: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/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).
[/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).
Notification: Performance of NFTyping.typeComponents: time 0.0005571/2.069, allocations: 232.5 kB / 0.5979 GB, free: 9.898 MB / 478.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002253/2.07, allocations: 160.5 kB / 0.598 GB, free: 9.848 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/WaterSteam/IF97_packages.mo:1445:9-1445:35:writable] Warning: h 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.02534/2.095, allocations: 9.685 MB / 0.6075 GB, free: 5.844 MB / 478.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005704/2.096, allocations: 430.9 kB / 0.6079 GB, free: 5.586 MB / 478.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/2.096, allocations: 107.3 kB / 0.608 GB, free: 5.523 MB / 478.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/2.096, allocations: 178.5 kB / 0.6082 GB, free: 5.418 MB / 478.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/2.096, allocations: 142.4 kB / 0.6083 GB, free: 5.332 MB / 478.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.285e-05/2.096, allocations: 19.56 kB / 0.6083 GB, free: 5.332 MB / 478.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.03899/2.135, allocations: 20.54 MB / 0.6284 GB, free: 4.043 MB / 494.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001508/2.135, allocations: 51.78 kB / 0.6285 GB, free: 3.992 MB / 494.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003001/2.136, allocations: 155.2 kB / 0.6286 GB, free: 3.84 MB / 494.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.02214/2.158, allocations: 8.599 MB / 0.637 GB, free: 11.22 MB / 0.4981 GB
Notification: Performance of FrontEnd - DAE generated: time 9.497e-06/2.158, allocations: 3.984 kB / 0.637 GB, free: 11.21 MB / 0.4981 GB
Notification: Performance of FrontEnd: time 2.044e-06/2.158, allocations: 0.625 kB / 0.637 GB, free: 11.21 MB / 0.4981 GB
Notification: Performance of Transformations before backend: time 9.648e-06/2.158, allocations: 0.75 kB / 0.637 GB, free: 11.21 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: 95
 * Number of variables: 95
Notification: Performance of Generate backend data structure: time 0.00478/2.163, allocations: 1.378 MB / 0.6384 GB, free: 9.801 MB / 0.4981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/2.163, allocations: 12.03 kB / 0.6384 GB, free: 9.789 MB / 0.4981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.163e-05/2.163, allocations: 35 kB / 0.6384 GB, free: 9.758 MB / 0.4981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/2.163, allocations: 189.9 kB / 0.6386 GB, free: 9.547 MB / 0.4981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/2.163, allocations: 13.56 kB / 0.6386 GB, free: 9.535 MB / 0.4981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/2.163, allocations: 27.94 kB / 0.6386 GB, free: 9.508 MB / 0.4981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/2.163, allocations: 353.8 kB / 0.639 GB, free: 9.141 MB / 0.4981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/2.163, allocations: 0 / 0.639 GB, free: 9.141 MB / 0.4981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/2.164, allocations: 8 kB / 0.639 GB, free: 9.133 MB / 0.4981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/2.164, allocations: 21.2 kB / 0.639 GB, free: 9.113 MB / 0.4981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/2.164, allocations: 214.2 kB / 0.6392 GB, free: 8.906 MB / 0.4981 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02075/2.185, allocations: 6.474 MB / 0.6455 GB, free: 2.293 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/2.185, allocations: 115.5 kB / 0.6456 GB, free: 2.172 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/2.185, allocations: 81.72 kB / 0.6457 GB, free: 2.09 MB / 0.4981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.1226/2.308, allocations: 32.18 MB / 0.6771 GB, free: 1.887 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/2.308, allocations: 48.16 kB / 0.6772 GB, free: 1.832 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=52): time 2.194e-06/2.308, allocations: 0 / 0.6772 GB, free: 1.832 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=52): time 0.001176/2.309, allocations: 444.7 kB / 0.6776 GB, free: 1.391 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/2.309, allocations: 59.39 kB / 0.6776 GB, free: 1.32 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/2.309, allocations: 232 kB / 0.6779 GB, free: 1.078 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 2.383e-05/2.309, allocations: 29.7 kB / 0.6779 GB, free: 1.043 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001129/2.309, allocations: 149.1 kB / 0.678 GB, free: 0.8906 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 0.000136/2.309, allocations: 179.3 kB / 0.6782 GB, free: 0.7148 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.008e-05/2.309, allocations: 53.69 kB / 0.6783 GB, free: 0.6562 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001539/2.31, allocations: 346.8 kB / 0.6786 GB, free: 316 kB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/2.31, allocations: 88.47 kB / 0.6787 GB, free: 228 kB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/2.31, allocations: 141.5 kB / 0.6788 GB, free: 68 kB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/2.31, allocations: 267 kB / 0.6791 GB, free: 15.79 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/2.31, allocations: 0 / 0.6791 GB, free: 15.79 MB / 0.545 GB
Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005442/2.311, allocations: 342.4 kB / 0.6794 GB, free: 15.45 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/2.311, allocations: 8 kB / 0.6794 GB, free: 15.44 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/2.311, allocations: 0 / 0.6794 GB, free: 15.44 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003091/2.311, allocations: 115.1 kB / 0.6795 GB, free: 15.32 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/2.311, allocations: 8 kB / 0.6795 GB, free: 15.32 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005262/2.312, allocations: 0.6108 MB / 0.6801 GB, free: 14.68 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/2.312, allocations: 35.66 kB / 0.6801 GB, free: 14.64 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/2.312, allocations: 8 kB / 0.6802 GB, free: 14.64 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 4 (sourceP.C.b,puitsP.C.a,steamEngine1.C2.b,steamEngine1.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): 8
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 4
 * 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
   {(1,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.0001551/2.312, allocations: 150.6 kB / 0.6803 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/2.312, allocations: 23.81 kB / 0.6803 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009838/2.313, allocations: 0.8028 MB / 0.6811 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000572/2.314, allocations: 384.7 kB / 0.6815 GB, free: 13.23 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/2.314, allocations: 0 / 0.6815 GB, free: 13.23 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/2.314, allocations: 0 / 0.6815 GB, free: 13.23 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/2.316, allocations: 1.447 MB / 0.6829 GB, free: 11.67 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/2.316, allocations: 8.656 kB / 0.6829 GB, free: 11.66 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/2.316, allocations: 59.92 kB / 0.683 GB, free: 11.6 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001858/2.316, allocations: 97.36 kB / 0.683 GB, free: 11.5 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/2.316, allocations: 12 kB / 0.6831 GB, free: 11.49 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004906/2.317, allocations: 0.6462 MB / 0.6837 GB, free: 10.82 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/2.317, allocations: 8.562 kB / 0.6837 GB, free: 10.81 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007441/2.317, allocations: 0.6367 MB / 0.6843 GB, free: 10.09 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/2.317, allocations: 64.44 kB / 0.6844 GB, free: 10.03 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/2.317, allocations: 23.89 kB / 0.6844 GB, free: 10.01 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/2.318, allocations: 8 kB / 0.6844 GB, free: 10 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/2.318, allocations: 54.22 kB / 0.6845 GB, free: 9.949 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/2.318, allocations: 20 kB / 0.6845 GB, free: 9.93 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0003255/2.318, allocations: 291 kB / 0.6848 GB, free: 9.645 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/2.318, allocations: 0 / 0.6848 GB, free: 9.645 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.003299/2.321, allocations: 1.345 MB / 0.6861 GB, free: 8.297 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 22
 * 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 (42):
 * Single equations (assignments): 40
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * 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
   {(1,2)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.005495/2.327, allocations: 1.643 MB / 0.6877 GB, free: 6.676 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0007813/2.328, allocations: 459 kB / 0.6881 GB, free: 6.203 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 3.977e-06/2.328, allocations: 0 / 0.6881 GB, free: 6.203 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003067/2.328, allocations: 189.3 kB / 0.6883 GB, free: 6.02 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/2.329, allocations: 211.2 kB / 0.6885 GB, free: 5.844 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/2.331, allocations: 0.949 MB / 0.6894 GB, free: 4.801 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/2.331, allocations: 0.8477 MB / 0.6903 GB, free: 3.926 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.0001573/2.331, allocations: 50.97 kB / 0.6903 GB, free: 3.883 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/2.331, allocations: 31.44 kB / 0.6903 GB, free: 3.852 MB / 0.545 GB
Notification: Performance of SimCode: time 4.21e-07/2.331, allocations: 0 / 0.6903 GB, free: 3.852 MB / 0.545 GB
Notification: Performance of Templates: time 0.07599/2.407, allocations: 54.11 MB / 0.7432 GB, free: 14.21 MB / 0.6075 GB
"
[Timeout remaining time 657]
make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.makefile [Timeout 660]
(rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 9.834992525167763]
Failed to read output from testmodel.py, exit status != 0:
2.5780260749161243 2.829849204 0.669570164
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5b0ade17b0>