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 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.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.001609/0.001609, allocations: 106.6 kB / 16.41 MB, free: 6.469 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.001425/0.001425, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.349/1.349, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.585/2.585, allocations: 472.7 MB / 0.746 GB, free: 448 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 55.91 kB / 1.07 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9568/0.9584, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl): time 1.428/2.386, allocations: 477 MB / 1.692 GB, free: 34.24 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.105/2.491, allocations: 73.18 MB / 1.764 GB, free: 21.69 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02336/2.515, allocations: 370.5 kB / 1.764 GB, free: 21.69 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02109/2.536, allocations: 6.111 MB / 1.77 GB, free: 19.43 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.05036/2.586, allocations: 14.47 MB / 1.784 GB, free: 12.22 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.0284/2.615, allocations: 9.732 MB / 1.794 GB, free: 5.832 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.07979/2.694, allocations: 44.26 MB / 1.837 GB, free: 11.09 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03601/2.73, allocations: 14.51 MB / 1.851 GB, free: 12.69 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04076/2.771, allocations: 13.96 MB / 1.865 GB, free: 15.48 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02457/2.796, allocations: 10.73 MB / 1.875 GB, free: 5.516 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.008526/2.804, allocations: 1.523 MB / 1.877 GB, free: 3.992 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03901/2.844, allocations: 9.639 MB / 1.886 GB, free: 11.05 MB / 1.373 GB Notification: Performance of NFScalarize.scalarize: time 0.01214/2.856, allocations: 4.741 MB / 1.891 GB, free: 6.383 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.0261/2.882, allocations: 8.773 MB / 1.899 GB, free: 13.65 MB / 1.389 GB Notification: Performance of NFConvertDAE.convert: time 0.06598/2.948, allocations: 27.32 MB / 1.926 GB, free: 3.184 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/2.948, allocations: 0 / 1.926 GB, free: 3.184 MB / 1.404 GB Notification: Performance of FrontEnd: time 2.254e-06/2.948, allocations: 0 / 1.926 GB, free: 3.184 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.001125/2.949, allocations: 0 / 1.926 GB, free: 3.184 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.06167/3.011, allocations: 17.61 MB / 1.943 GB, free: 1.535 MB / 1.42 GB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/3.011, allocations: 12.03 kB / 1.943 GB, free: 1.523 MB / 1.42 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02713/3.038, allocations: 3.826 MB / 1.947 GB, free: 13.69 MB / 1.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04229/3.08, allocations: 15.32 MB / 1.962 GB, free: 14.57 MB / 1.451 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001263/3.082, allocations: 0.7735 MB / 1.963 GB, free: 13.79 MB / 1.451 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004453/3.086, allocations: 0.9287 MB / 1.963 GB, free: 12.86 MB / 1.451 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04248/3.129, allocations: 12.17 MB / 1.975 GB, free: 380 kB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005598/3.129, allocations: 23.83 kB / 1.975 GB, free: 356 kB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003913/3.133, allocations: 375.2 kB / 1.976 GB, free: 15.98 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005296/3.134, allocations: 368.9 kB / 1.976 GB, free: 15.62 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0335/3.167, allocations: 11.27 MB / 1.987 GB, free: 4.336 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.1198/3.287, allocations: 53.26 MB / 2.039 GB, free: 12.38 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02406/3.311, allocations: 9.601 MB / 2.048 GB, free: 2.555 MB / 1.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01118/3.322, allocations: 4.306 MB / 2.053 GB, free: 14.23 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.04431/3.367, allocations: 16.32 MB / 2.069 GB, free: 13.1 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01406/3.381, allocations: 4.287 MB / 2.073 GB, free: 8.742 MB / 1.561 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007279/3.388, allocations: 0.7093 MB / 2.073 GB, free: 8.039 MB / 1.561 GB Notification: Performance of pre-optimization done (n=595): time 4.108e-05/3.388, allocations: 0 / 2.073 GB, free: 8.039 MB / 1.561 GB Notification: Performance of matching and sorting (n=599): time 0.06712/3.455, allocations: 21.65 MB / 2.095 GB, free: 2.051 MB / 1.576 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002512/3.456, allocations: 274.3 kB / 2.095 GB, free: 1.73 MB / 1.576 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02999/3.486, allocations: 11.77 MB / 2.106 GB, free: 6.02 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.002004/3.488, allocations: 169.7 kB / 2.107 GB, free: 5.848 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.008345/3.496, allocations: 6.186 MB / 2.113 GB, free: 15.68 MB / 1.607 GB Notification: Performance of collectInitialBindings (initialization): time 0.003724/3.5, allocations: 2.167 MB / 2.115 GB, free: 13.54 MB / 1.607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007552/3.507, allocations: 1.87 MB / 2.117 GB, free: 11.66 MB / 1.607 GB Notification: Performance of setup shared object (initialization): time 0.000133/3.508, allocations: 301.1 kB / 2.117 GB, free: 11.36 MB / 1.607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01062/3.518, allocations: 4.147 MB / 2.121 GB, free: 7.188 MB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01232/3.531, allocations: 6.378 MB / 2.127 GB, free: 15.97 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02255/3.553, allocations: 10.04 MB / 2.137 GB, free: 5.207 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.223e-05/3.553, allocations: 15.75 kB / 2.137 GB, free: 5.195 MB / 1.623 GB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03557/3.589, allocations: 12.31 MB / 2.149 GB, free: 8.82 MB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 7.903e-05/3.589, allocations: 30.5 kB / 2.149 GB, free: 8.793 MB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.384e-05/3.589, allocations: 55.88 kB / 2.149 GB, free: 8.738 MB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00314/3.592, allocations: 0.6577 MB / 2.15 GB, free: 8.07 MB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009987/3.602, allocations: 1.942 MB / 2.152 GB, free: 6.125 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007356/3.61, allocations: 7.148 MB / 2.159 GB, free: 14.58 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01233/3.622, allocations: 0.6553 MB / 2.159 GB, free: 13.93 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002135/3.624, allocations: 391.8 kB / 2.16 GB, free: 13.54 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01819/3.642, allocations: 7.329 MB / 2.167 GB, free: 6.203 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01347/3.656, allocations: 6.322 MB / 2.173 GB, free: 15.04 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02217/3.678, allocations: 9.937 MB / 2.183 GB, free: 4.367 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.4e-05/3.678, allocations: 20 kB / 2.183 GB, free: 4.348 MB / 1.67 GB Notification: Performance of matching and sorting (n=1161) (initialization_lambda0): time 0.03327/3.711, allocations: 12.15 MB / 2.194 GB, free: 8.121 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 6.941e-05/3.712, allocations: 24 kB / 2.194 GB, free: 8.098 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/3.712, allocations: 48 kB / 2.195 GB, free: 8.051 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002558/3.714, allocations: 0.5864 MB / 2.195 GB, free: 7.449 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01012/3.724, allocations: 1.911 MB / 2.197 GB, free: 5.535 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.937/4.661, allocations: 8.877 MB / 2.206 GB, free: 0.6649 GB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01817/4.68, allocations: 0.6909 MB / 2.206 GB, free: 0.6649 GB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003433/4.683, allocations: 382.9 kB / 2.207 GB, free: 0.6649 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 (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.004427/4.688, allocations: 0.6855 MB / 2.207 GB, free: 0.6647 GB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005348/4.693, allocations: 1.229 MB / 2.209 GB, free: 0.6647 GB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02734/4.72, allocations: 9.689 MB / 2.218 GB, free: 0.6637 GB / 1.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01915/4.739, allocations: 7.493 MB / 2.225 GB, free: 0.661 GB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/4.74, allocations: 0 / 2.225 GB, free: 0.661 GB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008529/4.748, allocations: 2.242 MB / 2.228 GB, free: 0.6603 GB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005433/4.754, allocations: 136.9 kB / 2.228 GB, free: 0.6603 GB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0117/4.765, allocations: 0.5207 MB / 2.228 GB, free: 0.6602 GB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00226/4.768, allocations: 435.5 kB / 2.229 GB, free: 0.6601 GB / 1.686 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02383/4.791, allocations: 9.132 MB / 2.237 GB, free: 0.6573 GB / 1.686 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0279/4.819, allocations: 13.42 MB / 2.251 GB, free: 0.6528 GB / 1.686 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008008/4.827, allocations: 3.891 MB / 2.254 GB, free: 0.6514 GB / 1.686 GB Notification: Performance of sorting global known variables: time 0.01483/4.842, allocations: 7.92 MB / 2.262 GB, free: 0.6488 GB / 1.686 GB Notification: Performance of Backend: time 9.42e-07/4.842, allocations: 0 / 2.262 GB, free: 0.6488 GB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.04532/4.888, allocations: 16.06 MB / 2.278 GB, free: 0.6438 GB / 1.686 GB Notification: Performance of SimCode: time 0.06028/4.948, allocations: 29.68 MB / 2.307 GB, free: 0.6168 GB / 1.686 GB Notification: Performance of Templates: time 0.3613/5.309, allocations: 284.1 MB / 2.584 GB, free: 349.6 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)