Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.DataCenterContinuousTimeControl,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.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_10_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.001534/0.001534, allocations: 114.5 kB / 16.42 MB, free: 6.5 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.001754/0.001754, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.346/1.346, allocations: 222.9 MB / 241.1 MB, free: 15.19 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.437/2.437, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 68.11 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7944/0.7958, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl): time 1.262/2.057, allocations: 477 MB / 1.633 GB, free: 36.3 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.09784/2.155, allocations: 73.15 MB / 1.705 GB, free: 35.15 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01568/2.171, allocations: 368.4 kB / 1.705 GB, free: 35.15 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01759/2.189, allocations: 6.108 MB / 1.711 GB, free: 34.99 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03831/2.227, allocations: 14.49 MB / 1.725 GB, free: 33.66 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02378/2.251, allocations: 9.732 MB / 1.735 GB, free: 29.25 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.05802/2.309, allocations: 44.25 MB / 1.778 GB, free: 2.027 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02561/2.334, allocations: 14.52 MB / 1.792 GB, free: 3.609 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03074/2.365, allocations: 13.94 MB / 1.806 GB, free: 6.422 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02051/2.386, allocations: 10.74 MB / 1.816 GB, free: 12.44 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.007663/2.393, allocations: 1.523 MB / 1.818 GB, free: 10.92 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02799/2.421, allocations: 9.639 MB / 1.827 GB, free: 1.984 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.008742/2.43, allocations: 4.739 MB / 1.832 GB, free: 13.31 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.01984/2.45, allocations: 8.775 MB / 1.84 GB, free: 4.582 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.0522/2.502, allocations: 27.33 MB / 1.867 GB, free: 10.11 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/2.502, allocations: 0 / 1.867 GB, free: 10.11 MB / 1.373 GB Notification: Performance of FrontEnd: time 1.543e-06/2.502, allocations: 0 / 1.867 GB, free: 10.11 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0008578/2.503, allocations: 0 / 1.867 GB, free: 10.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: 2274 * Number of variables: 2274 Notification: Performance of Generate backend data structure: time 0.04867/2.552, allocations: 17.6 MB / 1.884 GB, free: 8.465 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/2.552, allocations: 8.031 kB / 1.884 GB, free: 8.457 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02513/2.577, allocations: 3.826 MB / 1.888 GB, free: 4.625 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03369/2.611, allocations: 15.32 MB / 1.903 GB, free: 5.5 MB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009674/2.612, allocations: 0.7752 MB / 1.903 GB, free: 4.719 MB / 1.404 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003361/2.615, allocations: 0.9281 MB / 1.904 GB, free: 3.797 MB / 1.404 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0336/2.649, allocations: 12.17 MB / 1.916 GB, free: 7.305 MB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003795/2.649, allocations: 27.83 kB / 1.916 GB, free: 7.277 MB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00251/2.652, allocations: 373.7 kB / 1.917 GB, free: 6.918 MB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003753/2.652, allocations: 374.7 kB / 1.917 GB, free: 6.551 MB / 1.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02906/2.681, allocations: 11.27 MB / 1.928 GB, free: 11.26 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.09501/2.776, allocations: 53.24 MB / 1.98 GB, free: 3.34 MB / 1.482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02147/2.798, allocations: 9.61 MB / 1.989 GB, free: 9.5 MB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009744/2.808, allocations: 4.3 MB / 1.994 GB, free: 5.18 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.03525/2.843, allocations: 16.33 MB / 2.01 GB, free: 4.055 MB / 1.514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01098/2.854, allocations: 4.281 MB / 2.014 GB, free: 15.7 MB / 1.529 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006894/2.861, allocations: 0.706 MB / 2.014 GB, free: 15 MB / 1.529 GB Notification: Performance of pre-optimization done (n=595): time 4.356e-05/2.861, allocations: 7.938 kB / 2.014 GB, free: 14.99 MB / 1.529 GB Notification: Performance of matching and sorting (n=599): time 0.0635/2.924, allocations: 21.64 MB / 2.036 GB, free: 9.02 MB / 1.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/2.925, allocations: 274.3 kB / 2.036 GB, free: 8.699 MB / 1.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02389/2.949, allocations: 11.77 MB / 2.047 GB, free: 12.99 MB / 1.561 GB Notification: Performance of collectPreVariables (initialization): time 0.001702/2.95, allocations: 173.7 kB / 2.047 GB, free: 12.81 MB / 1.561 GB Notification: Performance of collectInitialEqns (initialization): time 0.007392/2.958, allocations: 6.188 MB / 2.054 GB, free: 6.641 MB / 1.561 GB Notification: Performance of collectInitialBindings (initialization): time 0.00345/2.961, allocations: 2.161 MB / 2.056 GB, free: 4.508 MB / 1.561 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006342/2.968, allocations: 1.874 MB / 2.057 GB, free: 2.621 MB / 1.561 GB Notification: Performance of setup shared object (initialization): time 8.734e-05/2.968, allocations: 301.1 kB / 2.058 GB, free: 2.324 MB / 1.561 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00994/2.978, allocations: 4.155 MB / 2.062 GB, free: 14.15 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01223/2.99, allocations: 6.37 MB / 2.068 GB, free: 6.934 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02437/3.014, allocations: 10.04 MB / 2.078 GB, free: 12.18 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001356/3.014, allocations: 23.94 kB / 2.078 GB, free: 12.16 MB / 1.592 GB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.05479/3.069, allocations: 12.31 MB / 2.09 GB, free: 15.77 MB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 9.198e-05/3.069, allocations: 30.34 kB / 2.09 GB, free: 15.75 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/3.07, allocations: 48 kB / 2.09 GB, free: 15.7 MB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00569/3.075, allocations: 0.6671 MB / 2.091 GB, free: 15.02 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01874/3.094, allocations: 1.942 MB / 2.093 GB, free: 13.07 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/3.106, allocations: 7.15 MB / 2.099 GB, free: 5.531 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01987/3.126, allocations: 0.6636 MB / 2.1 GB, free: 4.871 MB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002275/3.129, allocations: 387.8 kB / 2.101 GB, free: 4.492 MB / 1.607 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02749/3.156, allocations: 7.337 MB / 2.108 GB, free: 13.14 MB / 1.623 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01976/3.176, allocations: 6.311 MB / 2.114 GB, free: 5.988 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03534/3.211, allocations: 9.949 MB / 2.124 GB, free: 11.31 MB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.994e-05/3.211, allocations: 12 kB / 2.124 GB, free: 11.3 MB / 1.639 GB Notification: Performance of matching and sorting (n=1161) (initialization_lambda0): time 0.04831/3.26, allocations: 12.15 MB / 2.135 GB, free: 15.08 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 7.843e-05/3.26, allocations: 24 kB / 2.135 GB, free: 15.05 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001116/3.26, allocations: 48 kB / 2.135 GB, free: 15.01 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0039/3.264, allocations: 0.6013 MB / 2.136 GB, free: 14.39 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01586/3.28, allocations: 1.911 MB / 2.138 GB, free: 12.48 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/3.294, allocations: 8.869 MB / 2.147 GB, free: 3.012 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01692/3.311, allocations: 0.6871 MB / 2.147 GB, free: 2.324 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001932/3.313, allocations: 383.8 kB / 2.148 GB, free: 1.949 MB / 1.654 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.003405/3.316, allocations: 0.6817 MB / 2.148 GB, free: 1.258 MB / 1.654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004219/3.32, allocations: 1.234 MB / 2.15 GB, free: 16 kB / 1.654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02611/3.346, allocations: 9.686 MB / 2.159 GB, free: 6.242 MB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01789/3.364, allocations: 7.509 MB / 2.166 GB, free: 14.61 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/3.364, allocations: 4 kB / 2.166 GB, free: 14.61 MB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006343/3.371, allocations: 2.249 MB / 2.169 GB, free: 12.33 MB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003434/3.374, allocations: 132 kB / 2.169 GB, free: 12.2 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009455/3.384, allocations: 0.511 MB / 2.169 GB, free: 11.69 MB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001378/3.385, allocations: 440.6 kB / 2.17 GB, free: 11.25 MB / 1.686 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02838/3.413, allocations: 9.137 MB / 2.178 GB, free: 2.152 MB / 1.686 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 1.276/4.689, allocations: 13.42 MB / 2.192 GB, free: 0.7166 GB / 1.686 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007645/4.697, allocations: 3.897 MB / 2.195 GB, free: 0.7152 GB / 1.686 GB Notification: Performance of sorting global known variables: time 0.01376/4.711, allocations: 7.913 MB / 2.203 GB, free: 0.7126 GB / 1.686 GB Notification: Performance of Backend: time 1.022e-06/4.711, allocations: 0 / 2.203 GB, free: 0.7126 GB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.04351/4.754, allocations: 16.06 MB / 2.219 GB, free: 0.7076 GB / 1.686 GB Notification: Performance of SimCode: time 0.0885/4.843, allocations: 29.68 MB / 2.248 GB, free: 0.6943 GB / 1.686 GB Notification: Performance of Templates: time 0.3906/5.234, allocations: 284.2 MB / 2.525 GB, free: 430.6 MB / 1.686 GB make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.makefile (rm -f Buildings_10_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe 2>&1)