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.ElectricEIR.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.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadModel(Buildings): time 3.891/3.891, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.136e-05, allocations: 4 kB / 0.5325 GB, free: 1.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5032/0.5033, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/1.603, allocations: 400.4 MB / 1.02 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/1.603, allocations: 88.64 kB / 1.02 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.735/4.339, allocations: 0.5965 GB / 1.617 GB, free: 95.98 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.122e-06/4.339, allocations: 0 / 1.617 GB, free: 95.98 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001596/4.339, allocations: 50.8 kB / 1.617 GB, free: 95.93 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.003714/4.343, allocations: 1.744 MB / 1.618 GB, free: 94.14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/4.343, allocations: 8.031 kB / 1.618 GB, free: 94.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00408/4.347, allocations: 0.6337 MB / 1.619 GB, free: 93.5 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004211/4.351, allocations: 1.628 MB / 1.62 GB, free: 91.87 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/4.351, allocations: 117.3 kB / 1.621 GB, free: 91.74 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/4.351, allocations: 60 kB / 1.621 GB, free: 91.68 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002086/4.354, allocations: 0.8982 MB / 1.622 GB, free: 90.79 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/4.356, allocations: 0.9675 MB / 1.622 GB, free: 89.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/4.356, allocations: 4 kB / 1.622 GB, free: 89.78 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/4.356, allocations: 0 / 1.622 GB, free: 89.78 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/4.356, allocations: 27.95 kB / 1.622 GB, free: 89.75 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.008134/4.364, allocations: 5.143 MB / 1.628 GB, free: 84.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005169/4.369, allocations: 1.105 MB / 1.629 GB, free: 83.23 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009006/4.37, allocations: 398.8 kB / 1.629 GB, free: 82.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000834/4.371, allocations: 1.243 MB / 1.63 GB, free: 81.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009411/4.372, allocations: 0.5013 MB / 1.631 GB, free: 80.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=63): time 4.24e-06/4.372, allocations: 0 / 1.631 GB, free: 80.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=63): time 0.002492/4.375, allocations: 0.8448 MB / 1.631 GB, free: 79.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/4.375, allocations: 115.4 kB / 1.632 GB, free: 79.81 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/4.376, allocations: 0.9988 MB / 1.633 GB, free: 78.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/4.376, allocations: 29.7 kB / 1.633 GB, free: 78.77 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005788/4.377, allocations: 0.6966 MB / 1.633 GB, free: 78.07 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/4.377, allocations: 209 kB / 1.633 GB, free: 77.86 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/4.377, allocations: 0 / 1.633 GB, free: 77.86 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.23e-05/4.378, allocations: 333.9 kB / 1.634 GB, free: 77.53 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006659/4.378, allocations: 329.5 kB / 1.634 GB, free: 77.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008159/4.379, allocations: 0.579 MB / 1.635 GB, free: 76.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/4.38, allocations: 404.6 kB / 1.635 GB, free: 76.13 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.48e-06/4.38, allocations: 4 kB / 1.635 GB, free: 76.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002634/4.383, allocations: 0.9825 MB / 1.636 GB, free: 75.13 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00026/4.383, allocations: 1.194 MB / 1.637 GB, free: 73.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/4.383, allocations: 4 kB / 1.637 GB, free: 73.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/4.383, allocations: 4 kB / 1.637 GB, free: 73.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/4.385, allocations: 279.6 kB / 1.637 GB, free: 73.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/4.385, allocations: 8 kB / 1.637 GB, free: 73.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/4.387, allocations: 203.2 kB / 1.638 GB, free: 73.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/4.387, allocations: 47.97 kB / 1.638 GB, free: 73.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/4.387, allocations: 4 kB / 1.638 GB, free: 73.33 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002265/4.39, allocations: 0.8183 MB / 1.639 GB, free: 72.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/4.39, allocations: 4 kB / 1.639 GB, free: 72.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/4.39, allocations: 4 kB / 1.639 GB, free: 72.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/4.391, allocations: 271.9 kB / 1.639 GB, free: 72.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/4.391, allocations: 15.88 kB / 1.639 GB, free: 72.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/4.393, allocations: 199.3 kB / 1.639 GB, free: 72.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/4.393, allocations: 51.09 kB / 1.639 GB, free: 71.98 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.0002661/4.394, allocations: 120.8 kB / 1.639 GB, free: 71.86 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/4.394, allocations: 138.3 kB / 1.639 GB, free: 71.72 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/4.397, allocations: 1.028 MB / 1.64 GB, free: 70.68 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/4.397, allocations: 12 kB / 1.64 GB, free: 70.67 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.419e-06/4.397, allocations: 0 / 1.64 GB, free: 70.67 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001993/4.399, allocations: 0.8647 MB / 1.641 GB, free: 69.78 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006404/4.405, allocations: 2.782 MB / 1.644 GB, free: 66.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/4.405, allocations: 4 kB / 1.644 GB, free: 66.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/4.407, allocations: 240 kB / 1.644 GB, free: 66.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/4.407, allocations: 4 kB / 1.644 GB, free: 66.63 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-05/4.407, allocations: 23.97 kB / 1.644 GB, free: 66.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/4.407, allocations: 8 kB / 1.644 GB, free: 66.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.112e-06/4.407, allocations: 7.938 kB / 1.644 GB, free: 66.59 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/4.41, allocations: 1.857 MB / 1.646 GB, free: 64.57 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009617/4.411, allocations: 444.1 kB / 1.646 GB, free: 64.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/4.412, allocations: 11.94 kB / 1.646 GB, free: 64.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/4.413, allocations: 163.5 kB / 1.647 GB, free: 63.93 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/4.413, allocations: 64.47 kB / 1.647 GB, free: 63.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/4.414, allocations: 35.98 kB / 1.647 GB, free: 63.83 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001332/4.415, allocations: 0.7652 MB / 1.647 GB, free: 63.06 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.8e-06/4.415, allocations: 0 / 1.647 GB, free: 63.06 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003368/4.418, allocations: 0.8367 MB / 1.648 GB, free: 62.23 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.001715/4.42, allocations: 0.8012 MB / 1.649 GB, free: 61.51 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002737/4.423, allocations: 1.379 MB / 1.65 GB, free: 60.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.738e-06/4.423, allocations: 5.5 kB / 1.65 GB, free: 60.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/4.424, allocations: 470.4 kB / 1.651 GB, free: 59.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00364/4.428, allocations: 0.6393 MB / 1.651 GB, free: 59.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/4.432, allocations: 1.901 MB / 1.653 GB, free: 57.06 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008392/4.432, allocations: 1.255 MB / 1.655 GB, free: 55.77 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002969/4.435, allocations: 434 kB / 1.655 GB, free: 55.37 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/4.436, allocations: 95.39 kB / 1.655 GB, free: 55.28 MB / 0.8073 GB Notification: Performance of SimCode: time 1.839e-06/4.436, allocations: 0 / 1.655 GB, free: 55.28 MB / 0.8073 GB Notification: Performance of Templates: time 0.06204/4.498, allocations: 29.06 MB / 1.683 GB, free: 26.73 MB / 0.8073 GB