Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.0016/0.0016, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001771/0.001771, allocations: 189.8 kB / 22.23 MB, free: 5.098 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.469/1.469, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.861/0.861, allocations: 134 MB / 440.3 MB, free: 316 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw")
translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002522/0.002522, allocations: 64.7 kB / 0.6107 GB, free: 13.7 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1858, allocations: 84.73 MB / 0.6935 GB, free: 9.039 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.5106/0.6964, allocations: 71.64 MB / 0.7634 GB, free: 16.91 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.02814/0.7246, allocations: 19.08 MB / 0.782 GB, free: 14.38 MB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.004305/0.7289, allocations: 94.19 kB / 0.7821 GB, free: 14.33 MB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 0.003372/0.7322, allocations: 0.8451 MB / 0.783 GB, free: 13.79 MB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 0.01154/0.7438, allocations: 3.062 MB / 0.786 GB, free: 11.99 MB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00529/0.7491, allocations: 1.713 MB / 0.7876 GB, free: 10.99 MB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 0.006727/0.7558, allocations: 4.089 MB / 0.7916 GB, free: 8.898 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.002219/0.758, allocations: 1.165 MB / 0.7928 GB, free: 8.234 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.005312/0.7633, allocations: 1.849 MB / 0.7946 GB, free: 7.281 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.003188/0.7665, allocations: 1.221 MB / 0.7958 GB, free: 6.723 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 0.0005606/0.7671, allocations: 176.2 kB / 0.7959 GB, free: 6.723 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004638/0.7717, allocations: 1.464 MB / 0.7974 GB, free: 6.203 MB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 0.0005068/0.7722, allocations: 401.2 kB / 0.7977 GB, free: 5.926 MB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 0.001639/0.7739, allocations: 0.9159 MB / 0.7986 GB, free: 5.328 MB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 0.005564/0.7794, allocations: 3.136 MB / 0.8017 GB, free: 3.199 MB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.7794, allocations: 0 / 0.8017 GB, free: 3.199 MB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.743e-06/0.7794, allocations: 7.938 kB / 0.8017 GB, free: 3.191 MB / 0.5606 GB
Notification: Performance of Transformations before backend: time 4.43e-05/0.7795, allocations: 0 / 0.8017 GB, free: 3.191 MB / 0.5606 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 257
 * Number of variables: 257
Notification: Performance of Generate backend data structure: time 0.003852/0.7833, allocations: 2.017 MB / 0.8037 GB, free: 1.676 MB / 0.5606 GB
Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.7834, allocations: 11.03 kB / 0.8037 GB, free: 1.676 MB / 0.5606 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/0.7858, allocations: 461.7 kB / 0.8041 GB, free: 1.457 MB / 0.5606 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/0.7884, allocations: 1.496 MB / 0.8056 GB, free: 292 kB / 0.5606 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.609e-05/0.7885, allocations: 80.09 kB / 0.8057 GB, free: 256 kB / 0.5606 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.7886, allocations: 105.8 kB / 0.8058 GB, free: 220 kB / 0.5606 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/0.7914, allocations: 1.321 MB / 0.807 GB, free: 15.29 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.7915, allocations: 6.656 kB / 0.8071 GB, free: 15.29 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.7916, allocations: 45.12 kB / 0.8071 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.7916, allocations: 26.28 kB / 0.8071 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002818/0.7944, allocations: 1.105 MB / 0.8082 GB, free: 14.7 MB / 0.5762 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.01233/0.8067, allocations: 7.376 MB / 0.8154 GB, free: 7.957 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003374/0.8101, allocations: 0.7614 MB / 0.8161 GB, free: 7.559 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006524/0.8108, allocations: 264.6 kB / 0.8164 GB, free: 7.422 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000605/0.8114, allocations: 166 kB / 0.8166 GB, free: 7.352 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/0.8114, allocations: 41.47 kB / 0.8166 GB, free: 7.305 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=48): time 2.645e-06/0.8114, allocations: 0 / 0.8166 GB, free: 7.305 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=48): time 0.005494/0.8169, allocations: 1.259 MB / 0.8178 GB, free: 6.652 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.817, allocations: 57.72 kB / 0.8179 GB, free: 6.59 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003016/0.82, allocations: 1.549 MB / 0.8194 GB, free: 5.465 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.8201, allocations: 41.64 kB / 0.8194 GB, free: 5.418 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0008266/0.821, allocations: 0.6935 MB / 0.8201 GB, free: 4.719 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.8212, allocations: 178.5 kB / 0.8203 GB, free: 4.543 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003256/0.8215, allocations: 170.5 kB / 0.8204 GB, free: 4.371 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001785/0.8217, allocations: 337.9 kB / 0.8208 GB, free: 4.035 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.8228, allocations: 361.8 kB / 0.8211 GB, free: 3.684 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.8242, allocations: 0.6584 MB / 0.8218 GB, free: 2.902 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.8263, allocations: 0.8908 MB / 0.8226 GB, free: 1.91 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.8263, allocations: 4 kB / 0.8226 GB, free: 1.906 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=92) (initialization): time 0.003434/0.8298, allocations: 1.197 MB / 0.8238 GB, free: 0.6953 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.8298, allocations: 10.66 kB / 0.8238 GB, free: 0.6875 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.8298, allocations: 11.98 kB / 0.8238 GB, free: 0.6758 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0009447/0.8308, allocations: 220.5 kB / 0.824 GB, free: 468 kB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008026/0.8316, allocations: 199.7 kB / 0.8242 GB, free: 268 kB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009971/0.8326, allocations: 0.7201 MB / 0.8249 GB, free: 15.52 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.8344, allocations: 215 kB / 0.8251 GB, free: 15.3 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.8345, allocations: 43.98 kB / 0.8252 GB, free: 15.26 MB / 0.5919 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 (84):
 * Single equations (assignments): 83
 * 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
   {(1,8)}
