Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 109.4 kB / 16.37 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 189.8 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.827/1.827, allocations: 292.3 MB / 0.5496 GB, free: 17.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 72.45 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2088, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop): time 0.7303/0.9391, allocations: 348.3 MB / 1.125 GB, free: 13.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5836/1.523, allocations: 31.94 MB / 1.156 GB, free: 51.79 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007624/1.53, allocations: 157.2 kB / 1.156 GB, free: 51.79 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00893/1.539, allocations: 2.582 MB / 1.159 GB, free: 51.75 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.02289/1.562, allocations: 7.298 MB / 1.166 GB, free: 51.51 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01487/1.577, allocations: 5.124 MB / 1.171 GB, free: 51.42 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01961/1.597, allocations: 11.02 MB / 1.182 GB, free: 51.41 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008484/1.605, allocations: 3.859 MB / 1.185 GB, free: 51.08 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01379/1.619, allocations: 4.634 MB / 1.19 GB, free: 51.05 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01027/1.63, allocations: 3.27 MB / 1.193 GB, free: 51.05 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002588/1.632, allocations: 0.4895 MB / 1.194 GB, free: 51.05 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01449/1.647, allocations: 5.264 MB / 1.199 GB, free: 50.99 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003378/1.65, allocations: 1.408 MB / 1.2 GB, free: 50.9 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.007251/1.657, allocations: 2.567 MB / 1.203 GB, free: 50.25 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01929/1.677, allocations: 9.047 MB / 1.212 GB, free: 49.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/1.677, allocations: 0 / 1.212 GB, free: 49.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/1.677, allocations: 0 / 1.212 GB, free: 49.27 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002879/1.677, allocations: 0.9375 kB / 1.212 GB, free: 49.27 MB / 0.92 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.018/1.695, allocations: 5.368 MB / 1.217 GB, free: 46.97 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.167e-05/1.695, allocations: 10.03 kB / 1.217 GB, free: 46.97 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008935/1.704, allocations: 1.281 MB / 1.218 GB, free: 46.59 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/1.714, allocations: 3.925 MB / 1.222 GB, free: 45.07 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/1.715, allocations: 214.1 kB / 1.222 GB, free: 45.05 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001373/1.716, allocations: 283.8 kB / 1.222 GB, free: 45.05 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009588/1.726, allocations: 3.611 MB / 1.226 GB, free: 43.97 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.495e-05/1.726, allocations: 9.344 kB / 1.226 GB, free: 43.97 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003311/1.726, allocations: 113 kB / 1.226 GB, free: 43.96 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/1.726, allocations: 121.3 kB / 1.226 GB, free: 43.95 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007466/1.734, allocations: 3.451 MB / 1.229 GB, free: 43.38 MB / 0.92 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.02247/1.756, allocations: 17.38 MB / 1.246 GB, free: 31.48 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006582/1.763, allocations: 2.806 MB / 1.249 GB, free: 29.77 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002575/1.766, allocations: 1.353 MB / 1.251 GB, free: 29.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00861/1.774, allocations: 5.729 MB / 1.256 GB, free: 23.82 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002694/1.777, allocations: 1.341 MB / 1.257 GB, free: 22.47 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001556/1.778, allocations: 176.2 kB / 1.258 GB, free: 22.3 MB / 0.92 GB Notification: Performance of pre-optimization done (n=178): time 5.991e-06/1.778, allocations: 4 kB / 1.258 GB, free: 22.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=182): time 0.02214/1.801, allocations: 7.568 MB / 1.265 GB, free: 14.65 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/1.801, allocations: 154.5 kB / 1.265 GB, free: 14.46 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004251/1.805, allocations: 3.153 MB / 1.268 GB, free: 11.32 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004396/1.805, allocations: 65.7 kB / 1.268 GB, free: 11.25 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/1.807, allocations: 1.66 MB / 1.27 GB, free: 9.586 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006516/1.807, allocations: 0.6261 MB / 1.271 GB, free: 8.965 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006984/1.808, allocations: 466.2 kB / 1.271 GB, free: 8.504 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.56e-05/1.808, allocations: 301.1 kB / 1.271 GB, free: 8.207 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002514/1.811, allocations: 1.17 MB / 1.272 GB, free: 7.027 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002873/1.813, allocations: 1.882 MB / 1.274 GB, free: 4.859 MB / 0.92 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.02373/1.837, allocations: 8.624 MB / 1.283 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.997e-05/1.837, allocations: 4 kB / 1.283 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.01158/1.849, allocations: 3.754 MB / 1.286 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.059e-05/1.849, allocations: 41.64 kB / 1.286 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.604e-05/1.849, allocations: 16.56 kB / 1.286 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009362/1.85, allocations: 227.8 kB / 1.287 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/1.853, allocations: 0.5295 MB / 1.287 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009183/1.862, allocations: 4.186 MB / 1.291 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004269/1.866, allocations: 192.5 kB / 1.291 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00046/1.867, allocations: 116 kB / 1.291 GB, free: 2.852 MB / 0.9356 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00476/1.871, allocations: 1.914 MB / 1.293 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003433/1.875, allocations: 1.865 MB / 1.295 GB, free: 14.78 MB / 0.9512 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_lambda0): time 0.02567/1.901, allocations: 8.487 MB / 1.303 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.52e-05/1.901, allocations: 4 kB / 1.303 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.01186/1.913, allocations: 3.712 MB / 1.307 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.755e-05/1.913, allocations: 41.69 kB / 1.307 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.602e-05/1.913, allocations: 23.97 kB / 1.307 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008743/1.914, allocations: 225 kB / 1.307 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/1.916, allocations: 0.5217 MB / 1.308 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009305/1.926, allocations: 4.185 MB / 1.312 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004527/1.93, allocations: 214.2 kB / 1.312 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003799/1.931, allocations: 108 kB / 1.312 GB, free: 12.95 MB / 0.9669 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: 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: 66 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.TOut.nextTimeEvent,$whenCondition2,$PRE.pulse.count,$PRE.pulse.T_start,TOut.nextTimeEventScaled,$PRE.TOut.nextTimeEventScaled,TOut.nextTimeEvent,pulse.count,pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (271): * Single equations (assignments): 263 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 1 * 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,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0007924/1.931, allocations: 337.5 kB / 1.313 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008608/1.932, allocations: 355.6 kB / 1.313 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/1.943, allocations: 3.315 MB / 1.316 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00874/1.952, allocations: 2.727 MB / 1.319 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.952, allocations: 0 / 1.319 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0022/1.954, allocations: 0.7191 MB / 1.32 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006022/1.954, allocations: 36 kB / 1.32 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/1.957, allocations: 154.6 kB / 1.32 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/1.957, allocations: 125.8 kB / 1.32 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008785/1.966, allocations: 3.007 MB / 1.323 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009532/1.975, allocations: 4.474 MB / 1.327 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002668/1.978, allocations: 1.226 MB / 1.328 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003522/1.982, allocations: 2.134 MB / 1.33 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of Backend: time 5.01e-07/1.982, allocations: 0 / 1.33 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01468/1.996, allocations: 5.547 MB / 1.336 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of SimCode: time 0.01609/2.012, allocations: 7.825 MB / 1.343 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of Templates: time 0.1544/2.167, allocations: 97.24 MB / 1.438 GB, free: 13.57 MB / 1.092 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.pipe 2>&1)