Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirSup.T|wseCon.TWetBul|wseCon.y1|chiCon.y|pumCHW.m_flow",fileNamePrefix="Buildings_10_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirSup.T|wseCon.TWetBul|wseCon.y1|chiCon.y|pumCHW.m_flow",fileNamePrefix="Buildings_10_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 113.6 kB / 16.42 MB, free: 6.492 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.001238/0.001238, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.356/1.356, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.474/2.474, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.89 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8384/0.8404, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl): time 1.246/2.086, allocations: 476.6 MB / 1.633 GB, free: 36.29 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.08377/2.17, allocations: 73.07 MB / 1.704 GB, free: 35.13 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01432/2.185, allocations: 362.6 kB / 1.704 GB, free: 35.13 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01564/2.2, allocations: 6.078 MB / 1.71 GB, free: 34.98 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03447/2.235, allocations: 14.46 MB / 1.725 GB, free: 33.79 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02255/2.257, allocations: 9.668 MB / 1.734 GB, free: 29.48 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.05171/2.309, allocations: 44.14 MB / 1.777 GB, free: 2.449 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02161/2.331, allocations: 14.45 MB / 1.791 GB, free: 4.109 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03216/2.363, allocations: 13.93 MB / 1.805 GB, free: 6.934 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02358/2.386, allocations: 10.71 MB / 1.815 GB, free: 12.99 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.006383/2.393, allocations: 1.516 MB / 1.817 GB, free: 11.47 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02792/2.421, allocations: 9.629 MB / 1.826 GB, free: 2.547 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.007932/2.429, allocations: 4.725 MB / 1.831 GB, free: 13.91 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.02063/2.449, allocations: 8.73 MB / 1.839 GB, free: 5.227 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.04643/2.496, allocations: 27.1 MB / 1.866 GB, free: 11 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/2.496, allocations: 0 / 1.866 GB, free: 11 MB / 1.373 GB Notification: Performance of FrontEnd: time 1.673e-06/2.496, allocations: 0 / 1.866 GB, free: 11 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0008703/2.497, allocations: 4 kB / 1.866 GB, free: 10.99 MB / 1.373 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2265 * Number of variables: 2265 Notification: Performance of Generate backend data structure: time 0.04648/2.543, allocations: 17.05 MB / 1.882 GB, free: 9.91 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/2.543, allocations: 12.03 kB / 1.882 GB, free: 9.898 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02477/2.568, allocations: 3.736 MB / 1.886 GB, free: 6.148 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03426/2.602, allocations: 15.11 MB / 1.901 GB, free: 7.215 MB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009009/2.603, allocations: 0.7749 MB / 1.902 GB, free: 6.434 MB / 1.404 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003984/2.607, allocations: 0.9279 MB / 1.902 GB, free: 5.512 MB / 1.404 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02908/2.636, allocations: 12.14 MB / 1.914 GB, free: 9.055 MB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001841/2.637, allocations: 27.77 kB / 1.914 GB, free: 9.027 MB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001195/2.638, allocations: 371.3 kB / 1.915 GB, free: 8.668 MB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003226/2.638, allocations: 370.7 kB / 1.915 GB, free: 8.305 MB / 1.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02601/2.664, allocations: 11.25 MB / 1.926 GB, free: 13.04 MB / 1.436 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.08654/2.751, allocations: 52.87 MB / 1.978 GB, free: 5.492 MB / 1.482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02015/2.771, allocations: 9.641 MB / 1.987 GB, free: 11.61 MB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009497/2.781, allocations: 4.308 MB / 1.991 GB, free: 7.281 MB / 1.498 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 evalFunc (simulation): time 0.03997/2.821, allocations: 16.39 MB / 2.007 GB, free: 6.09 MB / 1.514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01004/2.831, allocations: 4.325 MB / 2.012 GB, free: 1.688 MB / 1.514 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005564/2.836, allocations: 0.706 MB / 2.012 GB, free: 0.9844 MB / 1.514 GB Notification: Performance of pre-optimization done (n=600): time 2.467e-05/2.836, allocations: 3.938 kB / 2.012 GB, free: 0.9805 MB / 1.514 GB Notification: Performance of matching and sorting (n=604): time 0.06764/2.904, allocations: 23.28 MB / 2.035 GB, free: 9.324 MB / 1.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/2.904, allocations: 337.6 kB / 2.035 GB, free: 8.93 MB / 1.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02241/2.927, allocations: 11.68 MB / 2.047 GB, free: 13.3 MB / 1.561 GB Notification: Performance of collectPreVariables (initialization): time 0.001585/2.928, allocations: 173.1 kB / 2.047 GB, free: 13.13 MB / 1.561 GB Notification: Performance of collectInitialEqns (initialization): time 0.006641/2.935, allocations: 6.037 MB / 2.053 GB, free: 7.102 MB / 1.561 GB Notification: Performance of collectInitialBindings (initialization): time 0.002967/2.938, allocations: 2.06 MB / 2.055 GB, free: 5.059 MB / 1.561 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004656/2.942, allocations: 1.868 MB / 2.057 GB, free: 3.18 MB / 1.561 GB Notification: Performance of setup shared object (initialization): time 8.339e-05/2.943, allocations: 301.1 kB / 2.057 GB, free: 2.883 MB / 1.561 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008849/2.951, allocations: 4.159 MB / 2.061 GB, free: 14.7 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01081/2.962, allocations: 6.4 MB / 2.067 GB, free: 7.449 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01876/2.981, allocations: 10.06 MB / 2.077 GB, free: 12.66 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.322e-05/2.981, allocations: 12 kB / 2.077 GB, free: 12.65 MB / 1.592 GB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.03122/3.012, allocations: 12.27 MB / 2.089 GB, free: 308 kB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 6.03e-05/3.012, allocations: 29.88 kB / 2.089 GB, free: 280 kB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.374e-05/3.013, allocations: 48 kB / 2.089 GB, free: 232 kB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003067/3.016, allocations: 0.6676 MB / 2.09 GB, free: 15.55 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008745/3.024, allocations: 1.942 MB / 2.092 GB, free: 13.6 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00665/3.031, allocations: 7.141 MB / 2.099 GB, free: 6.062 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01118/3.042, allocations: 0.6517 MB / 2.099 GB, free: 5.41 MB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00151/3.044, allocations: 395.8 kB / 2.1 GB, free: 5.023 MB / 1.607 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01701/3.061, allocations: 7.31 MB / 2.107 GB, free: 13.7 MB / 1.623 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01109/3.072, allocations: 6.345 MB / 2.113 GB, free: 6.504 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01858/3.091, allocations: 9.946 MB / 2.123 GB, free: 11.82 MB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.788e-05/3.091, allocations: 20 kB / 2.123 GB, free: 11.8 MB / 1.639 GB Notification: Performance of matching and sorting (n=1165) (initialization_lambda0): time 0.02723/3.118, allocations: 12.08 MB / 2.134 GB, free: 15.64 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/3.118, allocations: 24 kB / 2.135 GB, free: 15.62 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.617e-05/3.118, allocations: 48 kB / 2.135 GB, free: 15.57 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00252/3.121, allocations: 0.5887 MB / 2.135 GB, free: 14.97 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008744/3.129, allocations: 1.907 MB / 2.137 GB, free: 13.06 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008698/3.138, allocations: 8.871 MB / 2.146 GB, free: 3.586 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01213/3.15, allocations: 0.6998 MB / 2.146 GB, free: 2.891 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001608/3.152, allocations: 383.8 kB / 2.147 GB, free: 2.516 MB / 1.654 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 220 * Number of states: 0 () * Number of discrete variables: 71 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,triAndRes.firstTrigger,$PRE.triAndRes.firstTrigger,triAndRes.sampleTrigger,$whenCondition10,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.sampleTrigger,$whenCondition8,triAndRes.uniDel1.sampleTrigger,$whenCondition9,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,chi.tru.y,weaData.conTim.canRepeatWeatherFile,weaData.conTimMin.canRepeatWeatherFile,triAndRes.uniDel1.y,$PRE.triAndRes.uniDel1.y,triAndRes.sam.y,triAndRes.incY.y,or1.y,or1.u1,weaData.decAng.tNext,$PRE.weaData.decAng.tNext,weaData.eqnTim.tNext,$PRE.weaData.eqnTim.tNext,weaData.conTim.tNext,$PRE.weaData.conTim.tNext,weaData.conTimMin.tNext,$PRE.weaData.conTimMin.tNext,weaData.locTim.tNext,$PRE.weaData.locTim.tNext,chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.localCondition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.localCondition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1026): * Single equations (assignments): 1008 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,9), (1,2), (2,9), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002883/3.155, allocations: 0.69 MB / 2.147 GB, free: 1.816 MB / 1.654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003619/3.158, allocations: 1.165 MB / 2.149 GB, free: 0.6367 MB / 1.654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02311/3.181, allocations: 9.708 MB / 2.158 GB, free: 6.832 MB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01658/3.198, allocations: 7.541 MB / 2.165 GB, free: 15.18 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/3.198, allocations: 0 / 2.165 GB, free: 15.18 MB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006312/3.204, allocations: 2.176 MB / 2.167 GB, free: 12.97 MB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003121/3.208, allocations: 143.9 kB / 2.168 GB, free: 12.83 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00878/3.216, allocations: 0.5232 MB / 2.168 GB, free: 12.3 MB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001166/3.218, allocations: 444.6 kB / 2.169 GB, free: 11.87 MB / 1.686 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02506/3.243, allocations: 9.253 MB / 2.178 GB, free: 2.648 MB / 1.686 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.7212/3.964, allocations: 13.46 MB / 2.191 GB, free: 0.7198 GB / 1.686 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00708/3.971, allocations: 3.927 MB / 2.195 GB, free: 0.7184 GB / 1.686 GB Notification: Performance of sorting global known variables: time 0.01594/3.987, allocations: 7.865 MB / 2.202 GB, free: 0.7158 GB / 1.686 GB Notification: Performance of Backend: time 1.123e-06/3.987, allocations: 0 / 2.202 GB, free: 0.7158 GB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.04795/4.035, allocations: 16.03 MB / 2.218 GB, free: 0.7109 GB / 1.686 GB Notification: Performance of SimCode: time 0.06189/4.097, allocations: 29.08 MB / 2.246 GB, free: 0.6994 GB / 1.686 GB Notification: Performance of Templates: time 0.3691/4.466, allocations: 284.2 MB / 2.524 GB, free: 436.3 MB / 1.686 GB make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.makefile (rm -f Buildings_10_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe 2>&1)