Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.315/1.315, allocations: 251.5 MB / 267.4 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009388/0.0009388, allocations: 182.5 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007952/0.0007952, allocations: 93.42 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003056, allocations: 13.91 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1665, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop): time 0.6999/0.8664, allocations: 346.2 MB / 1.235 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.05002/0.9165, allocations: 32.72 MB / 1.267 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00727/0.9238, allocations: 151 kB / 1.267 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.007437/0.9313, allocations: 2.188 MB / 1.269 GB, free: 11.19 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01915/0.9505, allocations: 6.81 MB / 1.276 GB, free: 4.355 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01165/0.9621, allocations: 4.478 MB / 1.28 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01668/0.9788, allocations: 14.34 MB / 1.294 GB, free: 1.531 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005482/0.9844, allocations: 3.044 MB / 1.297 GB, free: 14.41 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009423/0.9938, allocations: 3.847 MB / 1.301 GB, free: 10.55 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006498/1, allocations: 3.139 MB / 1.304 GB, free: 7.402 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008725/1.001, allocations: 160 kB / 1.304 GB, free: 7.246 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01135/1.013, allocations: 5.288 MB / 1.309 GB, free: 1.945 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002077/1.015, allocations: 1.07 MB / 1.31 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.004326/1.019, allocations: 2.168 MB / 1.312 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01515/1.034, allocations: 8.851 MB / 1.321 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.034, allocations: 0 / 1.321 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.295e-06/1.034, allocations: 0 / 1.321 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001741/1.034, allocations: 0 / 1.321 GB, free: 5.812 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 674 * Number of variables: 674 Notification: Performance of Generate backend data structure: time 0.01078/1.045, allocations: 4.479 MB / 1.325 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.045, allocations: 8.031 kB / 1.325 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00764/1.053, allocations: 1.407 MB / 1.327 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007029/1.06, allocations: 3.838 MB / 1.331 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004663/1.061, allocations: 277.7 kB / 1.331 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000508/1.061, allocations: 291.9 kB / 1.331 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006657/1.068, allocations: 3.645 MB / 1.335 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.286e-05/1.068, allocations: 7.875 kB / 1.335 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002525/1.068, allocations: 112 kB / 1.335 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/1.068, allocations: 121.1 kB / 1.335 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007155/1.075, allocations: 3.561 MB / 1.338 GB, free: 3.777 MB / 0.8542 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.02281/1.098, allocations: 16.76 MB / 1.355 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006541/1.105, allocations: 2.799 MB / 1.357 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002643/1.107, allocations: 1.401 MB / 1.359 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008772/1.116, allocations: 5.636 MB / 1.364 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00281/1.119, allocations: 1.416 MB / 1.366 GB, free: 6.34 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001573/1.121, allocations: 318 kB / 1.366 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=181): time 5.35e-06/1.121, allocations: 0 / 1.366 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of matching and sorting (n=185): time 0.02209/1.143, allocations: 8.025 MB / 1.374 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/1.143, allocations: 150.5 kB / 1.374 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004225/1.147, allocations: 3.117 MB / 1.377 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000417/1.148, allocations: 69.7 kB / 1.377 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001374/1.149, allocations: 1.654 MB / 1.379 GB, free: 8.875 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006684/1.15, allocations: 0.6354 MB / 1.379 GB, free: 8.23 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/1.15, allocations: 182 kB / 1.379 GB, free: 8.047 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.64e-05/1.15, allocations: 305.1 kB / 1.38 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/1.152, allocations: 1.179 MB / 1.381 GB, free: 6.562 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002966/1.155, allocations: 1.891 MB / 1.383 GB, free: 4.387 MB / 0.9011 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.02125/1.177, allocations: 8.659 MB / 1.391 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/1.177, allocations: 7.938 kB / 1.391 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.01011/1.187, allocations: 3.886 MB / 1.395 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004078/1.187, allocations: 0.5247 MB / 1.396 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.293e-05/1.187, allocations: 16 kB / 1.396 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008526/1.188, allocations: 245.5 kB / 1.396 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/1.19, allocations: 0.5266 MB / 1.396 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007811/1.198, allocations: 4.074 MB / 1.4 GB, free: 1.723 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004302/1.203, allocations: 350.6 kB / 1.401 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/1.203, allocations: 104 kB / 1.401 GB, free: 1.281 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/1.203, allocations: 4 kB / 1.401 GB, free: 1.277 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4369/1.64, allocations: 3.52 MB / 1.404 GB, free: 360.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.5e-05/1.64, allocations: 13.84 kB / 1.404 GB, free: 360.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007412/1.641, allocations: 238.5 kB / 1.404 GB, free: 360.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/1.643, allocations: 0.5307 MB / 1.405 GB, free: 360.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007343/1.65, allocations: 4.067 MB / 1.409 GB, free: 358.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/1.654, allocations: 345 kB / 1.409 GB, free: 358.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003233/1.655, allocations: 102.6 kB / 1.409 GB, free: 358.2 MB / 0.9167 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 ($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 (263): * Single equations (assignments): 255 * 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.00239/1.657, allocations: 0.991 MB / 1.41 GB, free: 358 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009961/1.658, allocations: 353.7 kB / 1.411 GB, free: 358 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/1.669, allocations: 3.527 MB / 1.414 GB, free: 357.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008844/1.677, allocations: 2.934 MB / 1.417 GB, free: 357.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.678, allocations: 0 / 1.417 GB, free: 357.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002383/1.68, allocations: 0.737 MB / 1.418 GB, free: 357.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006918/1.681, allocations: 36.86 kB / 1.418 GB, free: 357.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002713/1.683, allocations: 301.4 kB / 1.418 GB, free: 357.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003312/1.684, allocations: 124.1 kB / 1.418 GB, free: 357.6 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009036/1.693, allocations: 3.193 MB / 1.421 GB, free: 356.9 MB / 0.9167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008918/1.702, allocations: 4.622 MB / 1.426 GB, free: 355.1 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002632/1.704, allocations: 1.27 MB / 1.427 GB, free: 354.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00454/1.709, allocations: 2.115 MB / 1.429 GB, free: 353.9 MB / 0.9167 GB Notification: Performance of Backend: time 4.1e-07/1.709, allocations: 1.25 kB / 1.429 GB, free: 353.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01322/1.722, allocations: 5.56 MB / 1.434 GB, free: 352 MB / 0.9167 GB Notification: Performance of SimCode: time 0.01635/1.739, allocations: 9.225 MB / 1.443 GB, free: 346.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.1293/1.868, allocations: 95.2 MB / 1.536 GB, free: 254.7 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_Carnot_T_ClosedLoop.pipe 2>&1)