Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0_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.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.611/1.611, allocations: 287.4 MB / 303.2 MB, free: 8.27 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.001076/0.001076, allocations: 176.5 kB / 371.8 MB, free: 10.82 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.592/1.592, allocations: 205.4 MB / 0.6304 GB, free: 10.53 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.0008047/0.0008048, allocations: 92.72 kB / 0.7438 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004192/0.0004196, allocations: 14.3 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2392, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop): time 0.9763/1.216, allocations: 319.1 MB / 1.291 GB, free: 12.93 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.05198/1.268, allocations: 30.06 MB / 1.32 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008181/1.276, allocations: 139.1 kB / 1.32 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.007702/1.284, allocations: 1.658 MB / 1.322 GB, free: 13 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.02064/1.304, allocations: 5.288 MB / 1.327 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01378/1.318, allocations: 3.476 MB / 1.331 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01987/1.338, allocations: 12.26 MB / 1.343 GB, free: 7.965 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008925/1.347, allocations: 3.01 MB / 1.345 GB, free: 4.895 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01193/1.359, allocations: 3.566 MB / 1.349 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00785/1.367, allocations: 2.945 MB / 1.352 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001974/1.369, allocations: 160 kB / 1.352 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01311/1.382, allocations: 2.994 MB / 1.355 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.003414/1.385, allocations: 1.035 MB / 1.356 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.004243/1.39, allocations: 0.9487 MB / 1.357 GB, free: 9.199 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01412/1.404, allocations: 6.628 MB / 1.363 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/1.404, allocations: 0 / 1.363 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.667e-06/1.404, allocations: 0 / 1.363 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003377/1.404, allocations: 0 / 1.363 GB, free: 2.559 MB / 0.8855 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.01513/1.419, allocations: 4.472 MB / 1.368 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.419, allocations: 8.031 kB / 1.368 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008579/1.428, allocations: 1.396 MB / 1.369 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/1.439, allocations: 3.836 MB / 1.373 GB, free: 8.68 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006465/1.439, allocations: 281.6 kB / 1.373 GB, free: 8.402 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001315/1.441, allocations: 280 kB / 1.373 GB, free: 8.129 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/1.452, allocations: 3.613 MB / 1.377 GB, free: 4.395 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/1.453, allocations: 7.938 kB / 1.377 GB, free: 4.387 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000834/1.453, allocations: 108 kB / 1.377 GB, free: 4.281 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000178/1.454, allocations: 121.1 kB / 1.377 GB, free: 4.16 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/1.464, allocations: 3.541 MB / 1.381 GB, free: 0.6055 MB / 0.9011 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.03271/1.497, allocations: 16.73 MB / 1.397 GB, free: 14.83 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008009/1.505, allocations: 2.965 MB / 1.4 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003402/1.508, allocations: 1.385 MB / 1.401 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01206/1.52, allocations: 5.765 MB / 1.407 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003364/1.524, allocations: 1.389 MB / 1.408 GB, free: 2.891 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002038/1.526, allocations: 322 kB / 1.408 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=179): time 9.919e-06/1.526, allocations: 4 kB / 1.408 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of matching and sorting (n=183): time 0.02607/1.552, allocations: 7.951 MB / 1.416 GB, free: 10.52 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/1.552, allocations: 146.5 kB / 1.416 GB, free: 10.35 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00699/1.559, allocations: 3.07 MB / 1.419 GB, free: 7.289 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004676/1.559, allocations: 81.69 kB / 1.419 GB, free: 7.203 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002055/1.561, allocations: 1.642 MB / 1.421 GB, free: 5.547 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009734/1.562, allocations: 0.6276 MB / 1.422 GB, free: 4.91 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002909/1.563, allocations: 43.98 kB / 1.422 GB, free: 4.867 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002245/1.563, allocations: 386.2 kB / 1.422 GB, free: 4.484 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003011/1.566, allocations: 1.152 MB / 1.423 GB, free: 3.328 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003619/1.57, allocations: 1.855 MB / 1.425 GB, free: 1.188 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.5458/2.115, allocations: 8.505 MB / 1.433 GB, free: 343.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-05/2.116, allocations: 4.594 kB / 1.433 GB, free: 343.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01306/2.129, allocations: 3.826 MB / 1.437 GB, free: 342.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004128/2.129, allocations: 0.5269 MB / 1.438 GB, free: 342 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-05/2.129, allocations: 16.25 kB / 1.438 GB, free: 342 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009737/2.13, allocations: 242.3 kB / 1.438 GB, free: 342 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/2.133, allocations: 0.5292 MB / 1.438 GB, free: 341.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008456/2.141, allocations: 4.073 MB / 1.442 GB, free: 339 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004567/2.146, allocations: 339.9 kB / 1.443 GB, free: 339 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005669/2.147, allocations: 103.7 kB / 1.443 GB, free: 339 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/2.147, allocations: 5.438 kB / 1.443 GB, free: 339 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01074/2.157, allocations: 3.493 MB / 1.446 GB, free: 337.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-05/2.157, allocations: 15.16 kB / 1.446 GB, free: 337.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008818/2.158, allocations: 243.3 kB / 1.446 GB, free: 337.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/2.161, allocations: 0.5296 MB / 1.447 GB, free: 337.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00895/2.17, allocations: 4.072 MB / 1.451 GB, free: 334.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004826/2.175, allocations: 352.1 kB / 1.451 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004936/2.176, allocations: 104 kB / 1.451 GB, free: 334.7 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.002331/2.178, allocations: 0.982 MB / 1.452 GB, free: 334.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008864/2.179, allocations: 345 kB / 1.453 GB, free: 334.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/2.189, allocations: 3.495 MB / 1.456 GB, free: 332.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009539/2.199, allocations: 2.905 MB / 1.459 GB, free: 331.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/2.199, allocations: 2.297 kB / 1.459 GB, free: 331.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00245/2.202, allocations: 0.7301 MB / 1.46 GB, free: 331.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009256/2.202, allocations: 38.94 kB / 1.46 GB, free: 331.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003157/2.206, allocations: 296.5 kB / 1.46 GB, free: 331.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003434/2.206, allocations: 131.5 kB / 1.46 GB, free: 331.5 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009191/2.215, allocations: 3.159 MB / 1.463 GB, free: 330.4 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009596/2.225, allocations: 4.572 MB / 1.468 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002702/2.228, allocations: 1.253 MB / 1.469 GB, free: 328 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004173/2.232, allocations: 2.072 MB / 1.471 GB, free: 327.3 MB / 0.948 GB Notification: Performance of Backend: time 1.031e-06/2.232, allocations: 1.062 kB / 1.471 GB, free: 327.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01364/2.245, allocations: 5.492 MB / 1.476 GB, free: 325.2 MB / 0.948 GB Notification: Performance of SimCode: time 0.01831/2.264, allocations: 9.057 MB / 1.485 GB, free: 319.9 MB / 0.948 GB Notification: Performance of Templates: time 0.1341/2.398, allocations: 93.1 MB / 1.576 GB, free: 229.8 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.pipe 2>&1)