Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Examples.Modular.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: translateModel(Buildings.Fluid.Chillers.ModularReversible.Examples.Modular,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.refCyc.sigBus.TConInMea|chi.refCyc.sigBus.TConOutMea|chi.refCyc.sigBus.TEvaOutMea|chi.refCyc.sigBus.TEvaInMea|chi.QCon_flow|chi.QEva_flow|chi.P|chi.refCyc.sigBus.ySet|chi.refCyc.sigBus.yMea",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Examples.Modular") translateModel(Buildings.Fluid.Chillers.ModularReversible.Examples.Modular,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.refCyc.sigBus.TConInMea|chi.refCyc.sigBus.TConOutMea|chi.refCyc.sigBus.TEvaOutMea|chi.refCyc.sigBus.TEvaInMea|chi.QCon_flow|chi.QEva_flow|chi.P|chi.refCyc.sigBus.ySet|chi.refCyc.sigBus.yMea",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Examples.Modular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001254/0.001255, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.433/1.433, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.788/2.788, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 67.89 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8934/0.8953, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Examples.Modular): time 0.3076/1.203, allocations: 256.5 MB / 1.477 GB, free: 12.07 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03293/1.236, allocations: 18.76 MB / 1.495 GB, free: 9.262 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006341/1.242, allocations: 107.4 kB / 1.495 GB, free: 9.156 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006379/1.249, allocations: 2.224 MB / 1.497 GB, free: 6.922 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01449/1.263, allocations: 4.348 MB / 1.502 GB, free: 2.555 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.007379/1.271, allocations: 2.484 MB / 1.504 GB, free: 88 kB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01389/1.285, allocations: 7.329 MB / 1.511 GB, free: 8.742 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007562/1.292, allocations: 3.914 MB / 1.515 GB, free: 4.734 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007695/1.3, allocations: 3.06 MB / 1.518 GB, free: 1.668 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004608/1.305, allocations: 2.379 MB / 1.52 GB, free: 15.28 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.001278/1.306, allocations: 0.5039 MB / 1.521 GB, free: 14.78 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008042/1.314, allocations: 3.63 MB / 1.524 GB, free: 11.14 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.002201/1.316, allocations: 1.554 MB / 1.526 GB, free: 9.582 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.00385/1.32, allocations: 2.531 MB / 1.528 GB, free: 7.039 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01574/1.336, allocations: 9.375 MB / 1.538 GB, free: 13.63 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.336, allocations: 0 / 1.538 GB, free: 13.63 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.154e-06/1.336, allocations: 0 / 1.538 GB, free: 13.63 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0002433/1.336, allocations: 0 / 1.538 GB, free: 13.63 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 654 * Number of variables: 654 Notification: Performance of Generate backend data structure: time 0.01472/1.351, allocations: 5.692 MB / 1.543 GB, free: 7.809 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/1.351, allocations: 12.03 kB / 1.543 GB, free: 7.797 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003734/1.355, allocations: 0.8088 MB / 1.544 GB, free: 6.984 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/1.367, allocations: 6.11 MB / 1.55 GB, free: 0.8164 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/1.367, allocations: 209.1 kB / 1.55 GB, free: 0.6094 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005782/1.367, allocations: 272 kB / 1.55 GB, free: 352 kB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006073/1.374, allocations: 2.945 MB / 1.553 GB, free: 13.3 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.831e-05/1.374, allocations: 4 kB / 1.553 GB, free: 13.3 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002599/1.374, allocations: 112 kB / 1.553 GB, free: 13.19 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/1.374, allocations: 105 kB / 1.553 GB, free: 13.09 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005283/1.379, allocations: 2.421 MB / 1.556 GB, free: 10.65 MB / 1.279 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.7123/2.092, allocations: 11.04 MB / 1.567 GB, free: 327.2 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004882/2.096, allocations: 2.029 MB / 1.569 GB, free: 326.6 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00235/2.099, allocations: 0.9003 MB / 1.569 GB, free: 326.6 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007273/2.1, allocations: 0.7769 MB / 1.57 GB, free: 325.8 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002346/2.102, allocations: 0.9569 MB / 1.571 GB, free: 325.4 MB / 1.279 GB Notification: Performance of pre-optimization done (n=149): time 5.33e-06/2.102, allocations: 1.062 kB / 1.571 GB, free: 325.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=151): time 0.01752/2.12, allocations: 5.667 MB / 1.577 GB, free: 323.4 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/2.12, allocations: 209.6 kB / 1.577 GB, free: 323.1 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007991/2.128, allocations: 3.783 MB / 1.581 GB, free: 321.8 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000509/2.128, allocations: 77.39 kB / 1.581 GB, free: 321.7 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002036/2.13, allocations: 1.848 MB / 1.582 GB, free: 320.4 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007208/2.131, allocations: 0.4924 MB / 1.583 GB, free: 320.1 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006571/2.132, allocations: 350.2 kB / 1.583 GB, free: 319.9 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.429e-05/2.132, allocations: 303.2 kB / 1.584 GB, free: 319.6 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/2.133, allocations: 0.7101 MB / 1.584 GB, free: 319.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/2.135, allocations: 1.095 MB / 1.585 GB, free: 318.7 MB / 1.279 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: chi.con.vol.dynBal.medium.p = chi.con.vol.dynBal.p_start (sinCon.p = chi.con.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01077/2.146, allocations: 4.129 MB / 1.589 GB, free: 317 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/2.146, allocations: 3.906 kB / 1.589 GB, free: 317 MB / 1.279 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.007321/2.154, allocations: 2.571 MB / 1.592 GB, free: 316 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/2.154, allocations: 34.09 kB / 1.592 GB, free: 316 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/2.154, allocations: 11.66 kB / 1.592 GB, free: 316 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007724/2.154, allocations: 178.8 kB / 1.592 GB, free: 315.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/2.156, allocations: 296.7 kB / 1.592 GB, free: 315.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005179/2.161, allocations: 2.805 MB / 1.595 GB, free: 313.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/2.164, allocations: 129 kB / 1.595 GB, free: 313.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003755/2.165, allocations: 70.44 kB / 1.595 GB, free: 313.9 MB / 1.279 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: chi.con.vol.dynBal.medium.p = chi.con.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003674/2.168, allocations: 1.751 MB / 1.597 GB, free: 313.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001586/2.17, allocations: 1.095 MB / 1.598 GB, free: 312.4 MB / 1.279 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: chi.con.vol.dynBal.medium.p = chi.con.vol.dynBal.p_start (sinCon.p = chi.con.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009863/2.18, allocations: 4.118 MB / 1.602 GB, free: 310.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.899e-06/2.18, allocations: 3.531 kB / 1.602 GB, free: 310.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=209) (initialization_lambda0): time 0.007016/2.187, allocations: 2.565 MB / 1.605 GB, free: 308.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.161e-05/2.187, allocations: 33.7 kB / 1.605 GB, free: 308.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/2.187, allocations: 11.94 kB / 1.605 GB, free: 308.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/2.188, allocations: 180.1 kB / 1.605 GB, free: 308.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/2.189, allocations: 297.2 kB / 1.605 GB, free: 308.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004842/2.194, allocations: 2.804 MB / 1.608 GB, free: 305.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/2.197, allocations: 153.9 kB / 1.608 GB, free: 305.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000288/2.197, allocations: 63.98 kB / 1.608 GB, free: 305.2 MB / 1.279 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: chi.con.vol.dynBal.medium.p = chi.con.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 59 (chi.safCtr.onOffCtr.onOffFuzLog.devTurOff,$PRE.chi.safCtr.onOffCtr.onOffFuzLog.devTurOff,chi.safCtr.minVolFloRatSaf.disErr.y,$PRE.chi.safCtr.minVolFloRatSaf.disErr.y,chi.safCtr.minVolFloRatSaf.intConOne.y,chi.safCtr.minVolFloRatSaf.disErr.local_set,chi.safCtr.minVolFloRatSaf.disErr.local_reset,chi.safCtr.onOffCtr.cycRatBou.intConPluOne.y,chi.safCtr.onOffCtr.cycRatBou.triAdd.local_set,chi.safCtr.onOffCtr.cycRatBou.triAdd.local_reset,$PRE.ySet.T_start,$PRE.ySet.count,$PRE.chi.eff.hys.y,$PRE.chi.hys.y,$PRE.chi.safCtr.minVolFloRatSaf.hysEva.y,$PRE.chi.safCtr.minVolFloRatSaf.hysCon.y,$PRE.chi.safCtr.onOffCtr.runTimCtr.runTim.entryTime,$PRE.chi.safCtr.onOffCtr.locTimCtr.runTim.entryTime,$PRE.chi.safCtr.onOffCtr.cycRatBou.triAdd.y,$PRE.chi.safCtr.onOffCtr.preOnOff.u,$PRE.chi.safCtr.onOffCtr.ySetOn.y,ySet.count,ySet.T_start,chi.coo,chi.eff.hys.y,chi.hys.y,chi.safCtr.minVolFloRatSaf.hysEva.y,chi.safCtr.minVolFloRatSaf.hysCon.y,chi.safCtr.minVolFloRatSaf.booPasThr.y,chi.safCtr.onOffCtr.onOffFuzLog.devNorOpe,$PRE.chi.safCtr.onOffCtr.onOffFuzLog.devNorOpe,chi.safCtr.onOffCtr.onOffFuzLog.devRunMin,$PRE.chi.safCtr.onOffCtr.onOffFuzLog.devRunMin,chi.safCtr.onOffCtr.onOffFuzLog.staOn,chi.safCtr.onOffCtr.onOffFuzLog.staOff,chi.safCtr.onOffCtr.onOffFuzLog.turOff,$PRE.chi.safCtr.onOffCtr.onOffFuzLog.turOff,chi.safCtr.onOffCtr.onOffFuzLog.turOn,$PRE.chi.safCtr.onOffCtr.onOffFuzLog.turOn,chi.safCtr.onOffCtr.andIsAblToTurOn.y,chi.safCtr.onOffCtr.runTimCtr.runTim.entryTime,chi.safCtr.onOffCtr.notIsOn.y,chi.safCtr.onOffCtr.locTimCtr.runTim.entryTime,chi.safCtr.onOffCtr.locTimCtr.y,chi.safCtr.onOffCtr.cycRatBou.triAdd.y,chi.safCtr.onOffCtr.cycRatBou.y,chi.safCtr.onOffCtr.preOnOff.u,chi.safCtr.onOffCtr.isAblToTurOff.y,chi.safCtr.onOffCtr.ySetOn.y,$whenCondition1,$whenCondition2,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 197 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005676/2.198, allocations: 328.7 kB / 1.608 GB, free: 304.9 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/2.199, allocations: 397.5 kB / 1.609 GB, free: 304.5 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006547/2.205, allocations: 2.522 MB / 1.611 GB, free: 301.9 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005368/2.211, allocations: 2.221 MB / 1.613 GB, free: 299.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/2.211, allocations: 0 / 1.613 GB, free: 299.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001855/2.213, allocations: 0.6196 MB / 1.614 GB, free: 299 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008311/2.213, allocations: 55.86 kB / 1.614 GB, free: 298.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/2.215, allocations: 107.9 kB / 1.614 GB, free: 298.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/2.215, allocations: 149.1 kB / 1.614 GB, free: 298.7 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004366/2.22, allocations: 2.044 MB / 1.616 GB, free: 296.7 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005042/2.225, allocations: 3.133 MB / 1.619 GB, free: 293.5 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001298/2.226, allocations: 0.9121 MB / 1.62 GB, free: 292.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004252/2.23, allocations: 2.632 MB / 1.623 GB, free: 290 MB / 1.279 GB Notification: Performance of Backend: time 1.182e-06/2.23, allocations: 0 / 1.623 GB, free: 290 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.009572/2.24, allocations: 3.637 MB / 1.626 GB, free: 286.6 MB / 1.279 GB Notification: Performance of SimCode: time 0.01242/2.252, allocations: 8.102 MB / 1.634 GB, free: 278.5 MB / 1.279 GB Notification: Performance of Templates: time 0.09183/2.344, allocations: 66.8 MB / 1.699 GB, free: 212.3 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Examples.Modular.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Examples.Modular.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Examples.Modular.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Examples.Modular.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Examples.Modular.sim & ./Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Examples.Modular -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Examples.Modular.pipe 2>&1)