Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 188 kB / 22.23 MB, free: 5.164 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002577/0.002577, allocations: 292 kB / 306.6 MB, free: 8.316 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.209/1.209, allocations: 180.9 MB / 0.53 GB, free: 14.52 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP")
translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002699/0.002699, allocations: 99.59 kB / 0.7308 GB, free: 38.89 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1512, allocations: 94.2 MB / 0.8228 GB, free: 1.824 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1357/0.2869, allocations: 134.4 MB / 0.9541 GB, free: 10.96 MB / 0.7012 GB
Notification: Performance of NFInst.instExpressions: time 0.03288/0.3198, allocations: 23.36 MB / 0.9769 GB, free: 3.539 MB / 0.7169 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.004055/0.3238, allocations: 166.6 kB / 0.9771 GB, free: 3.375 MB / 0.7169 GB
Notification: Performance of NFTyping.typeComponents: time 0.003709/0.3275, allocations: 1.549 MB / 0.9786 GB, free: 1.816 MB / 0.7169 GB
Notification: Performance of NFTyping.typeBindings: time 0.01136/0.3389, allocations: 4.38 MB / 0.9829 GB, free: 13.41 MB / 0.7325 GB
Notification: Performance of NFTyping.typeClassSections: time 0.005799/0.3447, allocations: 2.265 MB / 0.9851 GB, free: 11.17 MB / 0.7325 GB
Notification: Performance of NFFlatten.flatten: time 0.01031/0.355, allocations: 6.582 MB / 0.9915 GB, free: 4.57 MB / 0.7325 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.004014/0.359, allocations: 1.848 MB / 0.9933 GB, free: 2.668 MB / 0.7325 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006897/0.3659, allocations: 2.843 MB / 0.9961 GB, free: 15.82 MB / 0.7481 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00369/0.3696, allocations: 1.972 MB / 0.998 GB, free: 13.84 MB / 0.7481 GB
Notification: Performance of NFPackage.collectConstants: time 0.0007126/0.3703, allocations: 248 kB / 0.9982 GB, free: 13.6 MB / 0.7481 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004729/0.375, allocations: 2.008 MB / 1 GB, free: 11.59 MB / 0.7481 GB
Notification: Performance of NFScalarize.scalarize: time 0.0009211/0.3759, allocations: 0.6145 MB / 1.001 GB, free: 10.97 MB / 0.7481 GB
Notification: Performance of NFVerifyModel.verify: time 0.002494/0.3784, allocations: 1.462 MB / 1.002 GB, free: 9.504 MB / 0.7481 GB
Notification: Performance of NFConvertDAE.convert: time 0.007759/0.3862, allocations: 4.375 MB / 1.006 GB, free: 5.113 MB / 0.7481 GB
Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3862, allocations: 4 kB / 1.006 GB, free: 5.109 MB / 0.7481 GB
Notification: Performance of FrontEnd: time 1.352e-06/0.3862, allocations: 0 / 1.006 GB, free: 5.109 MB / 0.7481 GB
Notification: Performance of Transformations before backend: time 0.0001011/0.3863, allocations: 0 / 1.006 GB, free: 5.109 MB / 0.7481 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 388
 * Number of variables: 388