Notification: Performance of prepare postOptimizeDAE: time 0.0007037/0.8352, allocations: 353.6 kB / 0.8255 GB, free: 14.91 MB / 0.5919 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/0.8355, allocations: 155.6 kB / 0.8257 GB, free: 14.75 MB / 0.5919 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/0.8381, allocations: 1.156 MB / 0.8268 GB, free: 13.61 MB / 0.5919 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.8381, allocations: 11.98 kB / 0.8268 GB, free: 13.6 MB / 0.5919 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.8381, allocations: 4 kB / 0.8268 GB, free: 13.6 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.8381, allocations: 3.984 kB / 0.8268 GB, free: 13.59 MB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00592/0.8441, allocations: 2.498 MB / 0.8292 GB, free: 11.02 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.8441, allocations: 0 / 0.8292 GB, free: 11.02 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.8445, allocations: 87.88 kB / 0.8293 GB, free: 10.94 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0008023/0.8453, allocations: 212.8 kB / 0.8295 GB, free: 10.73 MB / 0.5919 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.8453, allocations: 16 kB / 0.8295 GB, free: 10.71 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/0.8468, allocations: 0.7786 MB / 0.8303 GB, free: 9.906 MB / 0.5919 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.8468, allocations: 3.938 kB / 0.8303 GB, free: 9.902 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003789/0.8506, allocations: 1.219 MB / 0.8315 GB, free: 8.641 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0008617/0.8514, allocations: 286.6 kB / 0.8318 GB, free: 8.359 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.8516, allocations: 12 kB / 0.8318 GB, free: 8.348 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009441/0.8526, allocations: 75.91 kB / 0.8319 GB, free: 8.273 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.8527, allocations: 36.42 kB / 0.8319 GB, free: 8.238 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.375e-05/0.8527, allocations: 28.17 kB / 0.8319 GB, free: 8.211 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 0.001967/0.8547, allocations: 1.09 MB / 0.833 GB, free: 7.125 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 1.01e-07/0.8547, allocations: 3.938 kB / 0.833 GB, free: 7.121 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.001559/0.8563, allocations: 447.1 kB / 0.8334 GB, free: 6.684 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * 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 (52):
 * Single equations (assignments): 41
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 10
 * 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,9)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/0.8573, allocations: 483.8 kB / 0.8339 GB, free: 6.215 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.002418/0.8597, allocations: 0.8324 MB / 0.8347 GB, free: 5.387 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.8598, allocations: 3.938 kB / 0.8347 GB, free: 5.383 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 0.001412/0.8612, allocations: 427.3 kB / 0.8351 GB, free: 4.965 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/0.8647, allocations: 0.7435 MB / 0.8358 GB, free: 4.254 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/0.869, allocations: 2.294 MB / 0.8381 GB, free: 1.902 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009481/0.8699, allocations: 1.172 MB / 0.8392 GB, free: 0.6992 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 0.00124/0.8712, allocations: 276.1 kB / 0.8395 GB, free: 436 kB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.8715, allocations: 111.4 kB / 0.8396 GB, free: 324 kB / 0.5919 GB
Notification: Performance of SimCode: time 1.272e-06/0.8715, allocations: 0 / 0.8396 GB, free: 324 kB / 0.5919 GB
Notification: Performance of Templates: time 0.05812/0.9296, allocations: 32.49 MB / 0.8713 GB, free: 104 kB / 0.6231 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.192595724016428]
Failed to read output from testmodel.py, exit status != 0:
0.9392804885283113 0.953326826 0.17048332700000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f87c46317b0>