Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009896/0.0009897, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008934/0.008934, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.837/2.837, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005677/0.0005678, allocations: 11.22 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3835, allocations: 159.6 MB / 1.059 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled): time 0.9792/1.363, allocations: 222.4 MB / 1.276 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03634/1.399, allocations: 20.54 MB / 1.296 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005925/1.405, allocations: 78.8 kB / 1.296 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005/1.41, allocations: 1.133 MB / 1.297 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01317/1.423, allocations: 3.164 MB / 1.3 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009186/1.432, allocations: 2.322 MB / 1.302 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01201/1.444, allocations: 7.504 MB / 1.31 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004896/1.449, allocations: 2.136 MB / 1.312 GB, free: 17.99 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007413/1.457, allocations: 2.03 MB / 1.314 GB, free: 17.97 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004993/1.462, allocations: 1.728 MB / 1.316 GB, free: 17.96 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001138/1.463, allocations: 94.56 kB / 1.316 GB, free: 17.96 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009516/1.473, allocations: 2.956 MB / 1.319 GB, free: 17.91 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002198/1.475, allocations: 0.6588 MB / 1.319 GB, free: 17.91 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004282/1.479, allocations: 1.401 MB / 1.321 GB, free: 17.67 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01337/1.493, allocations: 4.957 MB / 1.325 GB, free: 17.01 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/1.493, allocations: 0 / 1.325 GB, free: 17.01 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.086e-06/1.493, allocations: 0 / 1.325 GB, free: 17.01 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001262/1.493, allocations: 0 / 1.325 GB, free: 17.01 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.007222/1.5, allocations: 3.046 MB / 1.328 GB, free: 15.4 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.5, allocations: 8.562 kB / 1.328 GB, free: 15.4 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00723/1.507, allocations: 1.001 MB / 1.329 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004482/1.512, allocations: 2.014 MB / 1.331 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002457/1.512, allocations: 224.5 kB / 1.332 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003981/1.512, allocations: 202.5 kB / 1.332 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005986/1.518, allocations: 2.535 MB / 1.334 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.898e-05/1.519, allocations: 3.906 kB / 1.334 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/1.519, allocations: 87.05 kB / 1.334 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.376e-05/1.519, allocations: 72.38 kB / 1.334 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006298/1.525, allocations: 2.823 MB / 1.337 GB, free: 14.27 MB / 1.014 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.01583/1.541, allocations: 9.268 MB / 1.346 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007303/1.548, allocations: 2.47 MB / 1.349 GB, free: 9.871 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002605/1.551, allocations: 1.075 MB / 1.35 GB, free: 9.691 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009453/1.552, allocations: 0.876 MB / 1.35 GB, free: 8.727 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003076/1.555, allocations: 1.34 MB / 1.352 GB, free: 8.305 MB / 1.014 GB Notification: Performance of pre-optimization done (n=171): time 3.566e-06/1.555, allocations: 1.781 kB / 1.352 GB, free: 8.305 MB / 1.014 GB Notification: Performance of matching and sorting (n=171): time 0.009537/1.565, allocations: 3.35 MB / 1.355 GB, free: 7.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/1.565, allocations: 204.1 kB / 1.355 GB, free: 7.262 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003034/1.568, allocations: 1.882 MB / 1.357 GB, free: 6.734 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003345/1.568, allocations: 63.73 kB / 1.357 GB, free: 6.703 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/1.569, allocations: 1.062 MB / 1.358 GB, free: 6.262 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006769/1.57, allocations: 0.5568 MB / 1.359 GB, free: 5.852 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/1.57, allocations: 144.8 kB / 1.359 GB, free: 5.812 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.57, allocations: 308.4 kB / 1.359 GB, free: 5.512 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002302/1.573, allocations: 0.9248 MB / 1.36 GB, free: 5.344 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002563/1.575, allocations: 1.239 MB / 1.361 GB, free: 4.898 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00478/1.58, allocations: 2.031 MB / 1.363 GB, free: 4.145 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/1.58, allocations: 3.938 kB / 1.363 GB, free: 4.141 MB / 1.014 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.00683/1.587, allocations: 2.541 MB / 1.366 GB, free: 2.945 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001834/1.587, allocations: 227.4 kB / 1.366 GB, free: 2.684 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/1.587, allocations: 5.125 kB / 1.366 GB, free: 2.684 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006604/1.588, allocations: 85.97 kB / 1.366 GB, free: 2.645 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/1.59, allocations: 492.3 kB / 1.367 GB, free: 2.535 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/1.593, allocations: 2.133 MB / 1.369 GB, free: 448 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003752/1.596, allocations: 371.6 kB / 1.369 GB, free: 252 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/1.597, allocations: 78.14 kB / 1.369 GB, free: 224 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.597, allocations: 7.5 kB / 1.369 GB, free: 220 kB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006203/1.603, allocations: 2.317 MB / 1.371 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/1.603, allocations: 7.375 kB / 1.371 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005704/1.604, allocations: 88.62 kB / 1.371 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/1.606, allocations: 470.8 kB / 1.372 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/1.608, allocations: 1.549 MB / 1.373 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003506/1.611, allocations: 363 kB / 1.374 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002504/1.612, allocations: 73.42 kB / 1.374 GB, free: 13.3 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 24 (chi.tru.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,chi.on,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (210): * Single equations (assignments): 206 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001778/1.613, allocations: 0.638 MB / 1.374 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000716/1.614, allocations: 241.7 kB / 1.375 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006926/1.621, allocations: 2.823 MB / 1.377 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/1.621, allocations: 19.09 kB / 1.377 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.621, allocations: 7.375 kB / 1.377 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00554/1.627, allocations: 2.466 MB / 1.38 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/1.639, allocations: 5.466 MB / 1.385 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.639, allocations: 7.938 kB / 1.385 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/1.641, allocations: 450 kB / 1.386 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005767/1.642, allocations: 92.72 kB / 1.386 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/1.642, allocations: 55.95 kB / 1.386 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/1.644, allocations: 2.155 MB / 1.388 GB, free: 3.352 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.644, allocations: 6.625 kB / 1.388 GB, free: 3.348 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009735/1.654, allocations: 3.947 MB / 1.392 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/1.656, allocations: 0.6105 MB / 1.392 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008209/1.657, allocations: 44 kB / 1.392 GB, free: 14.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003051/1.66, allocations: 271.6 kB / 1.393 GB, free: 14.39 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003587/1.66, allocations: 150.8 kB / 1.393 GB, free: 14.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/1.66, allocations: 79.94 kB / 1.393 GB, free: 14.18 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002098/1.662, allocations: 1.31 MB / 1.394 GB, free: 12.85 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.11e-07/1.662, allocations: 0 / 1.394 GB, free: 12.85 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004559/1.667, allocations: 1.38 MB / 1.395 GB, free: 11.47 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (chi.vol1.dynBal.medium.Xi[1],chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol2.dynBal.U) * Number of discrete variables: 14 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,chi.on) * Number of discrete states: 6 (pulse.count,weaDat.conTimMin.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002312/1.669, allocations: 0.9392 MB / 1.396 GB, free: 10.77 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.009574/1.679, allocations: 3.837 MB / 1.4 GB, free: 6.949 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/1.679, allocations: 4 kB / 1.4 GB, free: 6.945 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003517/1.682, allocations: 1.366 MB / 1.401 GB, free: 5.609 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008349/1.691, allocations: 1.138 MB / 1.403 GB, free: 4.484 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/1.704, allocations: 6.093 MB / 1.408 GB, free: 14.33 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002138/1.707, allocations: 1.702 MB / 1.41 GB, free: 12.59 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.005788/1.712, allocations: 0.7959 MB / 1.411 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/1.714, allocations: 231.3 kB / 1.411 GB, free: 11.56 MB / 1.061 GB Notification: Performance of SimCode: time 2.104e-06/1.714, allocations: 0 / 1.411 GB, free: 11.56 MB / 1.061 GB Notification: Performance of Templates: time 0.09458/1.809, allocations: 48.73 MB / 1.459 GB, free: 11.51 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)