Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001297/0.001297, allocations: 114.6 kB / 16.81 MB, free: 5.766 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.001248/0.001248, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.449/1.449, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.06 kB / 1.097 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3915, allocations: 168.7 MB / 1.262 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl): time 1.388/1.78, allocations: 479.6 MB / 1.73 GB, free: 22.65 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.1064/1.886, allocations: 73.36 MB / 1.802 GB, free: 3.969 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02064/1.907, allocations: 366 kB / 1.802 GB, free: 3.609 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.02298/1.93, allocations: 6.159 MB / 1.808 GB, free: 13.43 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.04749/1.977, allocations: 14.48 MB / 1.823 GB, free: 14.9 MB / 1.326 GB Notification: Performance of NFTyping.typeClassSections: time 0.02741/2.005, allocations: 9.833 MB / 1.832 GB, free: 5.109 MB / 1.326 GB Notification: Performance of NFFlatten.flatten: time 0.07423/2.079, allocations: 44.46 MB / 1.876 GB, free: 8.555 MB / 1.373 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0249/2.104, allocations: 12.15 MB / 1.887 GB, free: 12.27 MB / 1.389 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03709/2.141, allocations: 14.01 MB / 1.901 GB, free: 14.25 MB / 1.404 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02603/2.167, allocations: 11.31 MB / 1.912 GB, free: 2.914 MB / 1.404 GB Notification: Performance of NFPackage.collectConstants: time 0.007831/2.175, allocations: 1.531 MB / 1.914 GB, free: 1.383 MB / 1.404 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03196/2.207, allocations: 9.955 MB / 1.923 GB, free: 7.41 MB / 1.42 GB Notification: Performance of NFScalarize.scalarize: time 0.01068/2.217, allocations: 4.898 MB / 1.928 GB, free: 2.496 MB / 1.42 GB Notification: Performance of NFVerifyModel.verify: time 0.02447/2.242, allocations: 8.788 MB / 1.937 GB, free: 9.668 MB / 1.436 GB Notification: Performance of NFConvertDAE.convert: time 0.05745/2.299, allocations: 27.38 MB / 1.963 GB, free: 14.19 MB / 1.467 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/2.299, allocations: 0 / 1.963 GB, free: 14.19 MB / 1.467 GB Notification: Performance of FrontEnd: time 2.073e-06/2.299, allocations: 0 / 1.963 GB, free: 14.19 MB / 1.467 GB Notification: Performance of Transformations before backend: time 0.0009044/2.3, allocations: 3.938 kB / 1.963 GB, free: 14.19 MB / 1.467 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.04855/2.349, allocations: 17.52 MB / 1.981 GB, free: 12.47 MB / 1.482 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/2.349, allocations: 15.97 kB / 1.981 GB, free: 12.45 MB / 1.482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02658/2.375, allocations: 3.881 MB / 1.984 GB, free: 8.559 MB / 1.482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0334/2.409, allocations: 15.34 MB / 1.999 GB, free: 9.105 MB / 1.498 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00103/2.41, allocations: 0.7919 MB / 2 GB, free: 8.301 MB / 1.498 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004668/2.415, allocations: 0.9295 MB / 2.001 GB, free: 7.371 MB / 1.498 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03516/2.45, allocations: 12.36 MB / 2.013 GB, free: 10.68 MB / 1.514 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004249/2.45, allocations: 19.83 kB / 2.013 GB, free: 10.66 MB / 1.514 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004014/2.454, allocations: 372 kB / 2.013 GB, free: 10.3 MB / 1.514 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000433/2.455, allocations: 372.9 kB / 2.014 GB, free: 9.93 MB / 1.514 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03323/2.488, allocations: 11.55 MB / 2.025 GB, free: 14.36 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 removeSimpleEquations (simulation): time 0.1081/2.596, allocations: 53.31 MB / 2.077 GB, free: 5.93 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02296/2.619, allocations: 9.337 MB / 2.086 GB, free: 12.33 MB / 1.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01211/2.631, allocations: 4.03 MB / 2.09 GB, free: 8.277 MB / 1.592 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.04387/2.675, allocations: 16.31 MB / 2.106 GB, free: 7.016 MB / 1.607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01246/2.687, allocations: 4.32 MB / 2.11 GB, free: 2.617 MB / 1.607 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007213/2.695, allocations: 0.7807 MB / 2.111 GB, free: 1.832 MB / 1.607 GB Notification: Performance of pre-optimization done (n=594): time 3.272e-05/2.695, allocations: 4 kB / 2.111 GB, free: 1.828 MB / 1.607 GB Notification: Performance of matching and sorting (n=598): time 0.07768/2.772, allocations: 21.59 MB / 2.132 GB, free: 11.91 MB / 1.639 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002559/2.773, allocations: 270.3 kB / 2.132 GB, free: 11.6 MB / 1.639 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03925/2.812, allocations: 11.77 MB / 2.144 GB, free: 15.88 MB / 1.654 GB Notification: Performance of collectPreVariables (initialization): time 0.002174/2.814, allocations: 169.7 kB / 2.144 GB, free: 15.71 MB / 1.654 GB Notification: Performance of collectInitialEqns (initialization): time 0.01095/2.825, allocations: 6.188 MB / 2.15 GB, free: 9.496 MB / 1.654 GB Notification: Performance of collectInitialBindings (initialization): time 0.004625/2.83, allocations: 2.161 MB / 2.152 GB, free: 7.316 MB / 1.654 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008444/2.838, allocations: 1.86 MB / 2.154 GB, free: 5.441 MB / 1.654 GB Notification: Performance of setup shared object (initialization): time 0.0001564/2.838, allocations: 309 kB / 2.154 GB, free: 5.137 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01282/2.851, allocations: 4.158 MB / 2.158 GB, free: 0.957 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01538/2.866, allocations: 6.37 MB / 2.165 GB, free: 9.746 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02631/2.893, allocations: 10.04 MB / 2.175 GB, free: 14.98 MB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/2.893, allocations: 16 kB / 2.175 GB, free: 14.96 MB / 1.686 GB Notification: Performance of matching and sorting (n=1160) (initialization): time 0.04107/2.934, allocations: 12.3 MB / 2.187 GB, free: 2.582 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 9.53e-05/2.934, allocations: 31.98 kB / 2.187 GB, free: 2.551 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000124/2.934, allocations: 51.94 kB / 2.187 GB, free: 2.5 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003305/2.937, allocations: 0.6564 MB / 2.187 GB, free: 1.828 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.684/4.621, allocations: 1.939 MB / 2.189 GB, free: 0.6419 GB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009434/4.631, allocations: 7.151 MB / 2.196 GB, free: 0.6365 GB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01793/4.649, allocations: 0.6657 MB / 2.197 GB, free: 0.6365 GB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00315/4.652, allocations: 389.5 kB / 2.197 GB, free: 0.6365 GB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03013/4.682, allocations: 7.322 MB / 2.204 GB, free: 0.6361 GB / 1.686 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0207/4.703, allocations: 6.327 MB / 2.21 GB, free: 0.6323 GB / 1.686 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02572/4.728, allocations: 9.954 MB / 2.22 GB, free: 0.6272 GB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001375/4.729, allocations: 13.92 kB / 2.22 GB, free: 0.6272 GB / 1.686 GB Notification: Performance of matching and sorting (n=1160) (initialization_lambda0): time 0.03656/4.765, allocations: 12.14 MB / 2.232 GB, free: 0.6234 GB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/4.765, allocations: 27.72 kB / 2.232 GB, free: 0.6234 GB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001237/4.765, allocations: 51.5 kB / 2.232 GB, free: 0.6234 GB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002518/4.768, allocations: 0.5929 MB / 2.233 GB, free: 0.6233 GB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00923/4.777, allocations: 1.917 MB / 2.235 GB, free: 0.6231 GB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007599/4.785, allocations: 8.872 MB / 2.243 GB, free: 0.6155 GB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01385/4.799, allocations: 0.6973 MB / 2.244 GB, free: 0.6154 GB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002275/4.801, allocations: 380.5 kB / 2.244 GB, free: 0.6153 GB / 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 (1021): * Single equations (assignments): 1003 * 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.004084/4.805, allocations: 0.6737 MB / 2.245 GB, free: 0.6148 GB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004801/4.81, allocations: 1.236 MB / 2.246 GB, free: 0.6148 GB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02861/4.838, allocations: 9.676 MB / 2.256 GB, free: 0.6114 GB / 1.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02054/4.859, allocations: 7.5 MB / 2.263 GB, free: 0.6086 GB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/4.859, allocations: 0 / 2.263 GB, free: 0.6086 GB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008294/4.867, allocations: 2.248 MB / 2.265 GB, free: 0.608 GB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004491/4.872, allocations: 136.5 kB / 2.265 GB, free: 0.6079 GB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01112/4.883, allocations: 0.521 MB / 2.266 GB, free: 0.6078 GB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001851/4.885, allocations: 437.2 kB / 2.266 GB, free: 0.6077 GB / 1.686 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03061/4.915, allocations: 9.173 MB / 2.275 GB, free: 0.6049 GB / 1.686 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03326/4.949, allocations: 13.44 MB / 2.288 GB, free: 0.5958 GB / 1.686 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007817/4.956, allocations: 3.643 MB / 2.292 GB, free: 0.5922 GB / 1.686 GB Notification: Performance of sorting global known variables: time 0.01619/4.973, allocations: 7.916 MB / 2.3 GB, free: 0.5845 GB / 1.686 GB Notification: Performance of Backend: time 7.52e-07/4.973, allocations: 0 / 2.3 GB, free: 0.5845 GB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.0505/5.023, allocations: 15.06 MB / 2.314 GB, free: 0.5709 GB / 1.686 GB Notification: Performance of SimCode: time 0.07159/5.095, allocations: 29.78 MB / 2.343 GB, free: 0.5421 GB / 1.686 GB Notification: Performance of Templates: time 0.4008/5.495, allocations: 289.4 MB / 2.626 GB, free: 267.7 MB / 1.686 GB make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.makefile (rm -f Buildings_11_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe 2>&1)