Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadModel(Buildings): time 4.297/4.297, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.363e-05/4.409e-05, allocations: 3.344 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1951, allocations: 98.72 MB / 0.6347 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9754/1.171, allocations: 401 MB / 1.026 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.171, allocations: 88.14 kB / 1.026 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.81/3.981, allocations: 0.6007 GB / 1.627 GB, free: 102.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.075e-06/3.981, allocations: 0 / 1.627 GB, free: 102.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001752/3.981, allocations: 39.98 kB / 1.627 GB, free: 102.2 MB / 0.823 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.004035/3.985, allocations: 1.765 MB / 1.629 GB, free: 100.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/3.985, allocations: 12.03 kB / 1.629 GB, free: 100.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00411/3.989, allocations: 0.6339 MB / 1.63 GB, free: 99.69 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/3.994, allocations: 1.659 MB / 1.631 GB, free: 97.99 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/3.994, allocations: 149.4 kB / 1.631 GB, free: 97.83 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/3.994, allocations: 99.98 kB / 1.631 GB, free: 97.73 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/3.997, allocations: 1.104 MB / 1.632 GB, free: 96.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/3.997, allocations: 3.938 kB / 1.632 GB, free: 96.59 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/3.997, allocations: 36 kB / 1.633 GB, free: 96.56 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/3.997, allocations: 31.5 kB / 1.633 GB, free: 96.53 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/3.999, allocations: 0.98 MB / 1.633 GB, free: 95.55 MB / 0.823 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.008844/4.008, allocations: 5.371 MB / 1.639 GB, free: 89.84 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/4.01, allocations: 0.7256 MB / 1.639 GB, free: 89.11 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009086/4.011, allocations: 443.2 kB / 1.64 GB, free: 88.68 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007804/4.012, allocations: 1.239 MB / 1.641 GB, free: 87.16 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/4.013, allocations: 0.5259 MB / 1.642 GB, free: 86.62 MB / 0.823 GB Notification: Performance of pre-optimization done (n=63): time 4.46e-06/4.013, allocations: 0 / 1.642 GB, free: 86.62 MB / 0.823 GB Notification: Performance of matching and sorting (n=63): time 0.002224/4.015, allocations: 0.8604 MB / 1.642 GB, free: 85.75 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/4.015, allocations: 127.4 kB / 1.643 GB, free: 85.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/4.017, allocations: 1.183 MB / 1.644 GB, free: 84.41 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/4.018, allocations: 41.7 kB / 1.644 GB, free: 84.36 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006139/4.018, allocations: 0.6979 MB / 1.644 GB, free: 83.66 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/4.018, allocations: 220.8 kB / 1.645 GB, free: 83.44 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.667e-05/4.019, allocations: 12 kB / 1.645 GB, free: 83.43 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.353e-05/4.019, allocations: 334 kB / 1.645 GB, free: 83.09 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007814/4.019, allocations: 353.5 kB / 1.645 GB, free: 82.75 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009652/4.02, allocations: 0.6117 MB / 1.646 GB, free: 82.03 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008002/4.021, allocations: 414.5 kB / 1.646 GB, free: 81.62 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.278e-06/4.021, allocations: 4 kB / 1.646 GB, free: 81.62 MB / 0.823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002537/4.024, allocations: 1.043 MB / 1.647 GB, free: 80.56 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002605/4.024, allocations: 1.199 MB / 1.649 GB, free: 79.25 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/4.024, allocations: 6.297 kB / 1.649 GB, free: 79.25 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/4.024, allocations: 4 kB / 1.649 GB, free: 79.24 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/4.026, allocations: 279.6 kB / 1.649 GB, free: 78.97 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/4.026, allocations: 8 kB / 1.649 GB, free: 78.96 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/4.028, allocations: 235 kB / 1.649 GB, free: 78.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/4.028, allocations: 59.77 kB / 1.649 GB, free: 78.68 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/4.028, allocations: 4 kB / 1.649 GB, free: 78.67 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002046/4.03, allocations: 0.8865 MB / 1.65 GB, free: 77.78 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.205e-06/4.03, allocations: 7.984 kB / 1.65 GB, free: 77.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/4.03, allocations: 7.953 kB / 1.65 GB, free: 77.77 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/4.032, allocations: 268 kB / 1.65 GB, free: 77.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/4.032, allocations: 15.92 kB / 1.65 GB, free: 77.49 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/4.034, allocations: 231.1 kB / 1.65 GB, free: 77.26 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/4.034, allocations: 51.97 kB / 1.65 GB, free: 77.21 MB / 0.823 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.0002839/4.035, allocations: 144.8 kB / 1.651 GB, free: 77.06 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003867/4.035, allocations: 150.2 kB / 1.651 GB, free: 76.91 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/4.038, allocations: 1.078 MB / 1.652 GB, free: 75.82 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/4.038, allocations: 18.69 kB / 1.652 GB, free: 75.81 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.424e-06/4.038, allocations: 7.938 kB / 1.652 GB, free: 75.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001711/4.039, allocations: 0.8961 MB / 1.653 GB, free: 74.88 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006127/4.046, allocations: 3.001 MB / 1.656 GB, free: 71.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/4.046, allocations: 4 kB / 1.656 GB, free: 71.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/4.047, allocations: 239.9 kB / 1.656 GB, free: 71.49 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/4.047, allocations: 8 kB / 1.656 GB, free: 71.48 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/4.047, allocations: 27.97 kB / 1.656 GB, free: 71.46 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/4.047, allocations: 7.953 kB / 1.656 GB, free: 71.45 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.492e-06/4.047, allocations: 7.938 kB / 1.656 GB, free: 71.44 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003399/4.051, allocations: 1.969 MB / 1.658 GB, free: 69.27 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/4.052, allocations: 467.9 kB / 1.658 GB, free: 68.78 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004188/4.052, allocations: 23.92 kB / 1.658 GB, free: 68.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/4.054, allocations: 179.7 kB / 1.659 GB, free: 68.58 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/4.055, allocations: 68.38 kB / 1.659 GB, free: 68.51 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/4.055, allocations: 43.97 kB / 1.659 GB, free: 68.47 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001833/4.057, allocations: 0.9522 MB / 1.66 GB, free: 67.52 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.96e-07/4.057, allocations: 4 kB / 1.66 GB, free: 67.52 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003162/4.06, allocations: 0.846 MB / 1.66 GB, free: 66.67 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (69): * Single equations (assignments): 61 * 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.001671/4.062, allocations: 0.8239 MB / 1.661 GB, free: 65.89 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002998/4.065, allocations: 1.466 MB / 1.663 GB, free: 64.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.883e-06/4.065, allocations: 3.984 kB / 1.663 GB, free: 64.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/4.066, allocations: 493.1 kB / 1.663 GB, free: 63.92 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004469/4.07, allocations: 0.7511 MB / 1.664 GB, free: 63.19 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/4.074, allocations: 2.016 MB / 1.666 GB, free: 61.12 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008089/4.075, allocations: 1.28 MB / 1.667 GB, free: 59.81 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003108/4.078, allocations: 476.7 kB / 1.667 GB, free: 59.38 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/4.079, allocations: 99.39 kB / 1.668 GB, free: 59.28 MB / 0.823 GB Notification: Performance of SimCode: time 1.78e-06/4.079, allocations: 3.938 kB / 1.668 GB, free: 59.28 MB / 0.823 GB Notification: Performance of Templates: time 0.07453/4.153, allocations: 36.55 MB / 1.703 GB, free: 23.19 MB / 0.823 GB