Notification: Performance of Generate backend data structure: time 0.006524/0.3928, allocations: 3.175 MB / 1.01 GB, free: 1.863 MB / 0.7481 GB
Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3929, allocations: 12.03 kB / 1.01 GB, free: 1.852 MB / 0.7481 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004333/0.3972, allocations: 0.857 MB / 1.01 GB, free: 0.9922 MB / 0.7481 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.3543/0.7515, allocations: 2.257 MB / 1.013 GB, free: 184.7 MB / 0.7481 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.7516, allocations: 122 kB / 1.013 GB, free: 184.7 MB / 0.7481 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.7518, allocations: 162.2 kB / 1.013 GB, free: 184.7 MB / 0.7481 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003718/0.7556, allocations: 1.925 MB / 1.015 GB, free: 184.3 MB / 0.7481 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.7556, allocations: 3.75 kB / 1.015 GB, free: 184.3 MB / 0.7481 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.7557, allocations: 62.45 kB / 1.015 GB, free: 184.3 MB / 0.7481 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.7557, allocations: 41.53 kB / 1.015 GB, free: 184.3 MB / 0.7481 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004181/0.7599, allocations: 1.794 MB / 1.017 GB, free: 183.7 MB / 0.7481 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.01184/0.7718, allocations: 8.837 MB / 1.025 GB, free: 177.6 MB / 0.7481 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.004335/0.7761, allocations: 1.143 MB / 1.026 GB, free: 177.2 MB / 0.7481 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.7772, allocations: 433.6 kB / 1.027 GB, free: 177.1 MB / 0.7481 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004806/0.7777, allocations: 165.3 kB / 1.027 GB, free: 177.1 MB / 0.7481 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.7777, allocations: 40.56 kB / 1.027 GB, free: 177 MB / 0.7481 GB
Notification: Performance of pre-optimization done (n=76): time 2.604e-06/0.7777, allocations: 0.9062 kB / 1.027 GB, free: 177 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=76): time 0.008556/0.7863, allocations: 2.175 MB / 1.029 GB, free: 176.2 MB / 0.7481 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.7863, allocations: 89.05 kB / 1.029 GB, free: 176.1 MB / 0.7481 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003857/0.7902, allocations: 2.505 MB / 1.032 GB, free: 174.8 MB / 0.7481 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.7903, allocations: 45.61 kB / 1.032 GB, free: 174.7 MB / 0.7481 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005974/0.7909, allocations: 1.049 MB / 1.033 GB, free: 173.8 MB / 0.7481 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.7911, allocations: 283.1 kB / 1.033 GB, free: 173.6 MB / 0.7481 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003403/0.7914, allocations: 257.3 kB / 1.033 GB, free: 173.4 MB / 0.7481 GB
Notification: Performance of setup shared object (initialization): time 5.832e-05/0.7915, allocations: 348.4 kB / 1.034 GB, free: 173.1 MB / 0.7481 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.7929, allocations: 0.5689 MB / 1.034 GB, free: 172.8 MB / 0.7481 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.7944, allocations: 0.9543 MB / 1.035 GB, free: 172.1 MB / 0.7481 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/0.7968, allocations: 1.259 MB / 1.036 GB, free: 171.3 MB / 0.7481 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.7968, allocations: 0 / 1.036 GB, free: 171.3 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=133) (initialization): time 0.005291/0.8021, allocations: 2.021 MB / 1.038 GB, free: 170.3 MB / 0.7481 GB
Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.8021, allocations: 7.938 kB / 1.038 GB, free: 170.3 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.8021, allocations: 8.562 kB / 1.038 GB, free: 170.3 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.8035, allocations: 422 kB / 1.039 GB, free: 170.1 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.8046, allocations: 284.9 kB / 1.039 GB, free: 170.1 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.8062, allocations: 1.501 MB / 1.04 GB, free: 168.8 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/0.8087, allocations: 368.2 kB / 1.041 GB, free: 168.6 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.8088, allocations: 62.09 kB / 1.041 GB, free: 168.5 MB / 0.7481 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 35
 * 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 initialization (112):
 * Single equations (assignments): 110
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * 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
   {(1,13), (1,8)}
