Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.ModularReversible.Examples.Modular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Examples.Modular") translateModel(IBPSA.Fluid.Chillers.ModularReversible.Examples.Modular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00117/0.00117, allocations: 115.1 kB / 17.09 MB, free: 5.953 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.001249/0.001249, allocations: 198.9 kB / 18.03 MB, free: 5.035 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.379/1.379, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7853/0.7853, allocations: 126.1 MB / 417.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.44 kB / 0.5737 GB, free: 27.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2216, allocations: 78.7 MB / 0.6506 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.ModularReversible.Examples.Modular): time 0.7602/0.9819, allocations: 256.4 MB / 0.901 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02964/1.012, allocations: 18.77 MB / 0.9194 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006939/1.019, allocations: 99.5 kB / 0.9195 GB, free: 0.875 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006363/1.025, allocations: 2.22 MB / 0.9216 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01371/1.039, allocations: 4.35 MB / 0.9259 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007506/1.046, allocations: 2.492 MB / 0.9283 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01319/1.059, allocations: 7.326 MB / 0.9355 GB, free: 476 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00735/1.067, allocations: 3.9 MB / 0.9393 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007519/1.074, allocations: 3.068 MB / 0.9423 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004722/1.079, allocations: 2.378 MB / 0.9446 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001554/1.081, allocations: 0.5039 MB / 0.9451 GB, free: 6.516 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008931/1.09, allocations: 3.63 MB / 0.9486 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0028/1.092, allocations: 1.55 MB / 0.9501 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00629/1.099, allocations: 2.539 MB / 0.9526 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0173/1.116, allocations: 9.379 MB / 0.9618 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.116, allocations: 0 / 0.9618 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/1.116, allocations: 0 / 0.9618 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002923/1.116, allocations: 0 / 0.9618 GB, free: 5.363 MB / 0.7169 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.01626/1.133, allocations: 5.693 MB / 0.9673 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.133, allocations: 16.03 kB / 0.9673 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004078/1.137, allocations: 0.8011 MB / 0.9681 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/1.148, allocations: 6.107 MB / 0.9741 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/1.148, allocations: 209.1 kB / 0.9743 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008707/1.149, allocations: 276 kB / 0.9746 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005965/1.155, allocations: 2.943 MB / 0.9774 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.866e-05/1.155, allocations: 4 kB / 0.9774 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000252/1.155, allocations: 108 kB / 0.9775 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/1.155, allocations: 113 kB / 0.9776 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00479/1.16, allocations: 2.417 MB / 0.98 GB, free: 2.387 MB / 0.7325 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.01871/1.179, allocations: 11.05 MB / 0.9908 GB, free: 6.949 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003801/1.183, allocations: 2.04 MB / 0.9928 GB, free: 4.816 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/1.184, allocations: 0.8988 MB / 0.9937 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000895/1.185, allocations: 0.7766 MB / 0.9944 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002089/1.188, allocations: 0.9462 MB / 0.9953 GB, free: 2.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=149): time 4.939e-06/1.188, allocations: 0 / 0.9953 GB, free: 2.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=151): time 0.01706/1.205, allocations: 5.678 MB / 1.001 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.205, allocations: 209.2 kB / 1.001 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008562/1.213, allocations: 3.779 MB / 1.005 GB, free: 8.215 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0005161/1.214, allocations: 85.62 kB / 1.005 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002481/1.216, allocations: 1.843 MB / 1.007 GB, free: 6.27 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008092/1.217, allocations: 0.4958 MB / 1.007 GB, free: 5.77 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/1.218, allocations: 347.5 kB / 1.007 GB, free: 5.422 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.218, allocations: 305.1 kB / 1.008 GB, free: 5.121 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/1.22, allocations: 0.7075 MB / 1.008 GB, free: 4.41 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/1.222, allocations: 1.1 MB / 1.01 GB, free: 3.18 MB / 0.7637 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.01135/1.234, allocations: 4.143 MB / 1.014 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/1.234, allocations: 0 / 1.014 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.007476/1.241, allocations: 2.571 MB / 1.016 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/1.241, allocations: 35.58 kB / 1.016 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/1.241, allocations: 8 kB / 1.016 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006862/1.242, allocations: 168.9 kB / 1.016 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/1.243, allocations: 299.5 kB / 1.017 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005535/1.249, allocations: 2.806 MB / 1.019 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/1.252, allocations: 135.9 kB / 1.019 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002921/1.252, allocations: 67.98 kB / 1.02 GB, free: 8.68 MB / 0.7794 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.00454/1.257, allocations: 1.746 MB / 1.021 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001944/1.259, allocations: 1.084 MB / 1.022 GB, free: 5.715 MB / 0.7794 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.01099/1.27, allocations: 4.12 MB / 1.026 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.665e-06/1.27, allocations: 0 / 1.026 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of matching and sorting (n=209) (initialization_lambda0): time 0.007557/1.277, allocations: 2.559 MB / 1.029 GB, free: 14.89 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/1.277, allocations: 37.69 kB / 1.029 GB, free: 14.85 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/1.277, allocations: 8 kB / 1.029 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006689/1.278, allocations: 184.9 kB / 1.029 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/1.279, allocations: 299.5 kB / 1.029 GB, free: 14.37 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005594/1.285, allocations: 2.804 MB / 1.032 GB, free: 11.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/1.288, allocations: 167.7 kB / 1.032 GB, free: 11.26 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003102/1.288, allocations: 63.98 kB / 1.032 GB, free: 11.2 MB / 0.795 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.0007502/1.289, allocations: 325.4 kB / 1.033 GB, free: 10.88 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/1.291, allocations: 389.5 kB / 1.033 GB, free: 10.5 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008642/1.299, allocations: 2.532 MB / 1.035 GB, free: 7.945 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006062/1.306, allocations: 2.229 MB / 1.038 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.306, allocations: 0 / 1.038 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/1.308, allocations: 0.6196 MB / 1.038 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/1.309, allocations: 47.98 kB / 1.038 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/1.311, allocations: 115.8 kB / 1.038 GB, free: 4.824 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004057/1.311, allocations: 145.1 kB / 1.038 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005402/1.317, allocations: 2.044 MB / 1.04 GB, free: 2.625 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006261/1.323, allocations: 3.137 MB / 1.044 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001637/1.325, allocations: 0.9082 MB / 1.044 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.006282/1.331, allocations: 2.64 MB / 1.047 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of Backend: time 3.236e-06/1.331, allocations: 0 / 1.047 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01259/1.343, allocations: 3.613 MB / 1.051 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0202/1.364, allocations: 8.105 MB / 1.058 GB, free: 280 kB / 0.8106 GB Notification: Performance of Templates: time 0.4751/1.839, allocations: 66.61 MB / 1.124 GB, free: 278 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Examples.Modular.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Examples.Modular.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Examples.Modular.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Examples.Modular.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Examples.Modular.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Examples.Modular -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Examples.Modular.pipe 2>&1)