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.001159/0.001159, allocations: 111.2 kB / 16.42 MB, free: 6.504 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.001208/0.001208, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.503/2.503, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 64.12 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8454/0.8467, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl): time 1.197/2.044, allocations: 476.6 MB / 1.633 GB, free: 36.34 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.08315/2.127, allocations: 73.07 MB / 1.704 GB, free: 35.19 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01733/2.144, allocations: 359.3 kB / 1.704 GB, free: 35.19 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01494/2.159, allocations: 6.078 MB / 1.71 GB, free: 35.03 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03721/2.196, allocations: 14.46 MB / 1.725 GB, free: 33.82 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.0214/2.218, allocations: 9.674 MB / 1.734 GB, free: 29.47 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.05083/2.269, allocations: 44.11 MB / 1.777 GB, free: 2.523 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02113/2.29, allocations: 14.42 MB / 1.791 GB, free: 4.223 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02919/2.319, allocations: 13.92 MB / 1.805 GB, free: 7.055 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0201/2.339, allocations: 10.71 MB / 1.815 GB, free: 13.11 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.006869/2.346, allocations: 1.518 MB / 1.817 GB, free: 11.6 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0335/2.38, allocations: 9.625 MB / 1.826 GB, free: 2.676 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.01107/2.391, allocations: 4.737 MB / 1.831 GB, free: 14.03 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.02195/2.413, allocations: 8.727 MB / 1.839 GB, free: 5.352 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.05121/2.464, allocations: 27.2 MB / 1.866 GB, free: 11 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/2.464, allocations: 0 / 1.866 GB, free: 11 MB / 1.373 GB Notification: Performance of FrontEnd: time 2.064e-06/2.464, allocations: 8 kB / 1.866 GB, free: 11 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0008226/2.465, allocations: 0 / 1.866 GB, free: 11 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.05026/2.515, allocations: 17.56 MB / 1.883 GB, free: 9.395 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/2.515, allocations: 8.031 kB / 1.883 GB, free: 9.387 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02534/2.54, allocations: 3.821 MB / 1.887 GB, free: 5.562 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03475/2.575, allocations: 15.22 MB / 1.902 GB, free: 6.535 MB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00103/2.576, allocations: 0.7749 MB / 1.902 GB, free: 5.754 MB / 1.404 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003571/2.58, allocations: 0.9201 MB / 1.903 GB, free: 4.836 MB / 1.404 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03407/2.614, allocations: 12.15 MB / 1.915 GB, free: 8.367 MB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004727/2.615, allocations: 19.83 kB / 1.915 GB, free: 8.348 MB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00335/2.618, allocations: 370.7 kB / 1.915 GB, free: 7.988 MB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004572/2.618, allocations: 370.7 kB / 1.916 GB, free: 7.625 MB / 1.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03084/2.649, allocations: 11.25 MB / 1.927 GB, free: 12.35 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.0904/2.74, allocations: 52.96 MB / 1.979 GB, free: 4.723 MB / 1.482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02041/2.76, allocations: 9.646 MB / 1.988 GB, free: 10.84 MB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01058/2.771, allocations: 4.302 MB / 1.992 GB, free: 6.512 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.03609/2.807, allocations: 16.42 MB / 2.008 GB, free: 5.293 MB / 1.514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009891/2.817, allocations: 4.32 MB / 2.012 GB, free: 0.8945 MB / 1.514 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005311/2.822, allocations: 0.7207 MB / 2.013 GB, free: 184 kB / 1.514 GB Notification: Performance of pre-optimization done (n=600): time 2.2e-05/2.822, allocations: 0 / 2.013 GB, free: 184 kB / 1.514 GB Notification: Performance of matching and sorting (n=604): time 0.06549/2.888, allocations: 23.65 MB / 2.036 GB, free: 8.203 MB / 1.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001726/2.888, allocations: 337.5 kB / 2.036 GB, free: 7.812 MB / 1.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02473/2.913, allocations: 11.69 MB / 2.048 GB, free: 12.18 MB / 1.561 GB Notification: Performance of collectPreVariables (initialization): time 0.001685/2.914, allocations: 173.7 kB / 2.048 GB, free: 12 MB / 1.561 GB Notification: Performance of collectInitialEqns (initialization): time 0.007088/2.921, allocations: 6.126 MB / 2.054 GB, free: 5.895 MB / 1.561 GB Notification: Performance of collectInitialBindings (initialization): time 0.003151/2.925, allocations: 2.155 MB / 2.056 GB, free: 3.77 MB / 1.561 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005842/2.93, allocations: 1.878 MB / 2.058 GB, free: 1.879 MB / 1.561 GB Notification: Performance of setup shared object (initialization): time 0.0001091/2.931, allocations: 301.1 kB / 2.058 GB, free: 1.582 MB / 1.561 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009704/2.94, allocations: 4.155 MB / 2.062 GB, free: 13.4 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0121/2.952, allocations: 6.404 MB / 2.069 GB, free: 6.148 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02152/2.974, allocations: 10.06 MB / 2.078 GB, free: 11.36 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.261e-05/2.974, allocations: 19.94 kB / 2.078 GB, free: 11.34 MB / 1.592 GB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.03379/3.008, allocations: 12.33 MB / 2.09 GB, free: 14.95 MB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-05/3.008, allocations: 24 kB / 2.091 GB, free: 14.92 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/3.008, allocations: 52 kB / 2.091 GB, free: 14.87 MB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003155/3.011, allocations: 0.6709 MB / 2.091 GB, free: 14.19 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009653/3.021, allocations: 1.942 MB / 2.093 GB, free: 12.24 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007226/3.028, allocations: 7.143 MB / 2.1 GB, free: 4.699 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01212/3.04, allocations: 0.6621 MB / 2.101 GB, free: 4.039 MB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002036/3.042, allocations: 387.8 kB / 2.101 GB, free: 3.66 MB / 1.607 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01768/3.06, allocations: 7.312 MB / 2.108 GB, free: 12.34 MB / 1.623 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01146/3.072, allocations: 6.333 MB / 2.114 GB, free: 5.148 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02042/3.092, allocations: 9.946 MB / 2.124 GB, free: 10.47 MB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.052e-05/3.092, allocations: 23.98 kB / 2.124 GB, free: 10.45 MB / 1.639 GB Notification: Performance of matching and sorting (n=1165) (initialization_lambda0): time 0.03033/3.123, allocations: 12.14 MB / 2.136 GB, free: 14.23 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-05/3.123, allocations: 30.03 kB / 2.136 GB, free: 14.2 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-05/3.123, allocations: 48 kB / 2.136 GB, free: 14.15 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002526/3.125, allocations: 0.5945 MB / 2.137 GB, free: 13.54 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008899/3.134, allocations: 1.903 MB / 2.139 GB, free: 11.64 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008841/3.143, allocations: 8.866 MB / 2.147 GB, free: 2.172 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01156/3.155, allocations: 0.6953 MB / 2.148 GB, free: 1.477 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001883/3.157, allocations: 387.8 kB / 2.148 GB, free: 1.098 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.003193/3.16, allocations: 0.6939 MB / 2.149 GB, free: 408 kB / 1.654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004311/3.164, allocations: 1.227 MB / 2.15 GB, free: 15.16 MB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02684/3.191, allocations: 9.712 MB / 2.16 GB, free: 5.352 MB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01948/3.21, allocations: 7.537 MB / 2.167 GB, free: 13.7 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.361e-05/3.211, allocations: 4 kB / 2.167 GB, free: 13.7 MB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007069/3.218, allocations: 2.242 MB / 2.169 GB, free: 11.43 MB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003714/3.221, allocations: 139.9 kB / 2.169 GB, free: 11.29 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009349/3.231, allocations: 0.5233 MB / 2.17 GB, free: 10.77 MB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00146/3.232, allocations: 440.7 kB / 2.17 GB, free: 10.33 MB / 1.686 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02699/3.259, allocations: 9.263 MB / 2.179 GB, free: 1.105 MB / 1.686 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 1.515/4.775, allocations: 13.52 MB / 2.192 GB, free: 0.7167 GB / 1.686 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00688/4.782, allocations: 3.923 MB / 2.196 GB, free: 0.7153 GB / 1.686 GB Notification: Performance of sorting global known variables: time 0.0179/4.799, allocations: 7.865 MB / 2.204 GB, free: 0.7127 GB / 1.686 GB Notification: Performance of Backend: time 3.01e-07/4.8, allocations: 3.594 kB / 2.204 GB, free: 0.7127 GB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.04885/4.848, allocations: 16.07 MB / 2.22 GB, free: 0.7078 GB / 1.686 GB Notification: Performance of SimCode: time 0.07325/4.922, allocations: 29.53 MB / 2.249 GB, free: 0.6936 GB / 1.686 GB Notification: Performance of Templates: time 0.4076/5.329, allocations: 284.2 MB / 2.526 GB, free: 429.6 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)