Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.612/4.612, allocations: 0.5623 GB / 0.5769 GB, free: 3.344 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00244/0.00244, allocations: 357.9 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.797/3.797, allocations: 410.7 MB / 1.112 GB, free: 147.7 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001713/0.001713, allocations: 186.4 kB / 1.225 GB, free: 35.87 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004759, allocations: 12.94 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1516, allocations: 115.3 MB / 1.461 GB, free: 6.562 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.07226/0.2239, allocations: 55.75 MB / 1.515 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02172/0.2457, allocations: 12.08 MB / 1.527 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.248, allocations: 55.62 kB / 1.527 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002863/0.2509, allocations: 0.8269 MB / 1.528 GB, free: 1.672 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.5359/0.7868, allocations: 2.318 MB / 1.53 GB, free: 23.88 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006466/0.7933, allocations: 1.716 MB / 1.532 GB, free: 23.85 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007433/0.8008, allocations: 4.758 MB / 1.536 GB, free: 23.84 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/0.8028, allocations: 0.9858 MB / 1.537 GB, free: 23.73 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002906/0.8057, allocations: 1.253 MB / 1.539 GB, free: 23.72 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.8076, allocations: 1.084 MB / 1.54 GB, free: 23.72 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000244/0.8079, allocations: 59.44 kB / 1.54 GB, free: 23.72 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003254/0.8111, allocations: 0.8613 MB / 1.541 GB, free: 23.72 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005108/0.8117, allocations: 321.1 kB / 1.541 GB, free: 23.71 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.000684/0.8124, allocations: 364.3 kB / 1.541 GB, free: 23.62 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003394/0.8158, allocations: 1.924 MB / 1.543 GB, free: 23.46 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.703e-06/0.8158, allocations: 1.812 kB / 1.543 GB, free: 23.46 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.217e-06/0.8158, allocations: 2.516 kB / 1.543 GB, free: 23.46 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.431e-05/0.8159, allocations: 0 / 1.543 GB, free: 23.46 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003952/0.8198, allocations: 1.897 MB / 1.545 GB, free: 22.39 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.8199, allocations: 8.188 kB / 1.545 GB, free: 22.39 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004102/0.824, allocations: 0.6455 MB / 1.546 GB, free: 22.26 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003218/0.8272, allocations: 1.329 MB / 1.547 GB, free: 21.86 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.8275, allocations: 143.1 kB / 1.547 GB, free: 21.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002581/0.8277, allocations: 99.67 kB / 1.547 GB, free: 21.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003892/0.8316, allocations: 1.337 MB / 1.548 GB, free: 21.65 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/0.8317, allocations: 9 kB / 1.548 GB, free: 21.64 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.8319, allocations: 41.66 kB / 1.548 GB, free: 21.64 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.996e-05/0.8319, allocations: 26.88 kB / 1.548 GB, free: 21.64 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004799/0.8367, allocations: 1.384 MB / 1.55 GB, free: 21.6 MB / 0.6667 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.009974/0.8467, allocations: 5.384 MB / 1.555 GB, free: 19.08 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/0.85, allocations: 1.092 MB / 1.556 GB, free: 18.84 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002132/0.8522, allocations: 0.626 MB / 1.557 GB, free: 18.81 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000781/0.853, allocations: 1.236 MB / 1.558 GB, free: 17.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00255/0.8556, allocations: 0.69 MB / 1.559 GB, free: 17.34 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=69): time 6.029e-06/0.8556, allocations: 6.797 kB / 1.559 GB, free: 17.33 MB / 0.6667 GB Notification: Performance of matching and sorting (n=69): time 0.006864/0.8625, allocations: 1.792 MB / 1.56 GB, free: 17.16 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.8626, allocations: 65.66 kB / 1.56 GB, free: 17.1 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/0.8649, allocations: 1.302 MB / 1.562 GB, free: 16.93 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001997/0.8652, allocations: 42.67 kB / 1.562 GB, free: 16.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000618/0.8658, allocations: 0.6724 MB / 1.562 GB, free: 16.68 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/0.8661, allocations: 234 kB / 1.563 GB, free: 16.54 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/0.8662, allocations: 19.19 kB / 1.563 GB, free: 16.53 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.8663, allocations: 334.1 kB / 1.563 GB, free: 16.23 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/0.8683, allocations: 0.5517 MB / 1.564 GB, free: 16.21 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002172/0.8705, allocations: 0.776 MB / 1.564 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.8725, allocations: 0.6003 MB / 1.565 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.321e-06/0.8726, allocations: 1.219 kB / 1.565 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004953/0.8775, allocations: 1.467 MB / 1.566 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.8777, allocations: 213.8 kB / 1.567 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.8777, allocations: 3.125 kB / 1.567 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.8777, allocations: 6.875 kB / 1.567 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.8793, allocations: 271.4 kB / 1.567 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/0.8794, allocations: 9.906 kB / 1.567 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.8815, allocations: 240.3 kB / 1.567 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.8817, allocations: 36.86 kB / 1.567 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.8817, allocations: 3.75 kB / 1.567 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004484/0.8862, allocations: 1.308 MB / 1.568 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.8863, allocations: 3.344 kB / 1.568 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.8863, allocations: 7.25 kB / 1.568 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.8879, allocations: 273.4 kB / 1.569 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.8879, allocations: 7.781 kB / 1.569 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.89, allocations: 239.1 kB / 1.569 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.8902, allocations: 39.19 kB / 1.569 GB, free: 15.28 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009327/0.8911, allocations: 426.5 kB / 1.569 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003476/0.8915, allocations: 149.1 kB / 1.569 GB, free: 15 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004855/0.8964, allocations: 1.527 MB / 1.571 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/0.8964, allocations: 9.422 kB / 1.571 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.997e-06/0.8964, allocations: 0 / 1.571 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004011/0.9005, allocations: 1.294 MB / 1.572 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009025/0.9095, allocations: 3.279 MB / 1.575 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.9096, allocations: 2.688 kB / 1.575 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.9112, allocations: 241.3 kB / 1.576 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.53e-05/0.9112, allocations: 6.688 kB / 1.576 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.64e-05/0.9114, allocations: 27.91 kB / 1.576 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.9114, allocations: 6.625 kB / 1.576 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.48e-06/0.9114, allocations: 14.52 kB / 1.576 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007451/0.9189, allocations: 2.324 MB / 1.578 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.9201, allocations: 374.7 kB / 1.578 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003106/0.9204, allocations: 16.91 kB / 1.578 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/0.9224, allocations: 179.9 kB / 1.579 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.9226, allocations: 79.05 kB / 1.579 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.9228, allocations: 39.06 kB / 1.579 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001576/0.9243, allocations: 0.9204 MB / 1.58 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.797e-06/0.9244, allocations: 0 / 1.58 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002647/0.927, allocations: 0.7935 MB / 1.58 GB, free: 12.36 MB / 0.6667 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 (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/0.9283, allocations: 0.4934 MB / 1.581 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006778/0.9351, allocations: 2.094 MB / 1.583 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.623e-06/0.9351, allocations: 0 / 1.583 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002625/0.9377, allocations: 0.7184 MB / 1.584 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005177/0.9429, allocations: 0.7572 MB / 1.584 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00597/0.9489, allocations: 3.229 MB / 1.587 GB, free: 9.324 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008128/0.9498, allocations: 1.272 MB / 1.589 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002434/0.9522, allocations: 367 kB / 1.589 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/0.9528, allocations: 130.6 kB / 1.589 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of SimCode: time 1.608e-06/0.9528, allocations: 0 / 1.589 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of Templates: time 0.06796/1.021, allocations: 29.31 MB / 1.618 GB, free: 12.1 MB / 0.698 GB