Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 106.5 kB / 16.37 MB, free: 6.312 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.001577/0.001577, allocations: 187.4 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001654, allocations: 63.91 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2287, allocations: 114.6 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode): time 0.004271/0.233, allocations: 2.165 MB / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.2348, allocations: 0.9166 MB / 0.7878 GB, free: 16 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.2351, allocations: 7.938 kB / 0.7878 GB, free: 8 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.4666/0.7018, allocations: 51.34 kB / 0.7879 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.7023, allocations: 62.72 kB / 0.7879 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007591/0.703, allocations: 247.1 kB / 0.7882 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006158/0.7037, allocations: 0.6523 MB / 0.7888 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004437/0.7041, allocations: 419.1 kB / 0.7892 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.7043, allocations: 217.7 kB / 0.7894 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.7045, allocations: 235 kB / 0.7896 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.7046, allocations: 65.62 kB / 0.7897 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.7047, allocations: 82.08 kB / 0.7898 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.7048, allocations: 141.5 kB / 0.7899 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.705, allocations: 247.2 kB / 0.7901 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005163/0.7055, allocations: 0.6865 MB / 0.7908 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7055, allocations: 2.688 kB / 0.7908 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7055, allocations: 3.938 kB / 0.7908 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.7056, allocations: 0 / 0.7908 GB, free: 46.32 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001133/0.7067, allocations: 0.7577 MB / 0.7916 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.7067, allocations: 7.875 kB / 0.7916 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.222e-05/0.7068, allocations: 50.62 kB / 0.7916 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.7072, allocations: 344.2 kB / 0.7919 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.7072, allocations: 50.81 kB / 0.792 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.414e-05/0.7073, allocations: 52.69 kB / 0.792 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008254/0.7082, allocations: 0.5264 MB / 0.7926 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.7082, allocations: 0 / 0.7926 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.7082, allocations: 16.5 kB / 0.7926 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.7083, allocations: 18.03 kB / 0.7926 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.709, allocations: 450.2 kB / 0.793 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.7108, allocations: 1.393 MB / 0.7944 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007179/0.7115, allocations: 410.5 kB / 0.7948 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.7119, allocations: 206.8 kB / 0.795 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.734e-05/0.7119, allocations: 7.406 kB / 0.795 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004708/0.7124, allocations: 267.3 kB / 0.7952 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=52): time 2.314e-06/0.7124, allocations: 0.5938 kB / 0.7952 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=52): time 0.001045/0.7135, allocations: 0.5475 MB / 0.7958 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.7135, allocations: 63.61 kB / 0.7958 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.7138, allocations: 275 kB / 0.7961 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.7138, allocations: 56.34 kB / 0.7961 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.7139, allocations: 192.6 kB / 0.7963 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.082e-05/0.714, allocations: 127.2 kB / 0.7964 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.7142, allocations: 149 kB / 0.7966 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.65e-05/0.7143, allocations: 346.8 kB / 0.7969 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.7146, allocations: 182.4 kB / 0.7971 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.7151, allocations: 268.8 kB / 0.7974 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/0.7157, allocations: 414.8 kB / 0.7977 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.7157, allocations: 0.5156 kB / 0.7977 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.000884/0.7166, allocations: 0.5608 MB / 0.7983 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.7167, allocations: 36.05 kB / 0.7983 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.7167, allocations: 3.797 kB / 0.7983 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.7167, allocations: 5.344 kB / 0.7983 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.717, allocations: 71.66 kB / 0.7984 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.717, allocations: 9.906 kB / 0.7984 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.7174, allocations: 98.78 kB / 0.7985 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.7174, allocations: 21.84 kB / 0.7985 GB, free: 43.08 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,cooModCon.swi.expr[3],cooModCon.swi.expr[2],cooModCon.swi.expr[1],cooModCon.con3.localCondition,TCHWLeaWSE.count,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.T_start,cooModCon.swi.firstActiveIndex,cooModCon.swi.y,$PRE.cooModCon.swi.y,cooModCon.stateGraphRoot.activeSteps,cooModCon.con4.t_start,$PRE.cooModCon.con4.t_start,cooModCon.con4.fire,cooModCon.con4.enableFire,cooModCon.con4.localCondition,cooModCon.con3.t_start,$PRE.cooModCon.con3.t_start,cooModCon.con3.fire,cooModCon.con3.enableFire,cooModCon.con2.t_start,$PRE.cooModCon.con2.t_start,cooModCon.con2.fire,cooModCon.con2.enableFire,cooModCon.con2.localCondition,cooModCon.fulMecCoo.active,cooModCon.fulMecCoo.oldActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.freCoo.active,cooModCon.freCoo.oldActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.localActive,cooModCon.parMecCoo.active,cooModCon.parMecCoo.oldActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.localActive,$PRE.cooModCon.parMecCoo.localActive,cooModCon.con1.t_start,$PRE.cooModCon.con1.t_start,cooModCon.con1.fire,cooModCon.con1.enableFire,cooModCon.con1.localCondition,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.7176, allocations: 233.5 kB / 0.7988 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.7177, allocations: 30.72 kB / 0.7988 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009071/0.7186, allocations: 484.1 kB / 0.7992 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.7186, allocations: 1.922 kB / 0.7992 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.7186, allocations: 4 kB / 0.7992 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.7187, allocations: 117.9 kB / 0.7994 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.7188, allocations: 13 kB / 0.7994 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.719, allocations: 44.78 kB / 0.7994 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.7192, allocations: 63.92 kB / 0.7995 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001028/0.7202, allocations: 0.5578 MB / 0.8 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008774/0.7211, allocations: 0.6184 MB / 0.8006 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000396/0.7215, allocations: 227.9 kB / 0.8008 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001398/0.7217, allocations: 173.3 kB / 0.801 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of Backend: time 9.91e-07/0.7217, allocations: 0 / 0.801 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.7228, allocations: 462 kB / 0.8014 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001358/0.7241, allocations: 1.019 MB / 0.8024 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.01496/0.7391, allocations: 5.565 MB / 0.8079 GB, free: 40.5 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)