Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Examples_CarnotWithLosses_OneRoomRadiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Examples_CarnotWithLosses_OneRoomRadiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004932/0.004932, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001205/0.001205, allocations: 198.8 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002378/0.002378, allocations: 283.3 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.152/1.152, allocations: 178.5 MB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 99.83 kB / 0.6944 GB, free: 15.13 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4484, allocations: 89.12 MB / 0.7814 GB, free: 1.117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator): time 0.7478/1.196, allocations: 308.9 MB / 1.083 GB, free: 1.312 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.06867/1.265, allocations: 46.61 MB / 1.129 GB, free: 7.152 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01494/1.28, allocations: 247.8 kB / 1.129 GB, free: 7.152 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01381/1.294, allocations: 4.112 MB / 1.133 GB, free: 5.441 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0265/1.32, allocations: 8.028 MB / 1.141 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01987/1.34, allocations: 6.946 MB / 1.147 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.04288/1.383, allocations: 27.42 MB / 1.174 GB, free: 1.527 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02578/1.409, allocations: 10.9 MB / 1.185 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02005/1.429, allocations: 7.935 MB / 1.193 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01272/1.442, allocations: 6.845 MB / 1.199 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.005242/1.447, allocations: 1.273 MB / 1.201 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01647/1.463, allocations: 5.535 MB / 1.206 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.006458/1.47, allocations: 3.372 MB / 1.209 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01389/1.484, allocations: 6.187 MB / 1.215 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.03675/1.521, allocations: 19.78 MB / 1.235 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.521, allocations: 0 / 1.235 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/1.521, allocations: 0 / 1.235 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0006448/1.521, allocations: 0 / 1.235 GB, free: 5.359 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.0356/1.557, allocations: 12.57 MB / 1.247 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/1.557, allocations: 12.03 kB / 1.247 GB, free: 8.648 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003178/1.56, allocations: 0.9029 MB / 1.248 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/1.575, allocations: 2.469 MB / 1.25 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02578/1.6, allocations: 10.5 MB / 1.26 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000704/1.601, allocations: 0.535 MB / 1.261 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002456/1.604, allocations: 0.7052 MB / 1.262 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02285/1.627, allocations: 8.219 MB / 1.27 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001605/1.627, allocations: 11.89 kB / 1.27 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001105/1.628, allocations: 292 kB / 1.27 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000239/1.628, allocations: 265.1 kB / 1.27 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01714/1.645, allocations: 6.969 MB / 1.277 GB, free: 9.609 MB / 0.9044 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.06532/1.711, allocations: 32.5 MB / 1.309 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/1.722, allocations: 5.106 MB / 1.314 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005656/1.728, allocations: 2.393 MB / 1.316 GB, free: 496 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03069/1.759, allocations: 12.01 MB / 1.328 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006644/1.765, allocations: 2.601 MB / 1.33 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00337/1.769, allocations: 422.5 kB / 1.331 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=398): time 1.205e-05/1.769, allocations: 0 / 1.331 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of matching and sorting (n=401): time 0.03959/1.808, allocations: 13.58 MB / 1.344 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002972/1.809, allocations: 0.5057 MB / 1.345 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0169/1.825, allocations: 8.621 MB / 1.353 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001159/1.827, allocations: 157.7 kB / 1.353 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.004983/1.832, allocations: 4.373 MB / 1.357 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.002082/1.834, allocations: 1.375 MB / 1.359 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002233/1.836, allocations: 1.239 MB / 1.36 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.836, allocations: 301.1 kB / 1.36 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005666/1.842, allocations: 2.554 MB / 1.363 GB, free: 4 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6914/2.533, allocations: 3.928 MB / 1.367 GB, free: 396.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/2.545, allocations: 5.836 MB / 1.372 GB, free: 394.1 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-05/2.545, allocations: 8.906 kB / 1.372 GB, free: 394.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.02463/2.57, allocations: 8.317 MB / 1.38 GB, free: 391.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.047e-05/2.57, allocations: 52.53 kB / 1.38 GB, free: 391.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-05/2.57, allocations: 30.94 kB / 1.38 GB, free: 391.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007501/2.578, allocations: 1.319 MB / 1.382 GB, free: 391.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005205/2.583, allocations: 1.156 MB / 1.383 GB, free: 391.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/2.595, allocations: 7.759 MB / 1.39 GB, free: 385.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008527/2.604, allocations: 0.4935 MB / 1.391 GB, free: 385.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/2.605, allocations: 248.3 kB / 1.391 GB, free: 385.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009324/2.614, allocations: 4.422 MB / 1.395 GB, free: 383.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005599/2.62, allocations: 3.849 MB / 1.399 GB, free: 380.9 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008463/2.629, allocations: 5.68 MB / 1.405 GB, free: 377.8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.563e-05/2.629, allocations: 11.81 kB / 1.405 GB, free: 377.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=764) (initialization_lambda0): time 0.01905/2.648, allocations: 8.15 MB / 1.413 GB, free: 375.3 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/2.648, allocations: 44.98 kB / 1.413 GB, free: 375.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.995e-05/2.648, allocations: 35.45 kB / 1.413 GB, free: 375.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007478/2.655, allocations: 1.323 MB / 1.414 GB, free: 374.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005274/2.661, allocations: 1.135 MB / 1.415 GB, free: 374.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/2.672, allocations: 7.749 MB / 1.423 GB, free: 367.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008478/2.681, allocations: 0.5259 MB / 1.423 GB, free: 367.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/2.682, allocations: 244.9 kB / 1.424 GB, free: 367.6 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 110 (heaPum.safCtr.opeEnv.disErr.y,$PRE.heaPum.safCtr.opeEnv.disErr.y,heaPum.safCtr.onOffCtr.onOffFuzLog.devTurOff,$PRE.heaPum.safCtr.onOffCtr.onOffFuzLog.devTurOff,heaPum.safCtr.minVolFloRatSaf.disErr.y,$PRE.heaPum.safCtr.minVolFloRatSaf.disErr.y,$PRE.timTab.nextTimeEvent,$whenCondition17,heaPum.safCtr.minVolFloRatSaf.intConOne.y,heaPum.safCtr.minVolFloRatSaf.disErr.local_set,heaPum.safCtr.minVolFloRatSaf.disErr.local_reset,heaPum.safCtr.onOffCtr.cycRatBou.intConPluOne.y,heaPum.safCtr.onOffCtr.cycRatBou.triAdd.local_set,heaPum.safCtr.onOffCtr.cycRatBou.triAdd.local_reset,heaPum.safCtr.opeEnv.intConOne.y,heaPum.safCtr.opeEnv.disErr.local_set,heaPum.safCtr.opeEnv.disErr.local_reset,conPumAlwOn.y,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y,heaPum.safCtr.minVolFloRatSaf.hysEva.y,$PRE.heaPum.safCtr.minVolFloRatSaf.hysEva.y,heaPum.safCtr.minVolFloRatSaf.hysCon.y,$PRE.heaPum.safCtr.minVolFloRatSaf.hysCon.y,heaPum.safCtr.minVolFloRatSaf.booPasThr.y,heaPum.safCtr.onOffCtr.onOffFuzLog.devNorOpe,$PRE.heaPum.safCtr.onOffCtr.onOffFuzLog.devNorOpe,heaPum.safCtr.onOffCtr.onOffFuzLog.devRunMin,$PRE.heaPum.safCtr.onOffCtr.onOffFuzLog.devRunMin,heaPum.safCtr.onOffCtr.onOffFuzLog.staOn,heaPum.safCtr.onOffCtr.onOffFuzLog.staOff,heaPum.safCtr.onOffCtr.onOffFuzLog.turOff,$PRE.heaPum.safCtr.onOffCtr.onOffFuzLog.turOff,heaPum.safCtr.onOffCtr.onOffFuzLog.turOn,$PRE.heaPum.safCtr.onOffCtr.onOffFuzLog.turOn,heaPum.safCtr.onOffCtr.andIsAblToTurOn.y,heaPum.safCtr.onOffCtr.runTimCtr.runTim.entryTime,$PRE.heaPum.safCtr.onOffCtr.runTimCtr.runTim.entryTime,heaPum.safCtr.onOffCtr.notIsOn.y,heaPum.safCtr.onOffCtr.locTimCtr.runTim.entryTime,$PRE.heaPum.safCtr.onOffCtr.locTimCtr.runTim.entryTime,heaPum.safCtr.onOffCtr.locTimCtr.y,heaPum.safCtr.onOffCtr.cycRatBou.triAdd.y,$PRE.heaPum.safCtr.onOffCtr.cycRatBou.triAdd.y,heaPum.safCtr.onOffCtr.cycRatBou.y,heaPum.safCtr.onOffCtr.preOnOff.u,$PRE.heaPum.safCtr.onOffCtr.preOnOff.u,heaPum.safCtr.onOffCtr.isAblToTurOff.y,heaPum.safCtr.onOffCtr.ySetOn.y,$PRE.heaPum.safCtr.onOffCtr.ySetOn.y,heaPum.safCtr.opeEnv.bouMapCoo.hysBou.y,$PRE.heaPum.safCtr.opeEnv.bouMapCoo.hysBou.y,heaPum.safCtr.opeEnv.bouMapCoo.hysRig.y,$PRE.heaPum.safCtr.opeEnv.bouMapCoo.hysRig.y,heaPum.safCtr.opeEnv.bouMapCoo.hysLef.y,$PRE.heaPum.safCtr.opeEnv.bouMapCoo.hysLef.y,heaPum.safCtr.opeEnv.bouMapCoo.noErr,heaPum.safCtr.opeEnv.bouMapHea.hysBou.y,$PRE.heaPum.safCtr.opeEnv.bouMapHea.hysBou.y,heaPum.safCtr.opeEnv.bouMapHea.hysRig.y,$PRE.heaPum.safCtr.opeEnv.bouMapHea.hysRig.y,heaPum.safCtr.opeEnv.bouMapHea.hysLef.y,$PRE.heaPum.safCtr.opeEnv.bouMapHea.hysLef.y,heaPum.safCtr.opeEnv.bouMapHea.noErr,heaPum.safCtr.opeEnv.booPasThr.y,oneRooRadHeaPumCtr.cooValOrHea.y,oneRooRadHeaPumCtr.hysSecCoo.y,$PRE.oneRooRadHeaPumCtr.hysSecCoo.y,oneRooRadHeaPumCtr.swiYSet.u2,oneRooRadHeaPumCtr.hysCoo.y,$PRE.oneRooRadHeaPumCtr.hysCoo.y,oneRooRadHeaPumCtr.hysHea.y,$PRE.oneRooRadHeaPumCtr.hysHea.y,cooLoa.count,$PRE.cooLoa.count,cooLoa.T_start,$PRE.cooLoa.T_start,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,timTab.nextTimeEventScaled,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEvent,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition18,$whenCondition19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (673): * Single equations (assignments): 664 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,7), (5,6), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001575/2.684, allocations: 0.5735 MB / 1.424 GB, free: 367.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002451/2.686, allocations: 0.8842 MB / 1.425 GB, free: 367.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/2.7, allocations: 6.581 MB / 1.431 GB, free: 363 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.954e-05/2.7, allocations: 44 kB / 1.431 GB, free: 363 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/2.7, allocations: 11.19 kB / 1.431 GB, free: 362.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009987/2.71, allocations: 4.701 MB / 1.436 GB, free: 358.2 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02525/2.735, allocations: 14.4 MB / 1.45 GB, free: 343.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/2.735, allocations: 8 kB / 1.45 GB, free: 343.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003168/2.739, allocations: 0.7207 MB / 1.451 GB, free: 343.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/2.74, allocations: 496.2 kB / 1.451 GB, free: 342.6 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004161/2.74, allocations: 123.9 kB / 1.451 GB, free: 342.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/2.751, allocations: 13.7 MB / 1.465 GB, free: 327.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/2.751, allocations: 20 kB / 1.465 GB, free: 327.8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01806/2.769, allocations: 8.649 MB / 1.473 GB, free: 319 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004506/2.773, allocations: 1.615 MB / 1.475 GB, free: 317.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002536/2.776, allocations: 131.9 kB / 1.475 GB, free: 317.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006174/2.782, allocations: 380.2 kB / 1.475 GB, free: 316.9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008396/2.783, allocations: 406.4 kB / 1.476 GB, free: 316.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00047/2.783, allocations: 199.8 kB / 1.476 GB, free: 316.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.01037/2.794, allocations: 5.95 MB / 1.482 GB, free: 310.4 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.61e-07/2.794, allocations: 4 kB / 1.482 GB, free: 310.4 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01407/2.808, allocations: 3.782 MB / 1.485 GB, free: 306.7 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 18 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,temRet.T,oneRooRadHeaPumCtr.PIDCoo.I.y,oneRooRadHeaPumCtr.PIDHea.I.y,heaPum.con.vol.dynBal.U,heaPum.con.heaCap.T,heaPum.eva.vol.dynBal.U,heaPum.eva.heaCap.T,heaPum.refCycIneCon.criDam.x[1],heaPum.refCycIneEva.criDam.x[1]) * Number of discrete variables: 68 (heaPum.safCtr.opeEnv.booPasThr.y,heaPum.safCtr.opeEnv.bouMapCoo.noErr,heaPum.safCtr.opeEnv.bouMapHea.noErr,heaPum.safCtr.onOffCtr.onOffFuzLog.staOff,heaPum.safCtr.onOffCtr.onOffFuzLog.staOn,heaPum.safCtr.onOffCtr.notIsOn.y,heaPum.safCtr.minVolFloRatSaf.booPasThr.y,$cse25,$cse26,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,cooLoa.T_start,cooLoa.count,oneRooRadHeaPumCtr.hysHea.y,oneRooRadHeaPumCtr.hysCoo.y,oneRooRadHeaPumCtr.swiYSet.u2,oneRooRadHeaPumCtr.hysSecCoo.y,oneRooRadHeaPumCtr.cooValOrHea.y,heaPum.safCtr.opeEnv.disErr.y,heaPum.safCtr.opeEnv.bouMapHea.hysLef.y,heaPum.safCtr.opeEnv.bouMapHea.hysRig.y,heaPum.safCtr.opeEnv.bouMapHea.hysBou.y,heaPum.safCtr.opeEnv.bouMapCoo.hysLef.y,heaPum.safCtr.opeEnv.bouMapCoo.hysRig.y,heaPum.safCtr.opeEnv.bouMapCoo.hysBou.y,heaPum.safCtr.onOffCtr.ySetOn.y,heaPum.safCtr.onOffCtr.isAblToTurOff.y,heaPum.safCtr.onOffCtr.preOnOff.u,heaPum.safCtr.onOffCtr.cycRatBou.y,heaPum.safCtr.onOffCtr.cycRatBou.triAdd.y,heaPum.safCtr.onOffCtr.locTimCtr.y,heaPum.safCtr.onOffCtr.locTimCtr.runTim.entryTime,heaPum.safCtr.onOffCtr.runTimCtr.runTim.entryTime,heaPum.safCtr.onOffCtr.andIsAblToTurOn.y,heaPum.safCtr.onOffCtr.onOffFuzLog.turOn,heaPum.safCtr.onOffCtr.onOffFuzLog.turOff,heaPum.safCtr.onOffCtr.onOffFuzLog.devRunMin,heaPum.safCtr.onOffCtr.onOffFuzLog.devTurOff,heaPum.safCtr.onOffCtr.onOffFuzLog.devNorOpe,heaPum.safCtr.minVolFloRatSaf.disErr.y,heaPum.safCtr.minVolFloRatSaf.hysCon.y,heaPum.safCtr.minVolFloRatSaf.hysEva.y,heaPum.hys.y,heaPum.eff.hys.y) * Number of discrete states: 28 (timTab.nextTimeEvent,cooLoa.count,heaPum.safCtr.minVolFloRatSaf.hysEva.y,heaPum.safCtr.minVolFloRatSaf.hysCon.y,heaPum.safCtr.minVolFloRatSaf.disErr.y,heaPum.safCtr.onOffCtr.preOnOff.u,heaPum.safCtr.onOffCtr.cycRatBou.triAdd.y,heaPum.safCtr.opeEnv.bouMapCoo.hysRig.y,heaPum.safCtr.opeEnv.bouMapCoo.hysLef.y,oneRooRadHeaPumCtr.hysSecCoo.y,oneRooRadHeaPumCtr.hysCoo.y,oneRooRadHeaPumCtr.hysHea.y,heaPum.safCtr.onOffCtr.ySetOn.y,heaPum.safCtr.onOffCtr.onOffFuzLog.turOff,heaPum.safCtr.onOffCtr.onOffFuzLog.turOn,heaPum.safCtr.opeEnv.bouMapHea.hysRig.y,heaPum.safCtr.opeEnv.bouMapHea.hysLef.y,heaPum.safCtr.opeEnv.bouMapHea.hysBou.y,weaDat.conTimMin.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext,heaPum.safCtr.opeEnv.bouMapCoo.hysBou.y,heaPum.hys.y,heaPum.eff.hys.y,heaPum.safCtr.opeEnv.disErr.y,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (420): * Single equations (assignments): 382 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 17 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02311/2.831, allocations: 11.23 MB / 1.496 GB, free: 295.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.02513/2.856, allocations: 10.54 MB / 1.507 GB, free: 285.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.371e-05/2.856, allocations: 5.438 kB / 1.507 GB, free: 285.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.007224/2.864, allocations: 4 MB / 1.511 GB, free: 281.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02275/2.886, allocations: 4.204 MB / 1.515 GB, free: 277.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1479/3.034, allocations: 67.79 MB / 1.581 GB, free: 207.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005569/3.04, allocations: 4.786 MB / 1.586 GB, free: 203 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.008969/3.049, allocations: 2.428 MB / 1.588 GB, free: 200.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005927/3.055, allocations: 4.396 MB / 1.592 GB, free: 196.3 MB / 0.9825 GB Notification: Performance of SimCode: time 1.583e-06/3.055, allocations: 0 / 1.592 GB, free: 196.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6866/3.741, allocations: 244.6 MB / 1.831 GB, free: 352.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.3/36.04, allocations: 2.281 kB / 1.831 GB, free: 352.3 MB / 0.9825 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Examples_CarnotWithLosses_OneRoomRadiator.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.pipe 2>&1)