Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.DataCenterDiscreteTimeControl,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.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_9_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.001208/0.001208, allocations: 117.4 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.001127/0.001127, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.14 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.204/2.204, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7834/0.7846, 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.DataCenterDiscreteTimeControl): time 0.4936/1.278, allocations: 474.8 MB / 1.552 GB, free: 1.938 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.8843/2.163, allocations: 70.66 MB / 1.621 GB, free: 46.05 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01809/2.181, allocations: 356.6 kB / 1.622 GB, free: 46.05 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.01543/2.196, allocations: 5.198 MB / 1.627 GB, free: 45.97 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.04027/2.237, allocations: 14.04 MB / 1.64 GB, free: 45.53 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.02571/2.262, allocations: 9.244 MB / 1.649 GB, free: 45.27 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.05107/2.313, allocations: 34.68 MB / 1.683 GB, free: 45.18 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02799/2.341, allocations: 14.33 MB / 1.697 GB, free: 43.36 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0313/2.373, allocations: 13.9 MB / 1.711 GB, free: 42.8 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0212/2.394, allocations: 10.47 MB / 1.721 GB, free: 41.05 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.007273/2.401, allocations: 1.486 MB / 1.723 GB, free: 41.05 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02841/2.43, allocations: 9.398 MB / 1.732 GB, free: 40.21 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.008775/2.439, allocations: 4.296 MB / 1.736 GB, free: 38.83 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.01995/2.459, allocations: 8.141 MB / 1.744 GB, free: 36.27 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04172/2.5, allocations: 25.43 MB / 1.769 GB, free: 15.58 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/2.5, allocations: 0 / 1.769 GB, free: 15.58 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.442e-06/2.5, allocations: 0 / 1.769 GB, free: 15.58 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0006834/2.501, allocations: 4 kB / 1.769 GB, free: 15.58 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: 2250 * Number of variables: 2250 Notification: Performance of Generate backend data structure: time 0.04245/2.543, allocations: 15.77 MB / 1.784 GB, free: 15.87 MB / 1.326 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/2.544, allocations: 11.97 kB / 1.784 GB, free: 15.86 MB / 1.326 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02544/2.569, allocations: 3.749 MB / 1.788 GB, free: 12.11 MB / 1.326 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03363/2.603, allocations: 12.01 MB / 1.8 GB, free: 0.4922 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001296/2.604, allocations: 0.7693 MB / 1.8 GB, free: 15.71 MB / 1.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00465/2.609, allocations: 0.9166 MB / 1.801 GB, free: 14.8 MB / 1.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04692/2.656, allocations: 12.13 MB / 1.813 GB, free: 2.406 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000546/2.656, allocations: 30.55 kB / 1.813 GB, free: 2.383 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003859/2.66, allocations: 367.5 kB / 1.813 GB, free: 2.031 MB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004067/2.661, allocations: 372.2 kB / 1.814 GB, free: 1.668 MB / 1.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0344/2.695, allocations: 11.24 MB / 1.825 GB, free: 6.469 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.09977/2.795, allocations: 51.81 MB / 1.875 GB, free: 0.5977 MB / 1.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02277/2.818, allocations: 9.791 MB / 1.885 GB, free: 6.598 MB / 1.42 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01079/2.828, allocations: 4.405 MB / 1.889 GB, free: 2.168 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.03871/2.867, allocations: 16.5 MB / 1.905 GB, free: 0.9375 MB / 1.436 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01134/2.879, allocations: 4.459 MB / 1.91 GB, free: 12.4 MB / 1.451 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006605/2.885, allocations: 0.7622 MB / 1.91 GB, free: 11.65 MB / 1.451 GB Notification: Performance of pre-optimization done (n=602): time 2.868e-05/2.885, allocations: 0 / 1.91 GB, free: 11.65 MB / 1.451 GB Notification: Performance of matching and sorting (n=606): time 0.07577/2.961, allocations: 23.4 MB / 1.933 GB, free: 3.895 MB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/2.961, allocations: 333.1 kB / 1.934 GB, free: 3.508 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02093/2.982, allocations: 9.907 MB / 1.943 GB, free: 9.656 MB / 1.482 GB Notification: Performance of collectPreVariables (initialization): time 0.001908/2.984, allocations: 173.7 kB / 1.943 GB, free: 9.48 MB / 1.482 GB Notification: Performance of collectInitialEqns (initialization): time 0.007306/2.991, allocations: 5.569 MB / 1.949 GB, free: 3.906 MB / 1.482 GB Notification: Performance of collectInitialBindings (initialization): time 0.00363/2.995, allocations: 2.051 MB / 1.951 GB, free: 1.875 MB / 1.482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005971/3.001, allocations: 1.566 MB / 1.952 GB, free: 308 kB / 1.482 GB Notification: Performance of setup shared object (initialization): time 9.121e-05/3.001, allocations: 305.1 kB / 1.953 GB, free: 0 / 1.482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009484/3.011, allocations: 3.718 MB / 1.956 GB, free: 12.28 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0117/3.022, allocations: 5.769 MB / 1.962 GB, free: 5.742 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02103/3.043, allocations: 9.22 MB / 1.971 GB, free: 12.02 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.661e-05/3.044, allocations: 16 kB / 1.971 GB, free: 12.01 MB / 1.514 GB Notification: Performance of matching and sorting (n=965) (initialization): time 0.04012/3.084, allocations: 11.02 MB / 1.982 GB, free: 1.199 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/3.084, allocations: 27.98 kB / 1.982 GB, free: 1.172 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/3.084, allocations: 47.94 kB / 1.982 GB, free: 1.125 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004542/3.089, allocations: 0.6662 MB / 1.982 GB, free: 460 kB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01398/3.103, allocations: 1.826 MB / 1.984 GB, free: 14.73 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008643/3.111, allocations: 7.146 MB / 1.991 GB, free: 7.23 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01436/3.126, allocations: 0.6231 MB / 1.992 GB, free: 6.613 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002474/3.128, allocations: 371.8 kB / 1.992 GB, free: 6.25 MB / 1.529 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02273/3.151, allocations: 6.494 MB / 1.999 GB, free: 15.75 MB / 1.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01619/3.167, allocations: 5.664 MB / 2.004 GB, free: 9.324 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02726/3.194, allocations: 9.033 MB / 2.013 GB, free: 15.79 MB / 1.561 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.024e-05/3.195, allocations: 12 kB / 2.013 GB, free: 15.78 MB / 1.561 GB Notification: Performance of matching and sorting (n=965) (initialization_lambda0): time 0.02777/3.222, allocations: 10.74 MB / 2.023 GB, free: 5.242 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 6.466e-05/3.222, allocations: 24 kB / 2.023 GB, free: 5.219 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.396e-05/3.223, allocations: 48 kB / 2.023 GB, free: 5.172 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00261/3.225, allocations: 0.5849 MB / 2.024 GB, free: 4.574 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008878/3.234, allocations: 1.782 MB / 2.026 GB, free: 2.895 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008865/3.243, allocations: 8.862 MB / 2.034 GB, free: 9.492 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01148/3.254, allocations: 0.649 MB / 2.035 GB, free: 8.844 MB / 1.576 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001959/3.256, allocations: 363.2 kB / 2.035 GB, free: 8.492 MB / 1.576 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 70 ($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,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 (922): * Single equations (assignments): 907 * 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.003566/3.26, allocations: 0.6579 MB / 2.036 GB, free: 7.934 MB / 1.576 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004335/3.264, allocations: 1.057 MB / 2.037 GB, free: 6.863 MB / 1.576 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02868/3.293, allocations: 9.853 MB / 2.047 GB, free: 12.96 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01912/3.312, allocations: 7.686 MB / 2.054 GB, free: 5.168 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/3.312, allocations: 0 / 2.054 GB, free: 5.168 MB / 1.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007609/3.32, allocations: 2.01 MB / 2.056 GB, free: 3.125 MB / 1.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003703/3.324, allocations: 151.8 kB / 2.056 GB, free: 2.977 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01193/3.336, allocations: 0.5202 MB / 2.057 GB, free: 2.457 MB / 1.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001854/3.337, allocations: 443.9 kB / 2.057 GB, free: 2.023 MB / 1.592 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04038/3.378, allocations: 9.441 MB / 2.066 GB, free: 8.625 MB / 1.607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04502/3.423, allocations: 13.62 MB / 2.08 GB, free: 10.9 MB / 1.623 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009291/3.432, allocations: 4.012 MB / 2.084 GB, free: 6.871 MB / 1.623 GB Notification: Performance of sorting global known variables: time 0.01693/3.449, allocations: 6.703 MB / 2.09 GB, free: 228 kB / 1.623 GB Notification: Performance of Backend: time 1.794e-06/3.449, allocations: 4 kB / 2.09 GB, free: 224 kB / 1.623 GB Notification: Performance of simCode: created initialization part: time 0.04803/3.497, allocations: 14.53 MB / 2.104 GB, free: 2.52 MB / 1.639 GB Notification: Performance of SimCode: time 0.06497/3.562, allocations: 26.58 MB / 2.13 GB, free: 8.137 MB / 1.67 GB Notification: Performance of Templates: time 1.741/5.303, allocations: 262.7 MB / 2.387 GB, free: 0.6609 GB / 1.717 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.makefile (rm -f Buildings_9_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe 2>&1)