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 5.028/5.028, allocations: 0.5623 GB / 0.5775 GB, free: 3.375 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.002514/0.002513, allocations: 360.4 kB / 0.6446 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 4.192/4.192, allocations: 410.7 MB / 1.113 GB, free: 6.051 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.001834/0.001834, allocations: 188.4 kB / 1.226 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004966, allocations: 12 kB / 1.349 GB, free: 8.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7454/0.7459, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/1.935, allocations: 416.9 MB / 1.868 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/1.935, allocations: 101.2 kB / 1.869 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.456/5.391, allocations: 0.6211 GB / 2.49 GB, free: 180.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.465e-06/5.391, allocations: 0 / 2.49 GB, free: 180.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00023/5.391, allocations: 44.72 kB / 2.49 GB, free: 180.1 MB / 0.948 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.007176/5.398, allocations: 2.097 MB / 2.492 GB, free: 179.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/5.398, allocations: 22.12 kB / 2.492 GB, free: 179.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006369/5.404, allocations: 0.6256 MB / 2.492 GB, free: 179.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005677/5.41, allocations: 1.605 MB / 2.494 GB, free: 179 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/5.41, allocations: 153.3 kB / 2.494 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003555/5.411, allocations: 101.6 kB / 2.494 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005421/5.416, allocations: 1.343 MB / 2.496 GB, free: 178.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.274e-05/5.416, allocations: 2.531 kB / 2.496 GB, free: 178.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/5.417, allocations: 47.58 kB / 2.496 GB, free: 178.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/5.417, allocations: 22.69 kB / 2.496 GB, free: 178.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006849/5.423, allocations: 1.4 MB / 2.497 GB, free: 178.8 MB / 0.948 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.01158/5.435, allocations: 5.404 MB / 2.502 GB, free: 176.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004545/5.44, allocations: 1.115 MB / 2.503 GB, free: 176.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003136/5.443, allocations: 0.6518 MB / 2.504 GB, free: 176.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/5.444, allocations: 1.247 MB / 2.505 GB, free: 174.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003319/5.447, allocations: 0.7269 MB / 2.506 GB, free: 174.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 5.38e-06/5.447, allocations: 0 / 2.506 GB, free: 174.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.009661/5.457, allocations: 1.869 MB / 2.508 GB, free: 174.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/5.457, allocations: 65.25 kB / 2.508 GB, free: 174.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/5.46, allocations: 1.297 MB / 2.509 GB, free: 174.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003495/5.46, allocations: 44.3 kB / 2.509 GB, free: 174.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007788/5.461, allocations: 0.6693 MB / 2.51 GB, free: 174.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004438/5.462, allocations: 240.6 kB / 2.51 GB, free: 174 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.61e-05/5.462, allocations: 16.03 kB / 2.51 GB, free: 174 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/5.462, allocations: 340.1 kB / 2.51 GB, free: 173.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00287/5.465, allocations: 0.5563 MB / 2.511 GB, free: 173.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003192/5.468, allocations: 0.8245 MB / 2.512 GB, free: 173.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00302/5.471, allocations: 0.6098 MB / 2.512 GB, free: 173.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/5.471, allocations: 0 / 2.512 GB, free: 173.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.007162/5.478, allocations: 1.46 MB / 2.514 GB, free: 173.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/5.478, allocations: 208.3 kB / 2.514 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/5.478, allocations: 6.594 kB / 2.514 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/5.478, allocations: 9.094 kB / 2.514 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/5.481, allocations: 264.7 kB / 2.514 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.651e-05/5.481, allocations: 11.58 kB / 2.514 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003273/5.484, allocations: 235.1 kB / 2.514 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002645/5.485, allocations: 48.48 kB / 2.514 GB, free: 173 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/5.485, allocations: 7.844 kB / 2.514 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006301/5.491, allocations: 1.306 MB / 2.516 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/5.491, allocations: 3.75 kB / 2.516 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/5.491, allocations: 7.438 kB / 2.516 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/5.493, allocations: 262.2 kB / 2.516 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/5.493, allocations: 10.81 kB / 2.516 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/5.497, allocations: 228.7 kB / 2.516 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/5.497, allocations: 53.73 kB / 2.516 GB, free: 173 MB / 0.948 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 (87): * Single equations (assignments): 86 * 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.001097/5.498, allocations: 412.8 kB / 2.517 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004936/5.499, allocations: 153.9 kB / 2.517 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006768/5.505, allocations: 1.585 MB / 2.518 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/5.505, allocations: 18.12 kB / 2.518 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/5.505, allocations: 0.7188 kB / 2.518 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007168/5.513, allocations: 1.339 MB / 2.52 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/5.528, allocations: 3.391 MB / 2.523 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/5.528, allocations: 7.5 kB / 2.523 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003034/5.531, allocations: 242.1 kB / 2.523 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-05/5.531, allocations: 7.594 kB / 2.523 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/5.531, allocations: 27.55 kB / 2.523 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.427e-05/5.531, allocations: 15.27 kB / 2.523 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.458e-05/5.531, allocations: 12.92 kB / 2.523 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/5.545, allocations: 2.42 MB / 2.526 GB, free: 171.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00175/5.547, allocations: 480 kB / 2.526 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005018/5.548, allocations: 19.5 kB / 2.526 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00356/5.551, allocations: 179.8 kB / 2.526 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003089/5.552, allocations: 75.28 kB / 2.526 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002465/5.552, allocations: 47.72 kB / 2.526 GB, free: 171.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002931/5.555, allocations: 0.9271 MB / 2.527 GB, free: 171 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.82e-07/5.555, allocations: 0.7812 kB / 2.527 GB, free: 171 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005269/5.56, allocations: 0.8409 MB / 2.528 GB, free: 170.8 MB / 0.948 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.002649/5.563, allocations: 0.7917 MB / 2.529 GB, free: 170.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01204/5.575, allocations: 2.055 MB / 2.531 GB, free: 170.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/5.575, allocations: 0 / 2.531 GB, free: 170.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004555/5.579, allocations: 0.7209 MB / 2.532 GB, free: 170.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009434/5.589, allocations: 0.7695 MB / 2.532 GB, free: 170.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008008/5.597, allocations: 3.234 MB / 2.536 GB, free: 169.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009153/5.598, allocations: 1.276 MB / 2.537 GB, free: 168.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003149/5.601, allocations: 374.8 kB / 2.537 GB, free: 168.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006785/5.602, allocations: 126.1 kB / 2.537 GB, free: 168.3 MB / 0.948 GB Notification: Performance of SimCode: time 9.32e-07/5.602, allocations: 0 / 2.537 GB, free: 168.3 MB / 0.948 GB Notification: Performance of Templates: time 0.08147/5.683, allocations: 32.99 MB / 2.569 GB, free: 167.1 MB / 0.948 GB