Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Examples_CarnotWithLosses_OneRoomRadiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator,fileNamePrefix="Buildings_latest_Buildings_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.007431/0.007436, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001898/0.001898, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.736/2.736, allocations: 482.4 MB / 0.7548 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 61.44 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2871, allocations: 162.2 MB / 1.242 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator): time 0.3267/0.6138, allocations: 309.2 MB / 1.543 GB, free: 2.902 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.6579/1.272, allocations: 46.6 MB / 1.589 GB, free: 21.99 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009925/1.282, allocations: 254.8 kB / 1.589 GB, free: 21.99 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.01164/1.293, allocations: 4.124 MB / 1.593 GB, free: 21.91 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.02139/1.315, allocations: 8.045 MB / 1.601 GB, free: 21.68 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01605/1.331, allocations: 7.386 MB / 1.608 GB, free: 21.55 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.03878/1.37, allocations: 33 MB / 1.641 GB, free: 21.36 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01509/1.385, allocations: 10.97 MB / 1.651 GB, free: 16.82 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01582/1.401, allocations: 8.26 MB / 1.659 GB, free: 14.11 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/1.411, allocations: 6.924 MB / 1.666 GB, free: 11.28 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.003253/1.414, allocations: 1.311 MB / 1.667 GB, free: 11.28 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01318/1.428, allocations: 5.796 MB / 1.673 GB, free: 10.09 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.004309/1.432, allocations: 3.462 MB / 1.676 GB, free: 8.188 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.01022/1.442, allocations: 6.28 MB / 1.683 GB, free: 4.121 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.03217/1.474, allocations: 20.35 MB / 1.702 GB, free: 4.523 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/1.474, allocations: 0 / 1.702 GB, free: 4.523 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.563e-06/1.474, allocations: 4 kB / 1.702 GB, free: 4.52 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0004611/1.475, allocations: 0 / 1.702 GB, free: 4.52 MB / 1.279 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.0285/1.503, allocations: 12.7 MB / 1.715 GB, free: 7.789 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/1.503, allocations: 12.03 kB / 1.715 GB, free: 7.777 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00173/1.505, allocations: 0.9044 MB / 1.716 GB, free: 6.867 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0145/1.52, allocations: 2.584 MB / 1.718 GB, free: 4.273 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03309/1.553, allocations: 15.86 MB / 1.734 GB, free: 4.957 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006032/1.553, allocations: 0.5367 MB / 1.734 GB, free: 4.418 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002052/1.556, allocations: 0.7096 MB / 1.735 GB, free: 3.711 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01896/1.574, allocations: 8.566 MB / 1.743 GB, free: 10.92 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/1.575, allocations: 14.42 kB / 1.743 GB, free: 10.91 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008463/1.576, allocations: 292 kB / 1.744 GB, free: 10.63 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002384/1.576, allocations: 261.3 kB / 1.744 GB, free: 10.37 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01678/1.593, allocations: 7.231 MB / 1.751 GB, free: 3.164 MB / 1.326 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.06594/1.659, allocations: 33.53 MB / 1.784 GB, free: 0.9453 MB / 1.357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/1.671, allocations: 5.399 MB / 1.789 GB, free: 11.51 MB / 1.373 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005887/1.677, allocations: 2.598 MB / 1.791 GB, free: 8.91 MB / 1.373 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03072/1.707, allocations: 12.88 MB / 1.804 GB, free: 11.66 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006731/1.714, allocations: 2.998 MB / 1.807 GB, free: 8.629 MB / 1.389 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00321/1.717, allocations: 436.4 kB / 1.807 GB, free: 8.199 MB / 1.389 GB Notification: Performance of pre-optimization done (n=406): time 9.138e-06/1.717, allocations: 0 / 1.807 GB, free: 8.199 MB / 1.389 GB Notification: Performance of matching and sorting (n=409): time 0.03866/1.756, allocations: 14.44 MB / 1.821 GB, free: 9.516 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003174/1.756, allocations: 0.5123 MB / 1.822 GB, free: 8.895 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01661/1.773, allocations: 8.61 MB / 1.83 GB, free: 344 kB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.001219/1.774, allocations: 161.7 kB / 1.831 GB, free: 176 kB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.005386/1.78, allocations: 4.373 MB / 1.835 GB, free: 11.82 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.002244/1.782, allocations: 1.407 MB / 1.836 GB, free: 10.43 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002567/1.784, allocations: 1.275 MB / 1.837 GB, free: 9.148 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.785, allocations: 305.1 kB / 1.838 GB, free: 8.848 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007423/1.792, allocations: 3.143 MB / 1.841 GB, free: 5.691 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00879/1.801, allocations: 4.478 MB / 1.845 GB, free: 0.7148 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01401/1.815, allocations: 6.955 MB / 1.852 GB, free: 9.426 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.714e-05/1.815, allocations: 8 kB / 1.852 GB, free: 9.418 MB / 1.436 GB Notification: Performance of matching and sorting (n=770) (initialization): time 0.02843/1.843, allocations: 9.65 MB / 1.861 GB, free: 15.84 MB / 1.451 GB Notification: Performance of prepare postOptimizeDAE: time 7.412e-05/1.843, allocations: 45.77 kB / 1.861 GB, free: 15.79 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.163e-05/1.844, allocations: 28 kB / 1.861 GB, free: 15.77 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008293/1.852, allocations: 1.312 MB / 1.863 GB, free: 14.45 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006575/1.858, allocations: 1.219 MB / 1.864 GB, free: 13.3 MB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/1.874, allocations: 8.977 MB / 1.873 GB, free: 3.887 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008748/1.883, allocations: 497.7 kB / 1.873 GB, free: 3.402 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001353/1.884, allocations: 291 kB / 1.873 GB, free: 3.121 MB / 1.451 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0121/1.896, allocations: 4.839 MB / 1.878 GB, free: 14.28 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00857/1.905, allocations: 4.199 MB / 1.882 GB, free: 9.582 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01394/1.919, allocations: 6.409 MB / 1.889 GB, free: 2.84 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.494e-05/1.919, allocations: 8 kB / 1.889 GB, free: 2.832 MB / 1.467 GB Notification: Performance of matching and sorting (n=770) (initialization_lambda0): time 0.0282/1.947, allocations: 9.081 MB / 1.897 GB, free: 9.824 MB / 1.482 GB Notification: Performance of prepare postOptimizeDAE: time 7.92e-05/1.947, allocations: 45.64 kB / 1.897 GB, free: 9.773 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.388e-05/1.947, allocations: 28 kB / 1.897 GB, free: 9.746 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008338/1.956, allocations: 1.313 MB / 1.899 GB, free: 8.426 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005732/1.961, allocations: 1.185 MB / 1.9 GB, free: 7.312 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/1.976, allocations: 7.603 MB / 1.907 GB, free: 15.31 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008194/1.984, allocations: 0.5002 MB / 1.908 GB, free: 14.81 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/1.985, allocations: 263.4 kB / 1.908 GB, free: 14.56 MB / 1.498 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 126 * 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 (675): * Single equations (assignments): 664 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,7), (3,8), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001747/1.987, allocations: 0.5803 MB / 1.909 GB, free: 14.04 MB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002775/1.989, allocations: 0.8926 MB / 1.91 GB, free: 13.14 MB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01936/2.009, allocations: 7.024 MB / 1.916 GB, free: 6.113 MB / 1.498 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.174e-05/2.009, allocations: 47.92 kB / 1.916 GB, free: 6.066 MB / 1.498 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.832e-05/2.009, allocations: 4 kB / 1.916 GB, free: 6.062 MB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01496/2.024, allocations: 5.057 MB / 1.921 GB, free: 0.9531 MB / 1.498 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03478/2.059, allocations: 14.53 MB / 1.936 GB, free: 2.402 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/2.059, allocations: 8 kB / 1.936 GB, free: 2.395 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003922/2.063, allocations: 0.7667 MB / 1.936 GB, free: 1.664 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/2.064, allocations: 484.9 kB / 1.937 GB, free: 1.168 MB / 1.514 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004939/2.065, allocations: 138.5 kB / 1.937 GB, free: 1.035 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01665/2.082, allocations: 15.03 MB / 1.952 GB, free: 0.918 MB / 1.529 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/2.082, allocations: 6.625 kB / 1.952 GB, free: 0.9141 MB / 1.529 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02277/2.104, allocations: 9.14 MB / 1.961 GB, free: 7.641 MB / 1.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004242/2.109, allocations: 1.615 MB / 1.962 GB, free: 6 MB / 1.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002182/2.111, allocations: 128 kB / 1.962 GB, free: 5.875 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006178/2.117, allocations: 379.7 kB / 1.963 GB, free: 5.508 MB / 1.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009986/2.118, allocations: 407.9 kB / 1.963 GB, free: 5.113 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005904/2.119, allocations: 207.8 kB / 1.963 GB, free: 4.91 MB / 1.545 GB Notification: Performance of sorting global known variables: time 0.01189/2.131, allocations: 5.944 MB / 1.969 GB, free: 15.02 MB / 1.561 GB Notification: Performance of sort global known variables: time 1.462e-06/2.131, allocations: 0 / 1.969 GB, free: 15.02 MB / 1.561 GB Notification: Performance of remove unused functions: time 0.01321/2.144, allocations: 3.864 MB / 1.973 GB, free: 11.15 MB / 1.561 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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,$cse27,$cse28,$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 (430): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 17 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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.0284/2.172, allocations: 11.76 MB / 1.984 GB, free: 15.79 MB / 1.576 GB Notification: Performance of simCode: created initialization part: time 0.02763/2.2, allocations: 11.68 MB / 1.996 GB, free: 4.246 MB / 1.576 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/2.2, allocations: 9.375 kB / 1.996 GB, free: 4.234 MB / 1.576 GB Notification: Performance of simCode: created simulation system equations: time 0.007935/2.208, allocations: 3.995 MB / 2 GB, free: 240 kB / 1.576 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01969/2.228, allocations: 4.247 MB / 2.004 GB, free: 12.12 MB / 1.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1494/2.377, allocations: 71.02 MB / 2.073 GB, free: 4.016 MB / 1.654 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006391/2.383, allocations: 4.83 MB / 2.078 GB, free: 15.15 MB / 1.67 GB Notification: Performance of simCode: alias equations: time 0.009767/2.393, allocations: 2.518 MB / 2.08 GB, free: 12.68 MB / 1.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007466/2.401, allocations: 4.378 MB / 2.085 GB, free: 8.309 MB / 1.67 GB Notification: Performance of SimCode: time 7.12e-07/2.401, allocations: 0 / 2.085 GB, free: 8.309 MB / 1.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.394/3.795, allocations: 252.3 MB / 2.331 GB, free: 0.6426 GB / 1.764 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.86/37.66, allocations: 4.297 kB / 2.331 GB, free: 0.6426 GB / 1.764 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Examples_CarnotWithLosses_OneRoomRadiator.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_ModularReversible_Examples_CarnotWithLosses_OneRoomRadiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[586]=86400.000000 File[501]=1.000000 Error: Could not read variable vol.T_start in file Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator_res.csv. Warning: Get data of variable vol.T_start from file Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator_res.csv failed! Error: Could not read variable vol.T in file Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator_res.csv. Warning: Get data of variable vol.T from file Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator_res.csv failed! Error: Could not read variable temSup.T in file Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator_res.csv. Warning: Get data of variable temSup.T from file Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator_res.csv failed! Error: Could not read variable temRet.T in file Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator_res.csv. Warning: Get data of variable temRet.T from file Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator_res.csv failed! Error: Could not read variable heaPum.refCyc.sigBus.hea in file Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator_res.csv. Warning: Get data of variable heaPum.refCyc.sigBus.hea from file Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator_res.csv failed! Error: Could not read variable heaPum.refCyc.sigBus.onOffMea in file Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator_res.csv. Warning: Get data of variable heaPum.refCyc.sigBus.onOffMea from file Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator_res.csv failed! " Variables in the reference:time,vol.T_start,vol.T,temSup.T,temRet.T,heaPum.refCyc.sigBus.hea,heaPum.refCyc.sigBus.onOffMea Variables in the result:time,heaCap.T,heaPum.con.heaCap.T,heaPum.con.vol.dynBal.U,heaPum.eva.heaCap.T,heaPum.eva.vol.dynBal.U