Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.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.8564/0.8564, allocations: 152.6 MB / 171.4 MB, free: 6.016 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.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser")
translateModel(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.0006038/0.0006038, allocations: 11.97 kB / 248.5 MB, free: 5.641 MB / 206.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1671, allocations: 33.06 MB / 281.6 MB, free: 3.562 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.TestSimpleStaticCondenser): time 1.684/1.851, allocations: 302.8 MB / 0.5706 GB, free: 3.652 MB / 478.1 MB
Notification: Performance of NFInst.instExpressions: time 0.2553/2.107, allocations: 24.15 MB / 0.5942 GB, free: 12.2 MB / 478.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/2.107, allocations: 5.688 kB / 0.5942 GB, free: 12.2 MB / 478.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:58:3-60:44:writable] Warning: Connector Ec 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/HeatExchangers/SimpleStaticCondenser.mo:61:3-63:42:writable] Warning: Connector Ef 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/HeatExchangers/SimpleStaticCondenser.mo:64:3-66:36:writable] Warning: Connector Sf 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/HeatExchangers/SimpleStaticCondenser.mo:67:3-69:37:writable] Warning: Connector Sc 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.0004816/2.107, allocations: 226.9 kB / 0.5944 GB, free: 12.15 MB / 478.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004103/2.108, allocations: 321.6 kB / 0.5947 GB, free: 12.04 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.
Notification: Performance of NFTyping.typeClassSections: time 0.01784/2.126, allocations: 7.522 MB / 0.6021 GB, free: 9.824 MB / 478.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009853/2.127, allocations: 0.8807 MB / 0.6029 GB, free: 9.348 MB / 478.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002552/2.127, allocations: 196.1 kB / 0.6031 GB, free: 9.234 MB / 478.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003538/2.127, allocations: 348.4 kB / 0.6035 GB, free: 9.035 MB / 478.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00024/2.127, allocations: 266.2 kB / 0.6037 GB, free: 8.871 MB / 478.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.24e-05/2.127, allocations: 38.06 kB / 0.6038 GB, free: 8.871 MB / 478.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.02513/2.153, allocations: 16.1 MB / 0.6195 GB, free: 13.14 MB / 494.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001578/2.153, allocations: 103.5 kB / 0.6196 GB, free: 13.04 MB / 494.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005489/2.153, allocations: 326.3 kB / 0.6199 GB, free: 12.72 MB / 494.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01586/2.169, allocations: 7.09 MB / 0.6268 GB, free: 5.617 MB / 494.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/2.169, allocations: 0 / 0.6268 GB, free: 5.617 MB / 494.1 MB
Notification: Performance of FrontEnd: time 1.874e-06/2.169, allocations: 0 / 0.6268 GB, free: 5.617 MB / 494.1 MB
Notification: Performance of Transformations before backend: time 1.637e-05/2.169, allocations: 0.6875 kB / 0.6268 GB, free: 5.617 MB / 494.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 205
 * Number of variables: 205
