Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001431/0.001431, allocations: 114.8 kB / 16.42 MB, free: 6.02 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.001653/0.001653, allocations: 183.8 kB / 17.35 MB, free: 5.625 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.402/1.402, allocations: 222.9 MB / 241.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.591/2.591, allocations: 472.7 MB / 0.746 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 63.91 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9083/0.9099, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl): time 1.437/2.347, allocations: 476.6 MB / 1.692 GB, free: 34.28 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1074/2.454, allocations: 73.08 MB / 1.763 GB, free: 21.83 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02838/2.483, allocations: 359.7 kB / 1.764 GB, free: 21.83 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02206/2.505, allocations: 6.096 MB / 1.769 GB, free: 19.6 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04534/2.55, allocations: 14.46 MB / 1.784 GB, free: 12.46 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02944/2.58, allocations: 9.664 MB / 1.793 GB, free: 6.113 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.07498/2.655, allocations: 44.12 MB / 1.836 GB, free: 11.58 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03538/2.69, allocations: 14.43 MB / 1.85 GB, free: 13.25 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04144/2.732, allocations: 13.93 MB / 1.864 GB, free: 80 kB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02578/2.757, allocations: 10.71 MB / 1.874 GB, free: 6.129 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.009706/2.767, allocations: 1.516 MB / 1.876 GB, free: 4.613 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03181/2.799, allocations: 9.622 MB / 1.885 GB, free: 11.7 MB / 1.373 GB Notification: Performance of NFScalarize.scalarize: time 0.01098/2.81, allocations: 4.726 MB / 1.89 GB, free: 7.043 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.02659/2.837, allocations: 8.73 MB / 1.898 GB, free: 14.36 MB / 1.389 GB Notification: Performance of NFConvertDAE.convert: time 0.06492/2.902, allocations: 27.19 MB / 1.925 GB, free: 4.023 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/2.902, allocations: 3.938 kB / 1.925 GB, free: 4.02 MB / 1.404 GB Notification: Performance of FrontEnd: time 2.765e-06/2.902, allocations: 0 / 1.925 GB, free: 4.02 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.001097/2.903, allocations: 4 kB / 1.925 GB, free: 4.016 MB / 1.404 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.06316/2.966, allocations: 17.56 MB / 1.942 GB, free: 2.398 MB / 1.42 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/2.966, allocations: 8.031 kB / 1.942 GB, free: 2.391 MB / 1.42 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02721/2.993, allocations: 3.822 MB / 1.946 GB, free: 14.56 MB / 1.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04269/3.036, allocations: 15.21 MB / 1.961 GB, free: 15.55 MB / 1.451 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001192/3.037, allocations: 0.7744 MB / 1.961 GB, free: 14.77 MB / 1.451 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004135/3.041, allocations: 0.9237 MB / 1.962 GB, free: 13.85 MB / 1.451 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03628/3.078, allocations: 12.15 MB / 1.974 GB, free: 1.383 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004367/3.078, allocations: 27.81 kB / 1.974 GB, free: 1.355 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002975/3.081, allocations: 373.7 kB / 1.974 GB, free: 0.9961 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004307/3.082, allocations: 368.9 kB / 1.975 GB, free: 0.6328 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03193/3.113, allocations: 11.25 MB / 1.986 GB, free: 5.363 MB / 1.467 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.108/3.221, allocations: 52.97 MB / 2.038 GB, free: 13.71 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/3.243, allocations: 9.631 MB / 2.047 GB, free: 3.844 MB / 1.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009526/3.253, allocations: 4.307 MB / 2.051 GB, free: 15.52 MB / 1.545 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.03633/3.289, allocations: 16.42 MB / 2.067 GB, free: 14.29 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01121/3.3, allocations: 4.317 MB / 2.071 GB, free: 9.895 MB / 1.561 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007509/3.308, allocations: 0.7227 MB / 2.072 GB, free: 9.176 MB / 1.561 GB Notification: Performance of pre-optimization done (n=600): time 3.176e-05/3.308, allocations: 0 / 2.072 GB, free: 9.176 MB / 1.561 GB Notification: Performance of matching and sorting (n=604): time 0.071/3.379, allocations: 23.65 MB / 2.095 GB, free: 1.195 MB / 1.576 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002485/3.379, allocations: 333.7 kB / 2.096 GB, free: 0.8047 MB / 1.576 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03421/3.414, allocations: 11.69 MB / 2.107 GB, free: 5.176 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.002439/3.416, allocations: 181.7 kB / 2.107 GB, free: 4.992 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.009247/3.425, allocations: 6.128 MB / 2.113 GB, free: 14.88 MB / 1.607 GB Notification: Performance of collectInitialBindings (initialization): time 0.003947/3.429, allocations: 2.155 MB / 2.115 GB, free: 12.76 MB / 1.607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007585/3.437, allocations: 1.874 MB / 2.117 GB, free: 10.87 MB / 1.607 GB Notification: Performance of setup shared object (initialization): time 0.0001029/3.437, allocations: 305.1 kB / 2.117 GB, free: 10.57 MB / 1.607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01038/3.447, allocations: 4.159 MB / 2.121 GB, free: 6.387 MB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01229/3.46, allocations: 6.4 MB / 2.128 GB, free: 15.14 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02274/3.483, allocations: 10.06 MB / 2.137 GB, free: 4.34 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001004/3.483, allocations: 16 kB / 2.137 GB, free: 4.324 MB / 1.623 GB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.0368/3.519, allocations: 12.33 MB / 2.15 GB, free: 7.922 MB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/3.52, allocations: 24 kB / 2.15 GB, free: 7.898 MB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/3.52, allocations: 48 kB / 2.15 GB, free: 7.852 MB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003313/3.523, allocations: 0.6627 MB / 2.15 GB, free: 7.176 MB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01032/3.533, allocations: 1.938 MB / 2.152 GB, free: 5.234 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007854/3.541, allocations: 7.16 MB / 2.159 GB, free: 13.69 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01447/3.556, allocations: 0.6649 MB / 2.16 GB, free: 13.03 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00285/3.559, allocations: 391.8 kB / 2.16 GB, free: 12.64 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02228/3.581, allocations: 7.305 MB / 2.167 GB, free: 5.328 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01346/3.595, allocations: 6.329 MB / 2.173 GB, free: 14.14 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02277/3.617, allocations: 9.954 MB / 2.183 GB, free: 3.457 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001175/3.618, allocations: 12 kB / 2.183 GB, free: 3.445 MB / 1.67 GB Notification: Performance of matching and sorting (n=1165) (initialization_lambda0): time 0.0366/3.654, allocations: 12.15 MB / 2.195 GB, free: 7.219 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 8.715e-05/3.654, allocations: 27.12 kB / 2.195 GB, free: 7.195 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/3.654, allocations: 48 kB / 2.195 GB, free: 7.148 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002656/3.657, allocations: 0.5998 MB / 2.196 GB, free: 6.535 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009614/3.667, allocations: 1.903 MB / 2.198 GB, free: 4.629 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9211/4.588, allocations: 8.862 MB / 2.206 GB, free: 0.6643 GB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.014/4.602, allocations: 0.691 MB / 2.207 GB, free: 0.6643 GB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002937/4.605, allocations: 384.1 kB / 2.207 GB, free: 0.6643 GB / 1.686 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.003135/4.608, allocations: 0.6934 MB / 2.208 GB, free: 0.6641 GB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004885/4.613, allocations: 1.225 MB / 2.209 GB, free: 0.6641 GB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02894/4.642, allocations: 9.719 MB / 2.219 GB, free: 0.663 GB / 1.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01771/4.66, allocations: 7.526 MB / 2.226 GB, free: 0.6602 GB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.372e-05/4.66, allocations: 0 / 2.226 GB, free: 0.6602 GB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007385/4.667, allocations: 2.243 MB / 2.228 GB, free: 0.6596 GB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004246/4.671, allocations: 138.4 kB / 2.228 GB, free: 0.6595 GB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009624/4.681, allocations: 0.5267 MB / 2.229 GB, free: 0.6594 GB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001497/4.683, allocations: 436.8 kB / 2.229 GB, free: 0.6594 GB / 1.686 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02438/4.707, allocations: 9.258 MB / 2.238 GB, free: 0.6565 GB / 1.686 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02721/4.734, allocations: 13.53 MB / 2.252 GB, free: 0.6519 GB / 1.686 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008823/4.743, allocations: 3.924 MB / 2.255 GB, free: 0.6505 GB / 1.686 GB Notification: Performance of sorting global known variables: time 0.01633/4.759, allocations: 7.86 MB / 2.263 GB, free: 0.6479 GB / 1.686 GB Notification: Performance of Backend: time 1.262e-06/4.759, allocations: 0 / 2.263 GB, free: 0.6479 GB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.04404/4.804, allocations: 16.07 MB / 2.279 GB, free: 0.6429 GB / 1.686 GB Notification: Performance of SimCode: time 0.05756/4.861, allocations: 29.53 MB / 2.308 GB, free: 0.616 GB / 1.686 GB Notification: Performance of Templates: time 0.3789/5.24, allocations: 284.1 MB / 2.585 GB, free: 348.8 MB / 1.686 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe 2>&1)