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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 3.908/3.908, allocations: 433.3 MB / 440.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.986e-05/1.989e-05, allocations: 4 kB / 0.5325 GB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.5373, allocations: 98.72 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.607, allocations: 400.4 MB / 1.02 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/1.607, allocations: 88.14 kB / 1.02 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.694/4.302, allocations: 0.5971 GB / 1.617 GB, free: 95.37 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.298e-06/4.302, allocations: 0 / 1.617 GB, free: 95.37 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001856/4.302, allocations: 47.38 kB / 1.617 GB, free: 95.32 MB / 0.8073 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.003987/4.306, allocations: 1.771 MB / 1.619 GB, free: 93.51 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/4.306, allocations: 8.031 kB / 1.619 GB, free: 93.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004121/4.31, allocations: 0.6374 MB / 1.619 GB, free: 92.87 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005576/4.316, allocations: 1.653 MB / 1.621 GB, free: 91.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/4.316, allocations: 105.4 kB / 1.621 GB, free: 91.09 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003945/4.317, allocations: 60 kB / 1.621 GB, free: 91.03 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00228/4.319, allocations: 0.9255 MB / 1.622 GB, free: 90.11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/4.321, allocations: 0.9753 MB / 1.623 GB, free: 89.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/4.321, allocations: 3.938 kB / 1.623 GB, free: 89.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/4.321, allocations: 7.562 kB / 1.623 GB, free: 89.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.473e-05/4.321, allocations: 35.94 kB / 1.623 GB, free: 89.05 MB / 0.8073 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.00823/4.33, allocations: 5.191 MB / 1.628 GB, free: 83.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/4.331, allocations: 0.7029 MB / 1.629 GB, free: 82.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007875/4.332, allocations: 414.8 kB / 1.629 GB, free: 82.47 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007894/4.333, allocations: 1.238 MB / 1.63 GB, free: 80.96 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009002/4.334, allocations: 0.5053 MB / 1.631 GB, free: 80.44 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=63): time 4.277e-06/4.334, allocations: 0 / 1.631 GB, free: 80.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=63): time 0.00264/4.337, allocations: 0.8915 MB / 1.632 GB, free: 79.54 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/4.337, allocations: 119 kB / 1.632 GB, free: 79.4 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/4.338, allocations: 1.048 MB / 1.633 GB, free: 78.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/4.339, allocations: 25.7 kB / 1.633 GB, free: 78.31 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006109/4.339, allocations: 0.7124 MB / 1.634 GB, free: 77.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/4.339, allocations: 205 kB / 1.634 GB, free: 77.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-05/4.34, allocations: 0 / 1.634 GB, free: 77.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.105e-05/4.34, allocations: 330 kB / 1.634 GB, free: 77.06 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006805/4.34, allocations: 349.4 kB / 1.635 GB, free: 76.72 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008447/4.341, allocations: 0.5907 MB / 1.635 GB, free: 76.03 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/4.343, allocations: 428.5 kB / 1.636 GB, free: 75.61 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.163e-06/4.343, allocations: 0 / 1.636 GB, free: 75.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002752/4.345, allocations: 1.025 MB / 1.637 GB, free: 74.57 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002582/4.346, allocations: 1.205 MB / 1.638 GB, free: 73.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/4.346, allocations: 0 / 1.638 GB, free: 73.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/4.346, allocations: 8 kB / 1.638 GB, free: 73.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/4.347, allocations: 271.7 kB / 1.638 GB, free: 73.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/4.347, allocations: 11.94 kB / 1.638 GB, free: 73.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/4.349, allocations: 207.2 kB / 1.638 GB, free: 72.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/4.35, allocations: 47.97 kB / 1.638 GB, free: 72.77 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/4.35, allocations: 4 kB / 1.638 GB, free: 72.77 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002424/4.352, allocations: 0.8419 MB / 1.639 GB, free: 71.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.361e-06/4.352, allocations: 4 kB / 1.639 GB, free: 71.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/4.352, allocations: 8 kB / 1.639 GB, free: 71.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/4.354, allocations: 280 kB / 1.639 GB, free: 71.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/4.354, allocations: 7.953 kB / 1.639 GB, free: 71.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/4.356, allocations: 199.2 kB / 1.64 GB, free: 71.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/4.356, allocations: 51.97 kB / 1.64 GB, free: 71.38 MB / 0.8073 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.0002668/4.356, allocations: 128.7 kB / 1.64 GB, free: 71.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/4.356, allocations: 146.2 kB / 1.64 GB, free: 71.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/4.359, allocations: 1.066 MB / 1.641 GB, free: 70.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/4.359, allocations: 8 kB / 1.641 GB, free: 70.04 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/4.359, allocations: 0 / 1.641 GB, free: 70.04 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002027/4.361, allocations: 0.9077 MB / 1.642 GB, free: 69.1 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006472/4.368, allocations: 2.852 MB / 1.645 GB, free: 66.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/4.368, allocations: 4 kB / 1.645 GB, free: 66.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/4.369, allocations: 236.1 kB / 1.645 GB, free: 65.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/4.369, allocations: 8 kB / 1.645 GB, free: 65.88 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.646e-05/4.37, allocations: 23.97 kB / 1.645 GB, free: 65.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.058e-06/4.37, allocations: 7.938 kB / 1.645 GB, free: 65.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.104e-06/4.37, allocations: 8 kB / 1.645 GB, free: 65.84 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003639/4.373, allocations: 1.924 MB / 1.647 GB, free: 63.76 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009641/4.374, allocations: 452 kB / 1.647 GB, free: 63.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/4.375, allocations: 11.95 kB / 1.647 GB, free: 63.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/4.376, allocations: 167.7 kB / 1.647 GB, free: 63.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/4.376, allocations: 64.36 kB / 1.647 GB, free: 63.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/4.376, allocations: 43.97 kB / 1.647 GB, free: 62.99 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001457/4.378, allocations: 0.8016 MB / 1.648 GB, free: 62.19 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.07e-07/4.378, allocations: 0 / 1.648 GB, free: 62.19 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0031/4.381, allocations: 0.8262 MB / 1.649 GB, free: 61.36 MB / 0.8073 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.001641/4.383, allocations: 0.8173 MB / 1.65 GB, free: 60.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00265/4.385, allocations: 1.408 MB / 1.651 GB, free: 59.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.47e-06/4.385, allocations: 448 / 1.651 GB, free: 59.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/4.386, allocations: 481.8 kB / 1.652 GB, free: 58.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/4.39, allocations: 0.623 MB / 1.652 GB, free: 58.12 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/4.395, allocations: 1.962 MB / 1.654 GB, free: 56.11 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008436/4.395, allocations: 1.271 MB / 1.655 GB, free: 54.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002997/4.398, allocations: 454.4 kB / 1.656 GB, free: 54.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/4.399, allocations: 95.39 kB / 1.656 GB, free: 54.3 MB / 0.8073 GB Notification: Performance of SimCode: time 1.705e-06/4.399, allocations: 3.938 kB / 1.656 GB, free: 54.29 MB / 0.8073 GB Notification: Performance of Templates: time 0.0612/4.46, allocations: 29.39 MB / 1.685 GB, free: 25.39 MB / 0.8073 GB