Notification: Performance of prepare postOptimizeDAE: time 0.0007714/0.8096, allocations: 459.2 kB / 1.041 GB, free: 168.2 MB / 0.7481 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004553/0.81, allocations: 263.7 kB / 1.042 GB, free: 168.1 MB / 0.7481 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/0.8131, allocations: 1.508 MB / 1.043 GB, free: 167.2 MB / 0.7481 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.8131, allocations: 9.188 kB / 1.043 GB, free: 167.2 MB / 0.7481 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.8131, allocations: 3.156 kB / 1.043 GB, free: 167.2 MB / 0.7481 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.8131, allocations: 7.047 kB / 1.043 GB, free: 167.2 MB / 0.7481 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006242/0.8194, allocations: 3.589 MB / 1.047 GB, free: 163.8 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.467e-06/0.8194, allocations: 4.375 kB / 1.047 GB, free: 163.8 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/0.8199, allocations: 131.8 kB / 1.047 GB, free: 163.6 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.8212, allocations: 419 kB / 1.047 GB, free: 163.2 MB / 0.7481 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/0.8212, allocations: 23.98 kB / 1.047 GB, free: 163.2 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.8232, allocations: 1.58 MB / 1.049 GB, free: 161.6 MB / 0.7481 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.8232, allocations: 7.938 kB / 1.049 GB, free: 161.6 MB / 0.7481 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004954/0.8282, allocations: 1.944 MB / 1.051 GB, free: 159.5 MB / 0.7481 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000964/0.8291, allocations: 423.8 kB / 1.051 GB, free: 159.1 MB / 0.7481 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000331/0.8295, allocations: 21.69 kB / 1.051 GB, free: 159.1 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.831, allocations: 135.8 kB / 1.051 GB, free: 159 MB / 0.7481 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.8311, allocations: 67.77 kB / 1.051 GB, free: 158.9 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.111e-05/0.8311, allocations: 39.97 kB / 1.051 GB, free: 158.9 MB / 0.7481 GB
Notification: Performance of sorting global known variables: time 0.002234/0.8334, allocations: 1.753 MB / 1.053 GB, free: 157.1 MB / 0.7481 GB
Notification: Performance of sort global known variables: time 1e-07/0.8334, allocations: 0 / 1.053 GB, free: 157.1 MB / 0.7481 GB
Notification: Performance of remove unused functions: time 0.001614/0.835, allocations: 0.694 MB / 1.054 GB, free: 156.4 MB / 0.7481 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 14
 * 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 (63):
 * Single equations (assignments): 53
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 8
 * 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
   {(1,15), (1,9)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0008963/0.8359, allocations: 0.6209 MB / 1.054 GB, free: 155.9 MB / 0.7481 GB
Notification: Performance of simCode: created initialization part: time 0.003296/0.8392, allocations: 1.306 MB / 1.055 GB, free: 154.6 MB / 0.7481 GB
Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8392, allocations: 0 / 1.055 GB, free: 154.6 MB / 0.7481 GB
Notification: Performance of simCode: created simulation system equations: time 0.001901/0.8411, allocations: 0.6436 MB / 1.056 GB, free: 153.9 MB / 0.7481 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004756/0.8458, allocations: 1.331 MB / 1.057 GB, free: 152.6 MB / 0.7481 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004638/0.8505, allocations: 3.614 MB / 1.061 GB, free: 149 MB / 0.7481 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.8511, allocations: 1.478 MB / 1.062 GB, free: 147.4 MB / 0.7481 GB
Notification: Performance of simCode: alias equations: time 0.001287/0.8524, allocations: 437.9 kB / 1.063 GB, free: 147 MB / 0.7481 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/0.8527, allocations: 171.4 kB / 1.063 GB, free: 146.9 MB / 0.7481 GB
Notification: Performance of SimCode: time 6.51e-07/0.8527, allocations: 0 / 1.063 GB, free: 146.9 MB / 0.7481 GB
Notification: Performance of Templates: time 0.05827/0.911, allocations: 49.67 MB / 1.111 GB, free: 98.03 MB / 0.7481 GB
"
[Timeout remaining time 659]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.971177227795124]
Failed to read output from testmodel.py, exit status != 0:
0.9177705263718963 0.926488137 0.538055422
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f83de2397b0>