Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.00179/0.00179, allocations: 113.9 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.002696/0.002696, allocations: 191.1 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.478/1.478, allocations: 225.6 MB / 251 MB, free: 13.2 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo.
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9908/0.9908, allocations: 145 MB / 451.2 MB, free: 5.438 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw")
translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 68.08 kB / 0.6253 GB, free: 15.47 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1973, allocations: 86.7 MB / 0.71 GB, free: 8.773 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.441/0.6383, allocations: 71.66 MB / 0.78 GB, free: 7.105 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.02913/0.6674, allocations: 19.09 MB / 0.7986 GB, free: 9.453 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003769/0.6712, allocations: 93.78 kB / 0.7987 GB, free: 9.402 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.002846/0.674, allocations: 0.8522 MB / 0.7995 GB, free: 8.852 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.009211/0.6832, allocations: 3.062 MB / 0.8025 GB, free: 7.059 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004884/0.6881, allocations: 1.711 MB / 0.8042 GB, free: 5.863 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.007635/0.6957, allocations: 4.104 MB / 0.8082 GB, free: 3.367 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.002556/0.6983, allocations: 1.153 MB / 0.8093 GB, free: 2.484 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.005241/0.7035, allocations: 1.837 MB / 0.8111 GB, free: 1.312 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002971/0.7065, allocations: 1.237 MB / 0.8123 GB, free: 0.5352 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 0.0005636/0.7071, allocations: 176.1 kB / 0.8125 GB, free: 0.5352 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004161/0.7112, allocations: 1.471 MB / 0.8139 GB, free: 15.74 MB / 0.5919 GB
Notification: Performance of NFScalarize.scalarize: time 0.000753/0.712, allocations: 402.9 kB / 0.8143 GB, free: 15.41 MB / 0.5919 GB
Notification: Performance of NFVerifyModel.verify: time 0.002495/0.7145, allocations: 0.918 MB / 0.8152 GB, free: 14.77 MB / 0.5919 GB
Notification: Performance of NFConvertDAE.convert: time 0.008467/0.7229, allocations: 3.284 MB / 0.8184 GB, free: 12.44 MB / 0.5919 GB
Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.723, allocations: 0 / 0.8184 GB, free: 12.44 MB / 0.5919 GB
Notification: Performance of FrontEnd: time 2.896e-06/0.723, allocations: 2.719 kB / 0.8184 GB, free: 12.44 MB / 0.5919 GB
Notification: Performance of Transformations before backend: time 9.936e-05/0.7231, allocations: 0 / 0.8184 GB, free: 12.44 MB / 0.5919 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.005782/0.7288, allocations: 2.02 MB / 0.8204 GB, free: 10.91 MB / 0.5919 GB
Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.7289, allocations: 11.94 kB / 0.8204 GB, free: 10.91 MB / 0.5919 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.7316, allocations: 448 kB / 0.8208 GB, free: 10.7 MB / 0.5919 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/0.7355, allocations: 1.516 MB / 0.8223 GB, free: 9.508 MB / 0.5919 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.7356, allocations: 79.19 kB / 0.8224 GB, free: 9.473 MB / 0.5919 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/0.736, allocations: 107.7 kB / 0.8225 GB, free: 9.438 MB / 0.5919 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003519/0.7395, allocations: 1.308 MB / 0.8238 GB, free: 8.531 MB / 0.5919 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.7395, allocations: 3.938 kB / 0.8238 GB, free: 8.527 MB / 0.5919 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.7396, allocations: 46.69 kB / 0.8238 GB, free: 8.492 MB / 0.5919 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.7397, allocations: 25.59 kB / 0.8238 GB, free: 8.492 MB / 0.5919 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003136/0.7428, allocations: 1.102 MB / 0.8249 GB, free: 7.605 MB / 0.5919 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.0133/0.7561, allocations: 7.393 MB / 0.8321 GB, free: 15.72 MB / 0.6075 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003456/0.7596, allocations: 0.7666 MB / 0.8329 GB, free: 14.94 MB / 0.6075 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006732/0.7602, allocations: 266 kB / 0.8331 GB, free: 14.68 MB / 0.6075 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006307/0.7609, allocations: 152.3 kB / 0.8333 GB, free: 14.53 MB / 0.6075 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.7609, allocations: 39 kB / 0.8333 GB, free: 14.48 MB / 0.6075 GB
Notification: Performance of pre-optimization done (n=48): time 2.063e-06/0.7609, allocations: 4 kB / 0.8333 GB, free: 14.48 MB / 0.6075 GB
Notification: Performance of matching and sorting (n=48): time 0.005368/0.7663, allocations: 1.271 MB / 0.8346 GB, free: 13.2 MB / 0.6075 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.7663, allocations: 55.84 kB / 0.8346 GB, free: 13.13 MB / 0.6075 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/0.77, allocations: 1.546 MB / 0.8361 GB, free: 11.58 MB / 0.6075 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.7701, allocations: 41.7 kB / 0.8362 GB, free: 11.53 MB / 0.6075 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0008041/0.7709, allocations: 0.6818 MB / 0.8368 GB, free: 10.84 MB / 0.6075 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.7712, allocations: 178.5 kB / 0.837 GB, free: 10.67 MB / 0.6075 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004001/0.7716, allocations: 178.5 kB / 0.8372 GB, free: 10.49 MB / 0.6075 GB
Notification: Performance of setup shared object (initialization): time 0.0001632/0.7717, allocations: 330 kB / 0.8375 GB, free: 10.16 MB / 0.6075 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.7728, allocations: 371.5 kB / 0.8378 GB, free: 9.797 MB / 0.6075 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.7743, allocations: 0.6545 MB / 0.8385 GB, free: 9.012 MB / 0.6075 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.7764, allocations: 0.8858 MB / 0.8394 GB, free: 8.023 MB / 0.6075 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.7764, allocations: 4 kB / 0.8394 GB, free: 8.02 MB / 0.6075 GB
Notification: Performance of matching and sorting (n=92) (initialization): time 0.003609/0.78, allocations: 1.197 MB / 0.8405 GB, free: 6.809 MB / 0.6075 GB
Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.7801, allocations: 13.72 kB / 0.8405 GB, free: 6.797 MB / 0.6075 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.7801, allocations: 6.109 kB / 0.8405 GB, free: 6.793 MB / 0.6075 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.7811, allocations: 232.5 kB / 0.8408 GB, free: 6.562 MB / 0.6075 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008372/0.782, allocations: 195.7 kB / 0.841 GB, free: 6.371 MB / 0.6075 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.783, allocations: 0.7162 MB / 0.8417 GB, free: 5.629 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.7849, allocations: 215 kB / 0.8419 GB, free: 5.418 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.7851, allocations: 47.97 kB / 0.8419 GB, free: 5.371 MB / 0.6075 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.000799/0.7859, allocations: 363.1 kB / 0.8422 GB, free: 5.008 MB / 0.6075 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005374/0.7864, allocations: 151 kB / 0.8424 GB, free: 4.859 MB / 0.6075 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.7894, allocations: 1.165 MB / 0.8435 GB, free: 3.699 MB / 0.6075 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.7894, allocations: 11.98 kB / 0.8435 GB, free: 3.688 MB / 0.6075 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.7894, allocations: 0 / 0.8435 GB, free: 3.688 MB / 0.6075 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.7894, allocations: 0 / 0.8435 GB, free: 3.688 MB / 0.6075 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006561/0.796, allocations: 2.514 MB / 0.846 GB, free: 1.098 MB / 0.6075 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.796, allocations: 0 / 0.846 GB, free: 1.098 MB / 0.6075 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.7964, allocations: 87.88 kB / 0.8461 GB, free: 1.012 MB / 0.6075 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0008488/0.7972, allocations: 216.7 kB / 0.8463 GB, free: 0.7969 MB / 0.6075 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.113e-05/0.7973, allocations: 19.98 kB / 0.8463 GB, free: 0.7773 MB / 0.6075 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.7988, allocations: 0.7631 MB / 0.8471 GB, free: 15.98 MB / 0.6231 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/0.7988, allocations: 7.969 kB / 0.8471 GB, free: 15.98 MB / 0.6231 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/0.8028, allocations: 1.223 MB / 0.8483 GB, free: 14.72 MB / 0.6231 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.8038, allocations: 282.7 kB / 0.8485 GB, free: 14.44 MB / 0.6231 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004739/0.8042, allocations: 23.89 kB / 0.8485 GB, free: 14.42 MB / 0.6231 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.8055, allocations: 67.91 kB / 0.8486 GB, free: 14.35 MB / 0.6231 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.8056, allocations: 48.36 kB / 0.8487 GB, free: 14.3 MB / 0.6231 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.438e-05/0.8056, allocations: 28.17 kB / 0.8487 GB, free: 14.28 MB / 0.6231 GB
Notification: Performance of sorting global known variables: time 0.002546/0.8082, allocations: 1.082 MB / 0.8497 GB, free: 13.2 MB / 0.6231 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.8082, allocations: 3.938 kB / 0.8497 GB, free: 13.2 MB / 0.6231 GB
Notification: Performance of remove unused functions: time 0.00191/0.8101, allocations: 451.1 kB / 0.8502 GB, free: 12.75 MB / 0.6231 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.001281/0.8114, allocations: 494.8 kB / 0.8506 GB, free: 12.28 MB / 0.6231 GB
Notification: Performance of simCode: created initialization part: time 0.002931/0.8143, allocations: 0.8286 MB / 0.8515 GB, free: 11.45 MB / 0.6231 GB
Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.8143, allocations: 4.312 kB / 0.8515 GB, free: 11.45 MB / 0.6231 GB
Notification: Performance of simCode: created simulation system equations: time 0.001537/0.8159, allocations: 423 kB / 0.8519 GB, free: 11.04 MB / 0.6231 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004316/0.8202, allocations: 0.7376 MB / 0.8526 GB, free: 10.31 MB / 0.6231 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.8256, allocations: 2.305 MB / 0.8548 GB, free: 7.949 MB / 0.6231 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.8268, allocations: 1.164 MB / 0.856 GB, free: 6.754 MB / 0.6231 GB
Notification: Performance of simCode: alias equations: time 0.00141/0.8282, allocations: 272.3 kB / 0.8562 GB, free: 6.496 MB / 0.6231 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/0.8286, allocations: 119.3 kB / 0.8563 GB, free: 6.379 MB / 0.6231 GB
Notification: Performance of SimCode: time 1.963e-06/0.8286, allocations: 4 kB / 0.8563 GB, free: 6.375 MB / 0.6231 GB
Notification: Performance of Templates: time 0.06329/0.8919, allocations: 32.86 MB / 0.8884 GB, free: 5.879 MB / 0.6544 GB
"
[Timeout remaining time 659]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.519495570100844]
Failed to read output from testmodel.py, exit status != 0:
0.9014690266922116 0.919016546 0.192496467
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f65ed58d7b0>