Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01035/0.01035, allocations: 223 kB / 15.17 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001118/0.001118, allocations: 176.5 kB / 16.06 MB, free: 5.871 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.506/3.506, allocations: 389.1 MB / 405.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.04/4.04, allocations: 472.3 MB / 0.9018 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004725, allocations: 16 kB / 1.008 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5529/0.5534, allocations: 98.7 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05788/0.6113, allocations: 55.19 MB / 1.158 GB, free: 174.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01906/0.6304, allocations: 11.99 MB / 1.17 GB, free: 165.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00252/0.633, allocations: 63.41 kB / 1.17 GB, free: 165.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002521/0.6355, allocations: 0.8198 MB / 1.17 GB, free: 165.2 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008365/0.6439, allocations: 2.334 MB / 1.173 GB, free: 163.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005543/0.6495, allocations: 1.504 MB / 1.174 GB, free: 162.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006505/0.656, allocations: 4.847 MB / 1.179 GB, free: 160 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.6577, allocations: 0.9714 MB / 1.18 GB, free: 159.4 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/0.6604, allocations: 1.265 MB / 1.181 GB, free: 158.7 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.6621, allocations: 1.088 MB / 1.182 GB, free: 158.1 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002273/0.6624, allocations: 59.06 kB / 1.182 GB, free: 158.1 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.6653, allocations: 0.823 MB / 1.183 GB, free: 157.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.6657, allocations: 302.7 kB / 1.183 GB, free: 157.2 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004653/0.6662, allocations: 361.5 kB / 1.184 GB, free: 156.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.6684, allocations: 1.869 MB / 1.186 GB, free: 154.9 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.302e-06/0.6684, allocations: 0 / 1.186 GB, free: 154.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.346e-06/0.6685, allocations: 0 / 1.186 GB, free: 154.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.6685, allocations: 0 / 1.186 GB, free: 154.9 MB / 0.7292 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.003389/0.6719, allocations: 1.877 MB / 1.187 GB, free: 153 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.6719, allocations: 11.41 kB / 1.187 GB, free: 153 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003771/0.6757, allocations: 0.6374 MB / 1.188 GB, free: 152.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00267/0.6784, allocations: 1.313 MB / 1.189 GB, free: 151 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.6786, allocations: 149.3 kB / 1.189 GB, free: 150.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.6788, allocations: 101.2 kB / 1.19 GB, free: 150.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/0.6821, allocations: 1.32 MB / 1.191 GB, free: 149.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/0.6822, allocations: 0 / 1.191 GB, free: 149.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.6823, allocations: 36 kB / 1.191 GB, free: 149.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-05/0.6824, allocations: 27.98 kB / 1.191 GB, free: 149.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0041/0.6865, allocations: 1.367 MB / 1.192 GB, free: 148 MB / 0.7292 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.007897/0.6944, allocations: 5.32 MB / 1.197 GB, free: 142.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006009/0.7004, allocations: 1.349 MB / 1.199 GB, free: 141.1 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00227/0.7027, allocations: 0.6158 MB / 1.199 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/0.704, allocations: 1.235 MB / 1.201 GB, free: 138.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003264/0.7073, allocations: 0.6593 MB / 1.201 GB, free: 138.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=65): time 6.593e-06/0.7073, allocations: 0 / 1.201 GB, free: 138.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65): time 0.00836/0.7157, allocations: 1.723 MB / 1.203 GB, free: 136.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.7158, allocations: 63.91 kB / 1.203 GB, free: 136.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.7177, allocations: 1.259 MB / 1.204 GB, free: 135.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.7178, allocations: 45.7 kB / 1.204 GB, free: 135.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000513/0.7184, allocations: 0.6695 MB / 1.205 GB, free: 134.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.7186, allocations: 220.8 kB / 1.205 GB, free: 134.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.7187, allocations: 12 kB / 1.205 GB, free: 134.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.268e-05/0.7188, allocations: 337.9 kB / 1.205 GB, free: 133.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.7206, allocations: 0.5446 MB / 1.206 GB, free: 133.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/0.7225, allocations: 0.7699 MB / 1.207 GB, free: 132.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.7243, allocations: 0.5863 MB / 1.207 GB, free: 131.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.038e-06/0.7243, allocations: 0.8438 kB / 1.207 GB, free: 131.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004233/0.7286, allocations: 1.452 MB / 1.209 GB, free: 130.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-05/0.7287, allocations: 203.4 kB / 1.209 GB, free: 130.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.7287, allocations: 5.25 kB / 1.209 GB, free: 130.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.7287, allocations: 11.98 kB / 1.209 GB, free: 130.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.7302, allocations: 271.6 kB / 1.209 GB, free: 129.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.7303, allocations: 11.95 kB / 1.209 GB, free: 129.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.7321, allocations: 242.8 kB / 1.209 GB, free: 129.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.7322, allocations: 39.97 kB / 1.209 GB, free: 129.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.274e-06/0.7323, allocations: 4 kB / 1.209 GB, free: 129.6 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003891/0.7362, allocations: 1.298 MB / 1.211 GB, free: 128.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.638e-06/0.7362, allocations: 4 kB / 1.211 GB, free: 128.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.7362, allocations: 4 kB / 1.211 GB, free: 128.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.7376, allocations: 264 kB / 1.211 GB, free: 128.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.7377, allocations: 19.48 kB / 1.211 GB, free: 128.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.7395, allocations: 231.2 kB / 1.211 GB, free: 127.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.7396, allocations: 35.98 kB / 1.211 GB, free: 127.8 MB / 0.7292 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 (95): * Single equations (assignments): 94 * 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.0007322/0.7404, allocations: 418.5 kB / 1.212 GB, free: 127.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.7406, allocations: 142.2 kB / 1.212 GB, free: 127.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004217/0.7448, allocations: 1.47 MB / 1.213 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.7448, allocations: 8 kB / 1.213 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.333e-06/0.7449, allocations: 0 / 1.213 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003561/0.7484, allocations: 1.249 MB / 1.214 GB, free: 124.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006901/0.7554, allocations: 3.109 MB / 1.217 GB, free: 121.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.7554, allocations: 4 kB / 1.217 GB, free: 121.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.7568, allocations: 232.1 kB / 1.218 GB, free: 121 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.7568, allocations: 8 kB / 1.218 GB, free: 121 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.158e-05/0.7569, allocations: 19.98 kB / 1.218 GB, free: 121 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/0.7569, allocations: 15.98 kB / 1.218 GB, free: 121 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.262e-06/0.7569, allocations: 7.938 kB / 1.218 GB, free: 120.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005981/0.7629, allocations: 2.225 MB / 1.22 GB, free: 118.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006878/0.7636, allocations: 347 kB / 1.22 GB, free: 118.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.7639, allocations: 19.98 kB / 1.22 GB, free: 118.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/0.7655, allocations: 177.7 kB / 1.22 GB, free: 118.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.7657, allocations: 76.36 kB / 1.22 GB, free: 118 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.816e-05/0.7658, allocations: 35.48 kB / 1.221 GB, free: 118 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001342/0.7671, allocations: 0.8971 MB / 1.221 GB, free: 117.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.19e-07/0.7671, allocations: 0 / 1.221 GB, free: 117.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002285/0.7694, allocations: 0.7759 MB / 1.222 GB, free: 116.3 MB / 0.7292 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) * Number of clocked states: 0 () * 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.0009543/0.7704, allocations: 498.4 kB / 1.223 GB, free: 115.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005841/0.7763, allocations: 2.05 MB / 1.225 GB, free: 113.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.117e-06/0.7763, allocations: 0 / 1.225 GB, free: 113.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002686/0.779, allocations: 0.6794 MB / 1.225 GB, free: 113.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007262/0.7863, allocations: 0.7428 MB / 1.226 GB, free: 112.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006376/0.7927, allocations: 3.119 MB / 1.229 GB, free: 109.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.794, allocations: 1.253 MB / 1.23 GB, free: 107.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003784/0.7978, allocations: 346.8 kB / 1.231 GB, free: 107.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007886/0.7986, allocations: 123.4 kB / 1.231 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.943e-06/0.7986, allocations: 0 / 1.231 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.06856/0.8672, allocations: 28.77 MB / 1.259 GB, free: 79.82 MB / 0.7292 GB