Notification: Performance of Generate backend data structure: time 0.004121/2.173, allocations: 1.454 MB / 0.6282 GB, free: 4.125 MB / 494.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/2.173, allocations: 8.031 kB / 0.6282 GB, free: 4.117 MB / 494.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/2.173, allocations: 74.19 kB / 0.6283 GB, free: 4.047 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/2.174, allocations: 258.7 kB / 0.6286 GB, free: 3.77 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/2.174, allocations: 31.91 kB / 0.6286 GB, free: 3.742 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.06e-05/2.174, allocations: 44.55 kB / 0.6286 GB, free: 3.699 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/2.175, allocations: 0.7061 MB / 0.6293 GB, free: 2.953 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/2.175, allocations: 0 / 0.6293 GB, free: 2.953 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/2.175, allocations: 16 kB / 0.6293 GB, free: 2.938 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.796e-05/2.175, allocations: 31.97 kB / 0.6294 GB, free: 2.906 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006857/2.176, allocations: 474.8 kB / 0.6298 GB, free: 2.445 MB / 494.1 MB
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.07662/2.252, allocations: 22.63 MB / 0.6519 GB, free: 11.57 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/2.253, allocations: 299.5 kB / 0.6522 GB, free: 11.27 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/2.253, allocations: 219.8 kB / 0.6524 GB, free: 11.05 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.08669/2.34, allocations: 23.3 MB / 0.6752 GB, free: 3.723 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/2.34, allocations: 31.78 kB / 0.6752 GB, free: 3.684 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=124): time 2.956e-06/2.34, allocations: 0 / 0.6752 GB, free: 3.684 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=124): time 0.002459/2.342, allocations: 1.045 MB / 0.6762 GB, free: 2.629 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/2.342, allocations: 59.41 kB / 0.6763 GB, free: 2.559 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/2.343, allocations: 332.5 kB / 0.6766 GB, free: 2.227 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 2.949e-05/2.343, allocations: 25.7 kB / 0.6766 GB, free: 2.195 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001601/2.343, allocations: 217.8 kB / 0.6768 GB, free: 1.977 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003097/2.343, allocations: 420.2 kB / 0.6772 GB, free: 1.562 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/2.344, allocations: 117.6 kB / 0.6773 GB, free: 1.441 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001868/2.344, allocations: 366.8 kB / 0.6777 GB, free: 1.074 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/2.344, allocations: 225.2 kB / 0.6779 GB, free: 0.8516 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00042/2.344, allocations: 335.7 kB / 0.6782 GB, free: 0.5 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008538/2.345, allocations: 0.6303 MB / 0.6788 GB, free: 15.84 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/2.345, allocations: 0 / 0.6788 GB, free: 15.84 MB / 0.545 GB
Notification: Performance of matching and sorting (n=138) (initialization): time 0.001231/2.347, allocations: 0.7729 MB / 0.6796 GB, free: 15.06 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/2.347, allocations: 4 kB / 0.6796 GB, free: 15.05 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/2.347, allocations: 4.609 kB / 0.6796 GB, free: 15.05 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001903/2.349, allocations: 343.6 kB / 0.6799 GB, free: 14.71 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.658e-05/2.349, allocations: 24.48 kB / 0.6799 GB, free: 14.69 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/2.35, allocations: 1.288 MB / 0.6812 GB, free: 13.35 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/2.35, allocations: 75.25 kB / 0.6813 GB, free: 13.27 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/2.35, allocations: 17.59 kB / 0.6813 GB, free: 13.26 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 9
 * Number of states: 0 ()
 * Number of discrete variables: 8 (sinkP1.C.a,sinkP.C.a,sourceP1.C.b,sourceP.C.b,simpleStaticCondenser.Sc.b,simpleStaticCondenser.Sf.b,simpleStaticCondenser.Ef.a,simpleStaticCondenser.Ec.a)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (26):
 * Single equations (assignments): 15
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 9
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * 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): 2 systems
   {(3,3), (2,3)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002495/2.35, allocations: 179.4 kB / 0.6815 GB, free: 13.07 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.91e-05/2.35, allocations: 59.52 kB / 0.6815 GB, free: 13.02 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004123/2.355, allocations: 4.032 MB / 0.6855 GB, free: 8.805 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001219/2.356, allocations: 0.8156 MB / 0.6863 GB, free: 7.98 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/2.356, allocations: 4 kB / 0.6863 GB, free: 7.977 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/2.356, allocations: 7.922 kB / 0.6863 GB, free: 7.969 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/2.359, allocations: 2.111 MB / 0.6883 GB, free: 5.805 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/2.359, allocations: 0 / 0.6883 GB, free: 5.805 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/2.359, allocations: 91.91 kB / 0.6884 GB, free: 5.715 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0008636/2.36, allocations: 254.6 kB / 0.6887 GB, free: 5.461 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/2.36, allocations: 12 kB / 0.6887 GB, free: 5.449 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/2.361, allocations: 1.337 MB / 0.69 GB, free: 4.062 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/2.361, allocations: 0 / 0.69 GB, free: 4.062 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/2.363, allocations: 0.9789 MB / 0.6909 GB, free: 3.062 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/2.363, allocations: 111.3 kB / 0.691 GB, free: 2.953 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/2.363, allocations: 35.72 kB / 0.6911 GB, free: 2.918 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/2.363, allocations: 17.25 kB / 0.6911 GB, free: 2.902 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/2.363, allocations: 44.56 kB / 0.6911 GB, free: 2.859 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/2.363, allocations: 20 kB / 0.6912 GB, free: 2.84 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0005387/2.364, allocations: 416.1 kB / 0.6915 GB, free: 2.434 MB / 0.545 GB
Notification: Performance of sort global known variables: time 1.51e-07/2.364, allocations: 8 kB / 0.6916 GB, free: 2.426 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.002742/2.367, allocations: 1.01 MB / 0.6925 GB, free: 1.414 MB / 0.545 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 (67):
 * Single equations (assignments): 61
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 4
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * 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): 2 systems
   {(3,4), (2,4)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.00406/2.371, allocations: 1.166 MB / 0.6937 GB, free: 264 kB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.001604/2.372, allocations: 0.9337 MB / 0.6946 GB, free: 15.28 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 2.755e-06/2.372, allocations: 0 / 0.6946 GB, free: 15.28 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006147/2.373, allocations: 359.7 kB / 0.6949 GB, free: 14.93 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/2.375, allocations: 437.4 kB / 0.6954 GB, free: 14.57 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/2.378, allocations: 1.45 MB / 0.6968 GB, free: 13.09 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/2.378, allocations: 0.9907 MB / 0.6977 GB, free: 12.07 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.0002792/2.378, allocations: 73.97 kB / 0.6978 GB, free: 12 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.868e-05/2.379, allocations: 48.8 kB / 0.6979 GB, free: 11.96 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.493e-06/2.379, allocations: 0 / 0.6979 GB, free: 11.96 MB / 0.5606 GB
Notification: Performance of Templates: time 0.06847/2.447, allocations: 46.19 MB / 0.743 GB, free: 14.45 MB / 0.6075 GB
"
[Timeout remaining time 657]
make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile [Timeout 660]
(rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 9.07621989492327]
Failed to read output from testmodel.py, exit status != 0:
2.6047003949061036 2.826118187 0.654306421
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fb5d10717b0>