Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DataCenterContinuousTimeControl,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.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,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.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 114 kB / 16.42 MB, free: 6.461 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.002226/0.002227, allocations: 189.5 kB / 17.35 MB, free: 5.719 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.923/2.923, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 63.89 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.063, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl): time 1.497/2.56, allocations: 477 MB / 1.674 GB, free: 34.98 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1082/2.669, allocations: 73.15 MB / 1.746 GB, free: 26.51 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02202/2.691, allocations: 374.6 kB / 1.746 GB, free: 26.5 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02281/2.714, allocations: 5.979 MB / 1.752 GB, free: 25.32 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04836/2.762, allocations: 13.92 MB / 1.765 GB, free: 19.8 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02753/2.79, allocations: 9.669 MB / 1.775 GB, free: 13.95 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.07394/2.863, allocations: 44.22 MB / 1.818 GB, free: 7.332 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0348/2.898, allocations: 14.53 MB / 1.832 GB, free: 8.906 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04204/2.94, allocations: 13.89 MB / 1.846 GB, free: 11.77 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03089/2.971, allocations: 10.73 MB / 1.856 GB, free: 1.801 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.01118/2.983, allocations: 1.523 MB / 1.858 GB, free: 284 kB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03666/3.019, allocations: 9.635 MB / 1.867 GB, free: 7.348 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.01202/3.031, allocations: 4.739 MB / 1.872 GB, free: 2.676 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.02974/3.061, allocations: 8.776 MB / 1.88 GB, free: 9.941 MB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.06699/3.128, allocations: 27.22 MB / 1.907 GB, free: 15.59 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/3.128, allocations: 0 / 1.907 GB, free: 15.59 MB / 1.404 GB Notification: Performance of FrontEnd: time 2.023e-06/3.128, allocations: 0 / 1.907 GB, free: 15.59 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.001203/3.13, allocations: 4 kB / 1.907 GB, free: 15.59 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: 2274 * Number of variables: 2274 Notification: Performance of Generate backend data structure: time 0.06951/3.199, allocations: 17.1 MB / 1.924 GB, free: 14.46 MB / 1.42 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/3.199, allocations: 8.031 kB / 1.924 GB, free: 14.45 MB / 1.42 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02766/3.227, allocations: 3.743 MB / 1.927 GB, free: 10.69 MB / 1.42 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04172/3.269, allocations: 15.21 MB / 1.942 GB, free: 11.67 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001307/3.27, allocations: 0.7858 MB / 1.943 GB, free: 10.88 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004721/3.275, allocations: 0.9227 MB / 1.944 GB, free: 9.957 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0443/3.319, allocations: 12.17 MB / 1.956 GB, free: 13.46 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005472/3.32, allocations: 19.78 kB / 1.956 GB, free: 13.45 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0042/3.324, allocations: 376.8 kB / 1.956 GB, free: 13.08 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004942/3.324, allocations: 368.9 kB / 1.957 GB, free: 12.72 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0358/3.36, allocations: 11.27 MB / 1.968 GB, free: 1.43 MB / 1.451 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.1327/3.493, allocations: 53.15 MB / 2.019 GB, free: 9.582 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02962/3.523, allocations: 9.613 MB / 2.029 GB, free: 15.74 MB / 1.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01105/3.534, allocations: 4.315 MB / 2.033 GB, free: 11.41 MB / 1.529 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.04209/3.576, allocations: 16.3 MB / 2.049 GB, free: 10.3 MB / 1.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01241/3.588, allocations: 4.277 MB / 2.053 GB, free: 5.953 MB / 1.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008035/3.596, allocations: 0.6937 MB / 2.054 GB, free: 5.262 MB / 1.545 GB Notification: Performance of pre-optimization done (n=595): time 4.025e-05/3.596, allocations: 0 / 2.054 GB, free: 5.262 MB / 1.545 GB Notification: Performance of matching and sorting (n=599): time 0.08038/3.677, allocations: 21.43 MB / 2.075 GB, free: 15.48 MB / 1.576 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002004/3.677, allocations: 270.3 kB / 2.075 GB, free: 15.16 MB / 1.576 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03195/3.709, allocations: 11.76 MB / 2.086 GB, free: 3.457 MB / 1.576 GB Notification: Performance of collectPreVariables (initialization): time 0.002109/3.711, allocations: 173.7 kB / 2.087 GB, free: 3.281 MB / 1.576 GB Notification: Performance of collectInitialEqns (initialization): time 0.01015/3.721, allocations: 6.089 MB / 2.093 GB, free: 13.2 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.004137/3.725, allocations: 2.06 MB / 2.095 GB, free: 11.16 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008721/3.734, allocations: 1.865 MB / 2.096 GB, free: 9.281 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 0.0001298/3.734, allocations: 301.1 kB / 2.097 GB, free: 8.984 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01148/3.746, allocations: 4.155 MB / 2.101 GB, free: 4.809 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.016/3.762, allocations: 6.378 MB / 2.107 GB, free: 13.59 MB / 1.607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02417/3.786, allocations: 10.04 MB / 2.117 GB, free: 2.824 MB / 1.607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.712e-05/3.786, allocations: 15.94 kB / 2.117 GB, free: 2.809 MB / 1.607 GB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.0495/3.836, allocations: 12.25 MB / 2.129 GB, free: 6.477 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/3.836, allocations: 28.94 kB / 2.129 GB, free: 6.449 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001679/3.836, allocations: 44 kB / 2.129 GB, free: 6.406 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004469/3.841, allocations: 0.6627 MB / 2.129 GB, free: 5.73 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01514/3.856, allocations: 1.942 MB / 2.131 GB, free: 3.785 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/3.867, allocations: 7.152 MB / 2.138 GB, free: 12.24 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01596/3.883, allocations: 0.6527 MB / 2.139 GB, free: 11.59 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002295/3.885, allocations: 391.8 kB / 2.139 GB, free: 11.2 MB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01864/3.904, allocations: 7.324 MB / 2.147 GB, free: 3.867 MB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01258/3.916, allocations: 6.322 MB / 2.153 GB, free: 12.7 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02112/3.937, allocations: 9.957 MB / 2.162 GB, free: 2.02 MB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.946e-05/3.937, allocations: 16 kB / 2.162 GB, free: 2.004 MB / 1.654 GB Notification: Performance of matching and sorting (n=1161) (initialization_lambda0): time 0.03588/3.973, allocations: 12.08 MB / 2.174 GB, free: 5.844 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.774e-05/3.973, allocations: 24 kB / 2.174 GB, free: 5.82 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/3.974, allocations: 48 kB / 2.174 GB, free: 5.773 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002647/3.976, allocations: 0.5937 MB / 2.175 GB, free: 5.164 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009958/3.986, allocations: 1.915 MB / 2.177 GB, free: 3.246 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009042/3.995, allocations: 8.86 MB / 2.185 GB, free: 9.781 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01333/4.009, allocations: 0.6894 MB / 2.186 GB, free: 9.094 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002212/4.011, allocations: 383.8 kB / 2.186 GB, free: 8.719 MB / 1.686 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 218 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,chi.tru.y,weaData.conTim.canRepeatWeatherFile,weaData.conTimMin.canRepeatWeatherFile,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,triAndRes.conPID.I.trigger_internal,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 (1022): * Single equations (assignments): 1004 * 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.004164/4.015, allocations: 0.6833 MB / 2.187 GB, free: 8.027 MB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005307/4.02, allocations: 1.173 MB / 2.188 GB, free: 6.84 MB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.994/5.014, allocations: 9.685 MB / 2.198 GB, free: 0.6861 GB / 1.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02215/5.037, allocations: 7.493 MB / 2.205 GB, free: 0.6844 GB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.602e-05/5.037, allocations: 3.719 kB / 2.205 GB, free: 0.6844 GB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008771/5.045, allocations: 2.184 MB / 2.207 GB, free: 0.6838 GB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006275/5.052, allocations: 135.8 kB / 2.207 GB, free: 0.6837 GB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01146/5.063, allocations: 0.5109 MB / 2.208 GB, free: 0.6836 GB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002029/5.065, allocations: 433 kB / 2.208 GB, free: 0.6835 GB / 1.686 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02707/5.092, allocations: 9.137 MB / 2.217 GB, free: 0.6807 GB / 1.686 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0318/5.124, allocations: 13.35 MB / 2.23 GB, free: 0.6762 GB / 1.686 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008522/5.133, allocations: 3.898 MB / 2.234 GB, free: 0.6748 GB / 1.686 GB Notification: Performance of sorting global known variables: time 0.02049/5.153, allocations: 7.914 MB / 2.242 GB, free: 0.6722 GB / 1.686 GB Notification: Performance of Backend: time 2.084e-06/5.153, allocations: 3.203 kB / 2.242 GB, free: 0.6722 GB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.05124/5.205, allocations: 16.02 MB / 2.257 GB, free: 0.6672 GB / 1.686 GB Notification: Performance of SimCode: time 0.06833/5.273, allocations: 29.24 MB / 2.286 GB, free: 0.6453 GB / 1.686 GB Notification: Performance of Templates: time 0.3881/5.661, allocations: 289.8 MB / 2.569 GB, free: 373.1 MB / 1.686 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe 2>&1)