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.32/2.32, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.001549, allocations: 189.2 kB / 325.6 MB, free: 2.82 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.323/2.323, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.001133/0.001133, allocations: 100.3 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006529/0.0006529, allocations: 9 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2512, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.482, allocations: 409.3 MB / 1.299 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/1.483, allocations: 89.89 kB / 1.299 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.251/4.734, allocations: 0.608 GB / 1.907 GB, free: 179 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.517e-06/4.734, allocations: 3.188 kB / 1.907 GB, free: 179 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002805/4.734, allocations: 47.44 kB / 1.907 GB, free: 179 MB / 0.8855 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.007688/4.742, allocations: 2.095 MB / 1.909 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/4.742, allocations: 7.75 kB / 1.909 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006647/4.749, allocations: 0.6439 MB / 1.909 GB, free: 177.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005957/4.755, allocations: 1.664 MB / 1.911 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/4.755, allocations: 146.7 kB / 1.911 GB, free: 176 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003689/4.755, allocations: 103.6 kB / 1.911 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005098/4.76, allocations: 1.333 MB / 1.913 GB, free: 175.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-05/4.761, allocations: 0 / 1.913 GB, free: 175.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/4.761, allocations: 38.69 kB / 1.913 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.167e-05/4.761, allocations: 34.08 kB / 1.913 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006838/4.768, allocations: 1.391 MB / 1.914 GB, free: 174.5 MB / 0.8855 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.01198/4.78, allocations: 5.427 MB / 1.919 GB, free: 170 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004509/4.784, allocations: 0.9652 MB / 1.92 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/4.785, allocations: 1.248 MB / 1.921 GB, free: 168 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003308/4.789, allocations: 0.7049 MB / 1.922 GB, free: 167.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=67): time 5.4e-06/4.789, allocations: 0 / 1.922 GB, free: 167.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67): time 0.009658/4.798, allocations: 1.86 MB / 1.924 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/4.799, allocations: 63.91 kB / 1.924 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/4.801, allocations: 1.195 MB / 1.925 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003221/4.801, allocations: 45.7 kB / 1.925 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007656/4.802, allocations: 0.6732 MB / 1.926 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004205/4.803, allocations: 228.4 kB / 1.926 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/4.803, allocations: 12 kB / 1.926 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.925e-05/4.803, allocations: 340.5 kB / 1.926 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002984/4.806, allocations: 0.5573 MB / 1.927 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003237/4.809, allocations: 0.824 MB / 1.928 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/4.812, allocations: 0.6171 MB / 1.928 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/4.812, allocations: 0 / 1.928 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.006883/4.819, allocations: 1.473 MB / 1.93 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000314/4.819, allocations: 1.2 MB / 1.931 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/4.82, allocations: 4 kB / 1.931 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.164e-05/4.82, allocations: 8 kB / 1.931 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/4.822, allocations: 289.3 kB / 1.931 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/4.822, allocations: 4 kB / 1.931 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/4.825, allocations: 229.9 kB / 1.931 GB, free: 157.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/4.826, allocations: 51.97 kB / 1.932 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/4.826, allocations: 5.812 kB / 1.932 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006182/4.832, allocations: 1.314 MB / 1.933 GB, free: 156.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/4.832, allocations: 4 kB / 1.933 GB, free: 156.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/4.832, allocations: 8 kB / 1.933 GB, free: 156.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/4.834, allocations: 276.5 kB / 1.933 GB, free: 156 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/4.834, allocations: 15.64 kB / 1.933 GB, free: 156 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/4.837, allocations: 232.8 kB / 1.933 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/4.838, allocations: 47.97 kB / 1.933 GB, free: 155.7 MB / 0.8855 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.001142/4.839, allocations: 421.5 kB / 1.934 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004655/4.839, allocations: 146.2 kB / 1.934 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006797/4.846, allocations: 1.536 MB / 1.935 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-05/4.846, allocations: 8 kB / 1.935 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/4.846, allocations: 3.953 kB / 1.935 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007121/4.853, allocations: 1.355 MB / 1.937 GB, free: 152.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/4.867, allocations: 3.422 MB / 1.94 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/4.867, allocations: 8.094 kB / 1.94 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003834/4.871, allocations: 235.7 kB / 1.94 GB, free: 148.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.576e-05/4.871, allocations: 15.39 kB / 1.94 GB, free: 148.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002277/4.871, allocations: 35.94 kB / 1.94 GB, free: 148.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.616e-05/4.871, allocations: 7.938 kB / 1.94 GB, free: 148.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/4.871, allocations: 8 kB / 1.94 GB, free: 148.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/4.883, allocations: 2.725 MB / 1.943 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/4.884, allocations: 483.8 kB / 1.944 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003634/4.885, allocations: 23.94 kB / 1.944 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002695/4.887, allocations: 183.7 kB / 1.944 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002401/4.888, allocations: 76.36 kB / 1.944 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/4.888, allocations: 47.16 kB / 1.944 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002009/4.89, allocations: 0.9605 MB / 1.945 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.6e-07/4.89, allocations: 0 / 1.945 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003466/4.893, allocations: 0.8577 MB / 1.946 GB, free: 142.8 MB / 0.8855 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.002067/4.895, allocations: 0.8151 MB / 1.946 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009133/4.905, allocations: 2.066 MB / 1.948 GB, free: 140 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/4.905, allocations: 4 kB / 1.948 GB, free: 140 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003292/4.908, allocations: 0.7186 MB / 1.949 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006827/4.915, allocations: 0.747 MB / 1.95 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007809/4.923, allocations: 3.245 MB / 1.953 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008771/4.924, allocations: 1.269 MB / 1.954 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003014/4.927, allocations: 379.5 kB / 1.955 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006301/4.927, allocations: 127.3 kB / 1.955 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.022e-06/4.927, allocations: 0 / 1.955 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.08468/5.012, allocations: 33.34 MB / 1.987 GB, free: 101.2 MB / 0.8855 GB