Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008851/0.0008852, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006366/0.006366, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.455/1.455, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003956, allocations: 6.094 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3672, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.0625/0.4297, allocations: 59.12 MB / 1.132 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02538/0.4552, allocations: 13.13 MB / 1.145 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003076/0.4583, allocations: 59.56 kB / 1.145 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002621/0.461, allocations: 0.8082 MB / 1.146 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006405/0.4674, allocations: 2.146 MB / 1.148 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004448/0.4718, allocations: 1.414 MB / 1.149 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007822/0.4797, allocations: 5.57 MB / 1.154 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/0.4814, allocations: 1.107 MB / 1.156 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002505/0.4839, allocations: 1.318 MB / 1.157 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.4854, allocations: 1.17 MB / 1.158 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.4856, allocations: 60 kB / 1.158 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003/0.4886, allocations: 1.368 MB / 1.159 GB, free: 12 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003807/0.489, allocations: 334.5 kB / 1.16 GB, free: 15.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008955/0.4899, allocations: 0.837 MB / 1.16 GB, free: 14.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003303/0.4932, allocations: 2.659 MB / 1.163 GB, free: 12.17 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4932, allocations: 0 / 1.163 GB, free: 12.17 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4932, allocations: 0 / 1.163 GB, free: 12.17 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.4933, allocations: 0 / 1.163 GB, free: 12.17 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.003511/0.4968, allocations: 1.89 MB / 1.165 GB, free: 10.21 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4968, allocations: 12.03 kB / 1.165 GB, free: 10.2 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003575/0.5004, allocations: 0.58 MB / 1.166 GB, free: 9.621 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/0.5027, allocations: 1.402 MB / 1.167 GB, free: 8.164 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.5029, allocations: 157.4 kB / 1.167 GB, free: 8 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.5031, allocations: 96 kB / 1.167 GB, free: 7.906 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003041/0.5061, allocations: 1.358 MB / 1.168 GB, free: 6.512 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.5062, allocations: 7.844 kB / 1.168 GB, free: 6.504 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.5063, allocations: 43.98 kB / 1.169 GB, free: 6.461 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/0.5063, allocations: 27.94 kB / 1.169 GB, free: 6.434 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003829/0.5102, allocations: 1.393 MB / 1.17 GB, free: 5.043 MB / 0.92 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.008952/0.5191, allocations: 5.477 MB / 1.175 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005558/0.5247, allocations: 1.421 MB / 1.177 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/0.5266, allocations: 0.6432 MB / 1.177 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.5278, allocations: 1.232 MB / 1.178 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001997/0.5298, allocations: 0.6901 MB / 1.179 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 5.581e-06/0.5299, allocations: 4 kB / 1.179 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.005619/0.5355, allocations: 1.789 MB / 1.181 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/0.5356, allocations: 59.97 kB / 1.181 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.5377, allocations: 1.275 MB / 1.182 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.5379, allocations: 45.7 kB / 1.182 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006179/0.5385, allocations: 0.658 MB / 1.183 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.5388, allocations: 240.5 kB / 1.183 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.5389, allocations: 69.69 kB / 1.183 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5391, allocations: 337.9 kB / 1.183 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.5407, allocations: 0.5524 MB / 1.184 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.5425, allocations: 0.7951 MB / 1.185 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00321/0.5458, allocations: 1.211 MB / 1.186 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.5458, allocations: 4 kB / 1.186 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004169/0.55, allocations: 1.469 MB / 1.187 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.5502, allocations: 220.1 kB / 1.188 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.5502, allocations: 7.938 kB / 1.188 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.5502, allocations: 8 kB / 1.188 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.5515, allocations: 275.6 kB / 1.188 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.5515, allocations: 4 kB / 1.188 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.5533, allocations: 246.9 kB / 1.188 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.725e-05/0.5534, allocations: 35.98 kB / 1.188 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.5534, allocations: 8 kB / 1.188 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003501/0.5569, allocations: 1.321 MB / 1.189 GB, free: 48 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.557, allocations: 4 kB / 1.189 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.557, allocations: 8 kB / 1.189 GB, free: 36 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.5582, allocations: 271.9 kB / 1.19 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.5583, allocations: 8 kB / 1.19 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.56, allocations: 239.1 kB / 1.19 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.5602, allocations: 43.97 kB / 1.19 GB, free: 15.48 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (chi.tru.y,chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007991/0.561, allocations: 404.9 kB / 1.19 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.5613, allocations: 150.1 kB / 1.191 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004039/0.5653, allocations: 1.528 MB / 1.192 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.5653, allocations: 11.98 kB / 1.192 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5654, allocations: 3.938 kB / 1.192 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003315/0.5687, allocations: 1.292 MB / 1.193 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006728/0.5754, allocations: 3.276 MB / 1.197 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.5754, allocations: 4 kB / 1.197 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/0.5766, allocations: 236.2 kB / 1.197 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.5766, allocations: 8 kB / 1.197 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/0.5767, allocations: 27.97 kB / 1.197 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.5767, allocations: 11.94 kB / 1.197 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.5767, allocations: 11.94 kB / 1.197 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005617/0.5824, allocations: 2.314 MB / 1.199 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007439/0.5831, allocations: 366.8 kB / 1.199 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002674/0.5834, allocations: 23.94 kB / 1.199 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/0.585, allocations: 187.7 kB / 1.2 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.5852, allocations: 72.36 kB / 1.2 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.5853, allocations: 43.97 kB / 1.2 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001587/0.5869, allocations: 0.9129 MB / 1.201 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5869, allocations: 0 / 1.201 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002684/0.5896, allocations: 0.7914 MB / 1.201 GB, free: 3.516 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001623/0.5912, allocations: 0.5009 MB / 1.202 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005954/0.5972, allocations: 2.101 MB / 1.204 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5972, allocations: 0 / 1.204 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.5992, allocations: 0.7108 MB / 1.205 GB, free: 192 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00539/0.6046, allocations: 0.765 MB / 1.205 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007342/0.612, allocations: 3.458 MB / 1.209 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.613, allocations: 1.246 MB / 1.21 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001912/0.615, allocations: 367.6 kB / 1.21 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/0.6154, allocations: 123.4 kB / 1.21 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of SimCode: time 1.152e-06/0.6155, allocations: 0 / 1.21 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of Templates: time 0.05587/0.6713, allocations: 30.84 MB / 1.241 GB, free: 11.64 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)