Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.616/4.616, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.002402/0.002401, allocations: 356.1 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.884/3.884, allocations: 410.7 MB / 1.112 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001757/0.001756, allocations: 176.4 kB / 1.225 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004876, allocations: 12 kB / 1.348 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5732/0.5737, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05126/0.625, allocations: 55.75 MB / 1.515 GB, free: 228.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.6417, allocations: 12.02 MB / 1.527 GB, free: 216.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.6441, allocations: 59.56 kB / 1.527 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002558/0.6467, allocations: 0.8349 MB / 1.528 GB, free: 215.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.007113/0.6538, allocations: 2.32 MB / 1.53 GB, free: 213.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005773/0.6596, allocations: 1.711 MB / 1.532 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005335/0.665, allocations: 4.755 MB / 1.536 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.6665, allocations: 0.984 MB / 1.537 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002079/0.6686, allocations: 1.256 MB / 1.539 GB, free: 204.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.6698, allocations: 1.087 MB / 1.54 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.67, allocations: 60 kB / 1.54 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.6724, allocations: 0.8221 MB / 1.54 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.6727, allocations: 310.6 kB / 1.541 GB, free: 202.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003859/0.6731, allocations: 356.8 kB / 1.541 GB, free: 202.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.6751, allocations: 1.894 MB / 1.543 GB, free: 200.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.463e-06/0.6752, allocations: 0 / 1.543 GB, free: 200.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6752, allocations: 0 / 1.543 GB, free: 200.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.841e-05/0.6752, allocations: 0 / 1.543 GB, free: 200.3 MB / 0.8542 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.003179/0.6784, allocations: 1.878 MB / 1.545 GB, free: 198.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.6784, allocations: 15.62 kB / 1.545 GB, free: 198.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003692/0.6821, allocations: 0.6339 MB / 1.545 GB, free: 197.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/0.6847, allocations: 1.319 MB / 1.547 GB, free: 196.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.6849, allocations: 141.4 kB / 1.547 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.6851, allocations: 96 kB / 1.547 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003198/0.6883, allocations: 1.334 MB / 1.548 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.6884, allocations: 3.938 kB / 1.548 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.6885, allocations: 36 kB / 1.548 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/0.6885, allocations: 27.94 kB / 1.548 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004111/0.6927, allocations: 1.374 MB / 1.55 GB, free: 193.3 MB / 0.8542 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.007269/0.7, allocations: 5.37 MB / 1.555 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005867/0.7059, allocations: 1.483 MB / 1.556 GB, free: 186 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001888/0.7078, allocations: 0.6234 MB / 1.557 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007087/0.7085, allocations: 1.232 MB / 1.558 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001972/0.7105, allocations: 0.6901 MB / 1.559 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=69): time 5.874e-06/0.7105, allocations: 1.406 kB / 1.559 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69): time 0.005715/0.7163, allocations: 1.77 MB / 1.561 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.7163, allocations: 63.92 kB / 1.561 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.7181, allocations: 1.247 MB / 1.562 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.7182, allocations: 45.7 kB / 1.562 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005289/0.7187, allocations: 0.6501 MB / 1.563 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.719, allocations: 244.5 kB / 1.563 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/0.7191, allocations: 20 kB / 1.563 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.7192, allocations: 330 kB / 1.563 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.7209, allocations: 0.5484 MB / 1.564 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/0.7229, allocations: 0.7664 MB / 1.564 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.7247, allocations: 0.5902 MB / 1.565 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.7247, allocations: 4 kB / 1.565 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004248/0.729, allocations: 1.442 MB / 1.566 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.706e-05/0.7291, allocations: 218.9 kB / 1.567 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.7291, allocations: 4 kB / 1.567 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.7291, allocations: 8 kB / 1.567 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.7306, allocations: 267.7 kB / 1.567 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.7307, allocations: 15.92 kB / 1.567 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.7325, allocations: 239 kB / 1.567 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.7327, allocations: 39.98 kB / 1.567 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.7327, allocations: 3.75 kB / 1.567 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00388/0.7366, allocations: 1.298 MB / 1.568 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.144e-06/0.7366, allocations: 4 kB / 1.568 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.7366, allocations: 12.25 kB / 1.568 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.7381, allocations: 263.7 kB / 1.569 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.7381, allocations: 8 kB / 1.569 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/0.7399, allocations: 239.1 kB / 1.569 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.74, allocations: 39.98 kB / 1.569 GB, free: 172.7 MB / 0.8542 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.0006894/0.7407, allocations: 412.8 kB / 1.569 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.741, allocations: 146.2 kB / 1.569 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004265/0.7452, allocations: 1.516 MB / 1.571 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.7453, allocations: 8 kB / 1.571 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.844e-06/0.7453, allocations: 4 kB / 1.571 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003634/0.7489, allocations: 1.274 MB / 1.572 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007152/0.7561, allocations: 3.245 MB / 1.575 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.7562, allocations: 4 kB / 1.575 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.7575, allocations: 244.2 kB / 1.576 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/0.7576, allocations: 8 kB / 1.576 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.481e-05/0.7577, allocations: 23.98 kB / 1.576 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.7577, allocations: 8 kB / 1.576 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.975e-06/0.7577, allocations: 7.938 kB / 1.576 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006073/0.7638, allocations: 2.305 MB / 1.578 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007629/0.7646, allocations: 363.8 kB / 1.578 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/0.7649, allocations: 19.98 kB / 1.578 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/0.7665, allocations: 183.7 kB / 1.578 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.7667, allocations: 72.36 kB / 1.579 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.7668, allocations: 43.97 kB / 1.579 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001348/0.7682, allocations: 0.8851 MB / 1.579 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.19e-07/0.7682, allocations: 0 / 1.579 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0021/0.7703, allocations: 0.7759 MB / 1.58 GB, free: 160.9 MB / 0.8542 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.0009247/0.7713, allocations: 488.2 kB / 1.581 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005826/0.7771, allocations: 2.074 MB / 1.583 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.683e-06/0.7771, allocations: 0 / 1.583 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002165/0.7793, allocations: 0.7147 MB / 1.583 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/0.7835, allocations: 0.7544 MB / 1.584 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.7886, allocations: 3.166 MB / 1.587 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007318/0.7893, allocations: 1.257 MB / 1.588 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002179/0.7915, allocations: 365.1 kB / 1.589 GB, free: 152 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/0.792, allocations: 123.3 kB / 1.589 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.618e-06/0.792, allocations: 0 / 1.589 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.05646/0.8485, allocations: 29 MB / 1.617 GB, free: 123.4 MB / 0.8542 GB