Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.271/2.271, allocations: 253.2 MB / 260.6 MB, free: 7.48 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.00152, allocations: 182.1 kB / 319.9 MB, free: 3.078 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.6 MB / 0.5709 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001446/0.001445, allocations: 93 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.104e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.1998, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.029/2.229, allocations: 409.5 MB / 1.289 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/2.229, allocations: 86.28 kB / 1.289 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.651/4.88, allocations: 0.6025 GB / 1.891 GB, free: 37.05 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.734e-06/4.88, allocations: 0 / 1.891 GB, free: 37.05 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001718/4.88, allocations: 43.45 kB / 1.891 GB, free: 37.01 MB / 0.8698 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.004439/4.885, allocations: 1.776 MB / 1.893 GB, free: 35.19 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/4.885, allocations: 8.031 kB / 1.893 GB, free: 35.18 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006152/4.891, allocations: 0.6312 MB / 1.894 GB, free: 34.55 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005426/4.897, allocations: 1.644 MB / 1.895 GB, free: 32.89 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/4.897, allocations: 105.4 kB / 1.895 GB, free: 32.77 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000243/4.897, allocations: 67.94 kB / 1.895 GB, free: 32.71 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002481/4.899, allocations: 0.9294 MB / 1.896 GB, free: 31.78 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/4.902, allocations: 0.9831 MB / 1.897 GB, free: 30.76 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.443e-05/4.902, allocations: 0 / 1.897 GB, free: 30.76 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/4.902, allocations: 7.953 kB / 1.897 GB, free: 30.75 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.064e-05/4.902, allocations: 39.91 kB / 1.897 GB, free: 30.71 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.0101/4.912, allocations: 5.226 MB / 1.902 GB, free: 25.21 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/4.914, allocations: 0.6727 MB / 1.903 GB, free: 24.52 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00094/4.915, allocations: 442.4 kB / 1.903 GB, free: 24.09 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009576/4.916, allocations: 1.239 MB / 1.905 GB, free: 22.58 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/4.917, allocations: 0.5209 MB / 1.905 GB, free: 22.04 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 4.9e-06/4.917, allocations: 0 / 1.905 GB, free: 22.04 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.004405/4.922, allocations: 0.9188 MB / 1.906 GB, free: 21.11 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/4.922, allocations: 111.4 kB / 1.906 GB, free: 20.98 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/4.925, allocations: 1.047 MB / 1.907 GB, free: 19.92 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003805/4.925, allocations: 25.7 kB / 1.907 GB, free: 19.89 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/4.926, allocations: 0.6853 MB / 1.908 GB, free: 19.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005082/4.927, allocations: 216.8 kB / 1.908 GB, free: 18.98 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/4.927, allocations: 0 / 1.908 GB, free: 18.98 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001033/4.927, allocations: 334 kB / 1.908 GB, free: 18.65 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/4.928, allocations: 349.4 kB / 1.909 GB, free: 18.31 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/4.93, allocations: 0.5992 MB / 1.909 GB, free: 17.61 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/4.932, allocations: 430.1 kB / 1.91 GB, free: 17.19 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/4.932, allocations: 0 / 1.91 GB, free: 17.19 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005216/4.938, allocations: 1.025 MB / 1.911 GB, free: 16.15 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003717/4.938, allocations: 1.205 MB / 1.912 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/4.938, allocations: 7.938 kB / 1.912 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.58e-05/4.938, allocations: 4 kB / 1.912 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/4.941, allocations: 271.7 kB / 1.912 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/4.941, allocations: 8 kB / 1.912 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/4.945, allocations: 211.2 kB / 1.912 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003563/4.946, allocations: 47.97 kB / 1.912 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/4.946, allocations: 4 kB / 1.912 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00409/4.95, allocations: 0.8575 MB / 1.913 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/4.95, allocations: 4 kB / 1.913 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/4.95, allocations: 4 kB / 1.913 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/4.953, allocations: 276 kB / 1.914 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/4.953, allocations: 12 kB / 1.914 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003771/4.957, allocations: 207.2 kB / 1.914 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002548/4.957, allocations: 51.92 kB / 1.914 GB, free: 12.94 MB / 0.8698 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 () * 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.0004418/4.958, allocations: 120.8 kB / 1.914 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005752/4.958, allocations: 146.2 kB / 1.914 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005025/4.963, allocations: 1.088 MB / 1.915 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.882e-05/4.964, allocations: 8 kB / 1.915 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/4.964, allocations: 3.984 kB / 1.915 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003602/4.967, allocations: 0.9207 MB / 1.916 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/4.978, allocations: 2.982 MB / 1.919 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/4.978, allocations: 4 kB / 1.919 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002864/4.981, allocations: 243.8 kB / 1.919 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.442e-05/4.981, allocations: 11.98 kB / 1.919 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/4.981, allocations: 23.91 kB / 1.919 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-05/4.981, allocations: 8 kB / 1.919 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/4.981, allocations: 7.938 kB / 1.919 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006391/4.987, allocations: 2.045 MB / 1.921 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/4.989, allocations: 475.9 kB / 1.922 GB, free: 4.445 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005463/4.99, allocations: 7.984 kB / 1.922 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00356/4.993, allocations: 159.8 kB / 1.922 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003247/4.994, allocations: 76.36 kB / 1.922 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002216/4.994, allocations: 47.97 kB / 1.922 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002223/4.996, allocations: 0.7934 MB / 1.923 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.41e-07/4.996, allocations: 0 / 1.923 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004826/5.001, allocations: 0.8368 MB / 1.924 GB, free: 2.531 MB / 0.8698 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) * 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.00261/5.004, allocations: 0.8201 MB / 1.924 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003412/5.007, allocations: 1.428 MB / 1.926 GB, free: 328 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/5.007, allocations: 4 kB / 1.926 GB, free: 324 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.6539/5.661, allocations: 498.9 kB / 1.926 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00617/5.667, allocations: 0.6343 MB / 1.927 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/5.672, allocations: 1.989 MB / 1.929 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/5.674, allocations: 1.277 MB / 1.93 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004069/5.678, allocations: 460.8 kB / 1.93 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005432/5.678, allocations: 97.14 kB / 1.931 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.262e-06/5.678, allocations: 6.969 kB / 1.931 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.09054/5.769, allocations: 29.65 MB / 1.96 GB, free: 143.6 MB / 0.8698 GB