Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001455/0.001456, allocations: 112.3 kB / 16.42 MB, free: 6.516 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.001731/0.001732, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.18/2.18, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8044/0.8058, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter fan.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumCHW.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumCW.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl): time 0.5142/1.32, allocations: 475.2 MB / 1.553 GB, free: 1.496 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.8882/2.208, allocations: 70.75 MB / 1.622 GB, free: 46.08 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01544/2.224, allocations: 366.8 kB / 1.622 GB, free: 46.08 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.01782/2.242, allocations: 5.219 MB / 1.627 GB, free: 46 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.04345/2.285, allocations: 14.06 MB / 1.641 GB, free: 45.56 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.02566/2.311, allocations: 9.314 MB / 1.65 GB, free: 45.3 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.04903/2.36, allocations: 34.82 MB / 1.684 GB, free: 45.2 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02944/2.389, allocations: 14.42 MB / 1.698 GB, free: 43.37 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03575/2.425, allocations: 13.95 MB / 1.712 GB, free: 42.8 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02321/2.448, allocations: 10.49 MB / 1.722 GB, free: 41.04 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.006917/2.455, allocations: 1.491 MB / 1.723 GB, free: 41.04 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02878/2.484, allocations: 9.408 MB / 1.733 GB, free: 40.09 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.009376/2.494, allocations: 4.313 MB / 1.737 GB, free: 38.7 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.02222/2.516, allocations: 8.178 MB / 1.745 GB, free: 36.12 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04629/2.562, allocations: 25.56 MB / 1.77 GB, free: 14.66 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/2.562, allocations: 0 / 1.77 GB, free: 14.66 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.185e-06/2.562, allocations: 0 / 1.77 GB, free: 14.66 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0008385/2.563, allocations: 0 / 1.77 GB, free: 14.66 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2259 * Number of variables: 2259 Notification: Performance of Generate backend data structure: time 0.04633/2.609, allocations: 15.81 MB / 1.785 GB, free: 14.93 MB / 1.326 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/2.609, allocations: 8.031 kB / 1.785 GB, free: 14.92 MB / 1.326 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02548/2.635, allocations: 3.761 MB / 1.789 GB, free: 11.15 MB / 1.326 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03079/2.666, allocations: 12.12 MB / 1.801 GB, free: 15.43 MB / 1.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001086/2.667, allocations: 0.7717 MB / 1.802 GB, free: 14.65 MB / 1.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003523/2.67, allocations: 0.9153 MB / 1.802 GB, free: 13.74 MB / 1.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03603/2.706, allocations: 12.16 MB / 1.814 GB, free: 1.309 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004882/2.707, allocations: 27.61 kB / 1.814 GB, free: 1.289 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003128/2.71, allocations: 377.7 kB / 1.815 GB, free: 0.9258 MB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004084/2.711, allocations: 367.7 kB / 1.815 GB, free: 0.5664 MB / 1.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03077/2.741, allocations: 11.27 MB / 1.826 GB, free: 5.344 MB / 1.357 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.09809/2.839, allocations: 52.08 MB / 1.877 GB, free: 15.2 MB / 1.42 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0222/2.862, allocations: 9.766 MB / 1.886 GB, free: 5.23 MB / 1.42 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0107/2.872, allocations: 4.4 MB / 1.891 GB, free: 0.8086 MB / 1.42 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.04153/2.914, allocations: 16.42 MB / 1.907 GB, free: 15.66 MB / 1.451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01238/2.926, allocations: 4.423 MB / 1.911 GB, free: 11.16 MB / 1.451 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007341/2.934, allocations: 0.7454 MB / 1.912 GB, free: 10.42 MB / 1.451 GB Notification: Performance of pre-optimization done (n=597): time 3.18e-05/2.934, allocations: 3.984 kB / 1.912 GB, free: 10.42 MB / 1.451 GB Notification: Performance of matching and sorting (n=601): time 0.06923/3.003, allocations: 21.57 MB / 1.933 GB, free: 4.535 MB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/3.003, allocations: 270.3 kB / 1.933 GB, free: 4.219 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02253/3.026, allocations: 9.982 MB / 1.943 GB, free: 10.29 MB / 1.482 GB Notification: Performance of collectPreVariables (initialization): time 0.001701/3.028, allocations: 169.7 kB / 1.943 GB, free: 10.12 MB / 1.482 GB Notification: Performance of collectInitialEqns (initialization): time 0.007121/3.035, allocations: 5.645 MB / 1.949 GB, free: 4.473 MB / 1.482 GB Notification: Performance of collectInitialBindings (initialization): time 0.003282/3.038, allocations: 2.047 MB / 1.951 GB, free: 2.441 MB / 1.482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005943/3.044, allocations: 1.555 MB / 1.952 GB, free: 0.8828 MB / 1.482 GB Notification: Performance of setup shared object (initialization): time 9.6e-05/3.044, allocations: 301.1 kB / 1.952 GB, free: 0.5859 MB / 1.482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009856/3.054, allocations: 3.71 MB / 1.956 GB, free: 12.86 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01202/3.066, allocations: 5.742 MB / 1.962 GB, free: 6.375 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02228/3.088, allocations: 9.2 MB / 1.971 GB, free: 12.68 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.988e-05/3.088, allocations: 15.94 kB / 1.971 GB, free: 12.66 MB / 1.514 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03223/3.121, allocations: 11.01 MB / 1.981 GB, free: 1.863 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 7.922e-05/3.121, allocations: 26.19 kB / 1.981 GB, free: 1.84 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/3.121, allocations: 48 kB / 1.981 GB, free: 1.793 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003099/3.124, allocations: 0.656 MB / 1.982 GB, free: 1.129 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009536/3.134, allocations: 1.828 MB / 1.984 GB, free: 15.4 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007659/3.141, allocations: 7.146 MB / 1.991 GB, free: 7.906 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01187/3.153, allocations: 0.6173 MB / 1.991 GB, free: 7.293 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002191/3.155, allocations: 371.8 kB / 1.992 GB, free: 6.93 MB / 1.529 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01804/3.173, allocations: 6.507 MB / 1.998 GB, free: 424 kB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01278/3.186, allocations: 5.652 MB / 2.004 GB, free: 10.02 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02087/3.207, allocations: 9.017 MB / 2.012 GB, free: 0.5078 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.457e-05/3.207, allocations: 16 kB / 2.012 GB, free: 0.4922 MB / 1.545 GB Notification: Performance of matching and sorting (n=961) (initialization_lambda0): time 0.03033/3.238, allocations: 10.74 MB / 2.023 GB, free: 5.953 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/3.238, allocations: 24 kB / 2.023 GB, free: 5.93 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.38e-05/3.238, allocations: 44 kB / 2.023 GB, free: 5.887 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002601/3.24, allocations: 0.5973 MB / 2.024 GB, free: 5.277 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009687/3.25, allocations: 1.792 MB / 2.025 GB, free: 3.586 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00914/3.259, allocations: 8.847 MB / 2.034 GB, free: 10.2 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/3.271, allocations: 0.6426 MB / 2.035 GB, free: 9.551 MB / 1.576 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001925/3.273, allocations: 363.8 kB / 2.035 GB, free: 9.195 MB / 1.576 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 55 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,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 (918): * Single equations (assignments): 903 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * 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.003257/3.276, allocations: 0.6465 MB / 2.036 GB, free: 8.648 MB / 1.576 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004153/3.28, allocations: 1.065 MB / 2.037 GB, free: 7.57 MB / 1.576 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02718/3.307, allocations: 9.83 MB / 2.046 GB, free: 13.7 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02042/3.328, allocations: 7.648 MB / 2.054 GB, free: 5.953 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.742e-05/3.328, allocations: 4 kB / 2.054 GB, free: 5.949 MB / 1.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006468/3.334, allocations: 2.022 MB / 2.056 GB, free: 3.895 MB / 1.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00347/3.338, allocations: 136 kB / 2.056 GB, free: 3.762 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00912/3.347, allocations: 0.5234 MB / 2.056 GB, free: 3.238 MB / 1.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001564/3.349, allocations: 435.9 kB / 2.057 GB, free: 2.812 MB / 1.592 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02805/3.377, allocations: 9.317 MB / 2.066 GB, free: 9.527 MB / 1.607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03405/3.411, allocations: 13.51 MB / 2.079 GB, free: 11.92 MB / 1.623 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008792/3.42, allocations: 3.981 MB / 2.083 GB, free: 7.914 MB / 1.623 GB Notification: Performance of sorting global known variables: time 0.01435/3.434, allocations: 6.765 MB / 2.09 GB, free: 1.207 MB / 1.623 GB Notification: Performance of Backend: time 1.082e-06/3.434, allocations: 0 / 2.09 GB, free: 1.207 MB / 1.623 GB Notification: Performance of simCode: created initialization part: time 0.04361/3.478, allocations: 14.51 MB / 2.104 GB, free: 3.527 MB / 1.639 GB Notification: Performance of SimCode: time 0.06342/3.541, allocations: 26.73 MB / 2.13 GB, free: 8.977 MB / 1.67 GB Notification: Performance of Templates: time 1.727/5.268, allocations: 262.7 MB / 2.386 GB, free: 0.6619 GB / 1.717 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.makefile (rm -f Buildings_9_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe 2>&1)