Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.61/1.61, allocations: 288.4 MB / 304.3 MB, free: 8.074 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009705/0.0009705, allocations: 184.5 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 0.6316 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008356/0.0008361, allocations: 94.3 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004313, allocations: 10.84 kB / 0.8681 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2352, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop): time 0.7715/1.007, allocations: 319.1 MB / 1.292 GB, free: 11.63 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.043/1.05, allocations: 30.06 MB / 1.322 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009651/1.059, allocations: 139.1 kB / 1.322 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.007259/1.067, allocations: 1.841 MB / 1.324 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01879/1.086, allocations: 5.989 MB / 1.329 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01161/1.097, allocations: 3.51 MB / 1.333 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01745/1.115, allocations: 12.26 MB / 1.345 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006082/1.121, allocations: 3.034 MB / 1.348 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009392/1.13, allocations: 3.695 MB / 1.351 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006179/1.136, allocations: 2.944 MB / 1.354 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0007606/1.137, allocations: 156 kB / 1.354 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01155/1.149, allocations: 5.183 MB / 1.36 GB, free: 6.633 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001996/1.151, allocations: 1.027 MB / 1.361 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.003943/1.155, allocations: 2.09 MB / 1.363 GB, free: 3.496 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01117/1.166, allocations: 6.882 MB / 1.369 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/1.166, allocations: 0 / 1.369 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.345e-06/1.166, allocations: 0 / 1.369 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001387/1.166, allocations: 0 / 1.369 GB, free: 12.6 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 0.01179/1.178, allocations: 4.479 MB / 1.374 GB, free: 8.027 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.178, allocations: 8.031 kB / 1.374 GB, free: 8.02 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00732/1.185, allocations: 1.403 MB / 1.375 GB, free: 6.609 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007428/1.193, allocations: 3.824 MB / 1.379 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004646/1.193, allocations: 281.6 kB / 1.379 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005016/1.194, allocations: 284 kB / 1.379 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007174/1.201, allocations: 3.617 MB / 1.383 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.855e-05/1.201, allocations: 4 kB / 1.383 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/1.201, allocations: 108 kB / 1.383 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/1.202, allocations: 125.1 kB / 1.383 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007652/1.209, allocations: 3.537 MB / 1.387 GB, free: 10.64 MB / 0.9167 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.02386/1.233, allocations: 16.72 MB / 1.403 GB, free: 8.875 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006982/1.24, allocations: 2.969 MB / 1.406 GB, free: 5.816 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002849/1.243, allocations: 1.393 MB / 1.407 GB, free: 4.426 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009444/1.252, allocations: 5.749 MB / 1.413 GB, free: 14.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002869/1.255, allocations: 1.389 MB / 1.414 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00148/1.257, allocations: 322 kB / 1.414 GB, free: 12.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=179): time 3.917e-06/1.257, allocations: 3.938 kB / 1.414 GB, free: 12.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=183): time 0.02255/1.279, allocations: 7.959 MB / 1.422 GB, free: 4.566 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.615e-05/1.279, allocations: 150.5 kB / 1.422 GB, free: 4.387 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004333/1.284, allocations: 3.073 MB / 1.425 GB, free: 1.324 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002195/1.284, allocations: 69.7 kB / 1.425 GB, free: 1.25 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.4098/1.694, allocations: 1.639 MB / 1.427 GB, free: 346.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001211/1.695, allocations: 0.627 MB / 1.428 GB, free: 346.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/1.695, allocations: 43.11 kB / 1.428 GB, free: 346.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000227/1.696, allocations: 387.8 kB / 1.428 GB, free: 346.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003566/1.699, allocations: 1.151 MB / 1.429 GB, free: 346.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003683/1.703, allocations: 1.857 MB / 1.431 GB, free: 345.4 MB / 0.948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: pla.coo.con.vol.dynBal.medium.p = pla.coo.con.vol.dynBal.p_start (pla.sinCoo.p = pla.coo.con.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: pla.hea.eva.vol.dynBal.medium.p = pla.hea.eva.vol.dynBal.p_start (pla.sinHea.p = pla.hea.eva.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02456/1.727, allocations: 8.51 MB / 1.439 GB, free: 342.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.852e-05/1.728, allocations: 4.797 kB / 1.439 GB, free: 342.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01087/1.738, allocations: 3.833 MB / 1.443 GB, free: 341 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003641/1.739, allocations: 0.5246 MB / 1.444 GB, free: 340.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.895e-05/1.739, allocations: 15.86 kB / 1.444 GB, free: 340.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009619/1.74, allocations: 239.4 kB / 1.444 GB, free: 340.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/1.742, allocations: 0.5357 MB / 1.444 GB, free: 340.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008254/1.751, allocations: 4.063 MB / 1.448 GB, free: 337.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004476/1.755, allocations: 349.7 kB / 1.449 GB, free: 337.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003776/1.755, allocations: 103.5 kB / 1.449 GB, free: 337.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/1.756, allocations: 3.969 kB / 1.449 GB, free: 337.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009841/1.765, allocations: 3.494 MB / 1.452 GB, free: 336.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.468e-05/1.765, allocations: 20.02 kB / 1.452 GB, free: 336.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000853/1.766, allocations: 239.4 kB / 1.452 GB, free: 336 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/1.769, allocations: 0.5253 MB / 1.453 GB, free: 336 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00799/1.777, allocations: 4.079 MB / 1.457 GB, free: 333 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004298/1.781, allocations: 348.3 kB / 1.457 GB, free: 332.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003569/1.782, allocations: 109.7 kB / 1.457 GB, free: 332.9 MB / 0.948 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: pla.coo.con.vol.dynBal.medium.p = pla.coo.con.vol.dynBal.p_start pla.hea.eva.vol.dynBal.medium.p = pla.hea.eva.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.TOut.nextTimeEvent,$PRE.pulse.T_start,$PRE.pulse.count,$whenCondition1,pulse.T_start,pulse.count,TOut.nextTimeEvent,$PRE.TOut.nextTimeEventScaled,TOut.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (262): * Single equations (assignments): 254 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002258/1.784, allocations: 0.9847 MB / 1.458 GB, free: 332.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007552/1.785, allocations: 345.2 kB / 1.459 GB, free: 332.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/1.795, allocations: 3.488 MB / 1.462 GB, free: 330.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008362/1.803, allocations: 2.903 MB / 1.465 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/1.803, allocations: 4 kB / 1.465 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002184/1.805, allocations: 0.7374 MB / 1.466 GB, free: 329.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004615/1.806, allocations: 42.22 kB / 1.466 GB, free: 329.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002418/1.808, allocations: 289 kB / 1.466 GB, free: 329.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/1.809, allocations: 124.2 kB / 1.466 GB, free: 329.3 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008311/1.817, allocations: 3.162 MB / 1.469 GB, free: 328.2 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00846/1.825, allocations: 4.574 MB / 1.474 GB, free: 326.2 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002356/1.828, allocations: 1.254 MB / 1.475 GB, free: 325.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002775/1.83, allocations: 2.072 MB / 1.477 GB, free: 324.7 MB / 0.948 GB Notification: Performance of Backend: time 2.71e-07/1.83, allocations: 4 kB / 1.477 GB, free: 324.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0114/1.842, allocations: 5.542 MB / 1.482 GB, free: 322 MB / 0.948 GB Notification: Performance of SimCode: time 0.01278/1.855, allocations: 9.059 MB / 1.491 GB, free: 316.2 MB / 0.948 GB Notification: Performance of Templates: time 0.1169/1.972, allocations: 93.94 MB / 1.583 GB, free: 223.3 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.pipe 2>&1)