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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 104.1 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 216.9 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.363/1.363, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002411/0.002411, allocations: 293.1 kB / 309.1 MB, free: 3.977 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.141/1.141, allocations: 180.9 MB / 0.5333 GB, free: 13.72 MB / 382.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 107 kB / 0.7343 GB, free: 28.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1648, allocations: 95.34 MB / 0.8274 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator): time 0.7044/0.8692, allocations: 313.8 MB / 1.134 GB, free: 2.359 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.07428/0.9435, allocations: 46.84 MB / 1.18 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01208/0.9556, allocations: 329.5 kB / 1.18 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01315/0.9687, allocations: 4.218 MB / 1.184 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.02455/0.9933, allocations: 8.404 MB / 1.192 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01825/1.012, allocations: 7.198 MB / 1.199 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.04219/1.054, allocations: 27.47 MB / 1.226 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01747/1.071, allocations: 8.722 MB / 1.235 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01996/1.091, allocations: 8.223 MB / 1.243 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01293/1.104, allocations: 7.142 MB / 1.25 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.004579/1.109, allocations: 1.277 MB / 1.251 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0149/1.124, allocations: 5.757 MB / 1.257 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.006204/1.13, allocations: 3.473 MB / 1.26 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.01292/1.143, allocations: 6.198 MB / 1.266 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.03472/1.177, allocations: 19.99 MB / 1.285 GB, free: 6.656 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/1.177, allocations: 3.984 kB / 1.285 GB, free: 6.652 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.154e-06/1.177, allocations: 0 / 1.285 GB, free: 6.652 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000605/1.178, allocations: 0 / 1.285 GB, free: 6.652 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.03412/1.212, allocations: 12.61 MB / 1.298 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/1.212, allocations: 12.62 kB / 1.298 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002205/1.214, allocations: 0.9013 MB / 1.299 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/1.228, allocations: 2.518 MB / 1.301 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02234/1.25, allocations: 10.53 MB / 1.311 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005287/1.251, allocations: 0.5444 MB / 1.312 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001792/1.253, allocations: 0.707 MB / 1.313 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01764/1.27, allocations: 8.235 MB / 1.321 GB, free: 2 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001128/1.27, allocations: 7.938 kB / 1.321 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007525/1.271, allocations: 292 kB / 1.321 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00023/1.271, allocations: 269.2 kB / 1.321 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/1.286, allocations: 6.98 MB / 1.328 GB, free: 10.45 MB / 0.9669 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.4161/1.702, allocations: 32.5 MB / 1.36 GB, free: 375.1 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00915/1.711, allocations: 4.778 MB / 1.364 GB, free: 374.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004874/1.716, allocations: 2.16 MB / 1.367 GB, free: 374.3 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02462/1.741, allocations: 11.98 MB / 1.378 GB, free: 367.7 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004764/1.746, allocations: 2.588 MB / 1.381 GB, free: 366.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003383/1.749, allocations: 419.2 kB / 1.381 GB, free: 366.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=398): time 1.331e-05/1.749, allocations: 3.969 kB / 1.381 GB, free: 366.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=401): time 0.03261/1.782, allocations: 13.55 MB / 1.394 GB, free: 361.1 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/1.782, allocations: 0.5547 MB / 1.395 GB, free: 360.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/1.793, allocations: 8.683 MB / 1.403 GB, free: 356.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/1.795, allocations: 158.4 kB / 1.404 GB, free: 356 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.003074/1.798, allocations: 4.397 MB / 1.408 GB, free: 352.3 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001531/1.799, allocations: 1.373 MB / 1.409 GB, free: 351.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001641/1.801, allocations: 1.238 MB / 1.41 GB, free: 350.4 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/1.801, allocations: 301.1 kB / 1.411 GB, free: 350.1 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004704/1.806, allocations: 2.558 MB / 1.413 GB, free: 348.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00617/1.812, allocations: 3.936 MB / 1.417 GB, free: 345.9 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/1.822, allocations: 5.817 MB / 1.423 GB, free: 342.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.689e-05/1.822, allocations: 9.75 kB / 1.423 GB, free: 342.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01992/1.842, allocations: 8.294 MB / 1.431 GB, free: 334.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/1.842, allocations: 49.7 kB / 1.431 GB, free: 334.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.294e-05/1.842, allocations: 32 kB / 1.431 GB, free: 334.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007157/1.849, allocations: 1.325 MB / 1.432 GB, free: 333.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004754/1.854, allocations: 1.15 MB / 1.433 GB, free: 332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/1.865, allocations: 7.754 MB / 1.441 GB, free: 323.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008411/1.874, allocations: 0.5016 MB / 1.441 GB, free: 323.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/1.875, allocations: 251.9 kB / 1.442 GB, free: 323.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007956/1.883, allocations: 4.417 MB / 1.446 GB, free: 318.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00507/1.888, allocations: 3.867 MB / 1.45 GB, free: 314.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008609/1.897, allocations: 5.661 MB / 1.455 GB, free: 308.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.788e-05/1.897, allocations: 12 kB / 1.455 GB, free: 308.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=764) (initialization_lambda0): time 0.01865/1.915, allocations: 8.133 MB / 1.463 GB, free: 300.1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/1.915, allocations: 41.7 kB / 1.463 GB, free: 300 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-05/1.915, allocations: 32 kB / 1.463 GB, free: 300 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007057/1.922, allocations: 1.32 MB / 1.465 GB, free: 298.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004475/1.927, allocations: 1.127 MB / 1.466 GB, free: 297.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.938, allocations: 7.753 MB / 1.473 GB, free: 289.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008656/1.947, allocations: 0.5342 MB / 1.474 GB, free: 288.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000852/1.948, allocations: 235.9 kB / 1.474 GB, free: 288.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.001378/1.949, allocations: 0.5832 MB / 1.475 GB, free: 288 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002456/1.952, allocations: 0.8849 MB / 1.475 GB, free: 287.1 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/1.965, allocations: 6.558 MB / 1.482 GB, free: 280.6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/1.965, allocations: 47.98 kB / 1.482 GB, free: 280.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/1.965, allocations: 4 kB / 1.482 GB, free: 280.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009987/1.975, allocations: 4.68 MB / 1.486 GB, free: 275.8 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02626/2.001, allocations: 14.38 MB / 1.501 GB, free: 261.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/2.001, allocations: 8 kB / 1.501 GB, free: 261.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003038/2.004, allocations: 0.7219 MB / 1.501 GB, free: 260.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/2.006, allocations: 486.1 kB / 1.502 GB, free: 260 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003065/2.006, allocations: 127.9 kB / 1.502 GB, free: 259.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/2.016, allocations: 13.71 MB / 1.515 GB, free: 245.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/2.016, allocations: 15.94 kB / 1.515 GB, free: 245.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01691/2.033, allocations: 8.607 MB / 1.524 GB, free: 236.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004197/2.037, allocations: 1.627 MB / 1.525 GB, free: 234.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0017/2.039, allocations: 132 kB / 1.525 GB, free: 234.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004725/2.044, allocations: 377.6 kB / 1.526 GB, free: 234.1 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006571/2.045, allocations: 418.1 kB / 1.526 GB, free: 233.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003196/2.045, allocations: 195.8 kB / 1.526 GB, free: 233.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.007971/2.053, allocations: 5.995 MB / 1.532 GB, free: 227.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.61e-07/2.053, allocations: 0 / 1.532 GB, free: 227.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0104/2.063, allocations: 3.795 MB / 1.536 GB, free: 223.8 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: 66 (heaPum.safCtr.opeEnv.booPasThr.y,heaPum.safCtr.onOffCtr.onOffFuzLog.staOff,heaPum.safCtr.onOffCtr.onOffFuzLog.staOn,heaPum.safCtr.onOffCtr.notIsOn.y,heaPum.safCtr.minVolFloRatSaf.booPasThr.y,$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.noErr,heaPum.safCtr.opeEnv.bouMapHea.hysLef.y,heaPum.safCtr.opeEnv.bouMapHea.hysRig.y,heaPum.safCtr.opeEnv.bouMapHea.hysBou.y,heaPum.safCtr.opeEnv.bouMapCoo.noErr,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 (418): * Single equations (assignments): 380 * 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.02054/2.084, allocations: 11.18 MB / 1.547 GB, free: 212.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.02109/2.105, allocations: 9.944 MB / 1.556 GB, free: 202.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-05/2.105, allocations: 5.438 kB / 1.556 GB, free: 202.8 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.006334/2.111, allocations: 3.758 MB / 1.56 GB, free: 199 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01847/2.13, allocations: 4.202 MB / 1.564 GB, free: 194.9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.115/2.245, allocations: 67.9 MB / 1.631 GB, free: 125.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004402/2.249, allocations: 4.798 MB / 1.635 GB, free: 120.6 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.008443/2.258, allocations: 2.432 MB / 1.638 GB, free: 118.2 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005577/2.263, allocations: 4.393 MB / 1.642 GB, free: 113.8 MB / 0.9825 GB Notification: Performance of SimCode: time 8.82e-07/2.263, allocations: 0 / 1.642 GB, free: 113.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6988/2.962, allocations: 245.8 MB / 1.882 GB, free: 278.9 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.93/35.89, allocations: 7.438 kB / 1.882 GB, free: 278.9 MB / 0.9825 GB " [Timeout remaining time 624] (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 86400 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Examples_CarnotWithLosses_OneRoomRadiator.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 40.39497517189011] Failed to read output from testmodel.py, exit status != 0: 36.24614414386451 36.262561857 35.081691776 Calling exit ...