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.ElectricReformulatedEIR.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0104/0.0104, allocations: 221.9 kB / 15.17 MB, free: 6 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.001105/0.001105, allocations: 175.5 kB / 16.06 MB, free: 5.875 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.378/3.378, allocations: 389.1 MB / 405.9 MB, free: 13.25 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 3.824/3.824, allocations: 472.3 MB / 0.9017 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004783, allocations: 16 kB / 1.008 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4836/0.4841, allocations: 98.71 MB / 1.104 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.07071/0.5549, allocations: 55.18 MB / 1.158 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02186/0.5768, allocations: 12.03 MB / 1.17 GB, free: 7.211 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.579, allocations: 63.56 kB / 1.17 GB, free: 7.148 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.5816, allocations: 0.8268 MB / 1.171 GB, free: 6.316 MB / 0.573 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.008101/0.5897, allocations: 2.327 MB / 1.173 GB, free: 3.977 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005756/0.5955, allocations: 1.508 MB / 1.174 GB, free: 2.465 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.007381/0.6029, allocations: 4.844 MB / 1.179 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.6049, allocations: 0.9812 MB / 1.18 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.6075, allocations: 1.26 MB / 1.181 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.6092, allocations: 1.093 MB / 1.182 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.000216/0.6095, allocations: 59.94 kB / 1.182 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.6123, allocations: 0.8571 MB / 1.183 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004328/0.6127, allocations: 310.6 kB / 1.183 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0005299/0.6133, allocations: 356.8 kB / 1.184 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.6162, allocations: 1.903 MB / 1.186 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.198e-06/0.6162, allocations: 0 / 1.186 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.026e-06/0.6162, allocations: 0 / 1.186 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.255e-05/0.6163, allocations: 0 / 1.186 GB, free: 6.758 MB / 0.5886 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.004/0.6203, allocations: 1.894 MB / 1.187 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.6203, allocations: 12.03 kB / 1.188 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00401/0.6243, allocations: 0.6378 MB / 1.188 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/0.6276, allocations: 1.339 MB / 1.189 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.6278, allocations: 153.3 kB / 1.19 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002268/0.6281, allocations: 96 kB / 1.19 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003746/0.6318, allocations: 1.33 MB / 1.191 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.6319, allocations: 0 / 1.191 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.632, allocations: 40 kB / 1.191 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-05/0.6321, allocations: 27.94 kB / 1.191 GB, free: 1.066 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004689/0.6368, allocations: 1.374 MB / 1.192 GB, free: 15.69 MB / 0.6042 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.009496/0.6463, allocations: 5.348 MB / 1.198 GB, free: 9.992 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003345/0.6497, allocations: 0.9594 MB / 1.199 GB, free: 9.027 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00211/0.6518, allocations: 0.623 MB / 1.199 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/0.6531, allocations: 1.235 MB / 1.2 GB, free: 6.891 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002229/0.6553, allocations: 0.6667 MB / 1.201 GB, free: 6.215 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=65): time 4.365e-06/0.6554, allocations: 0 / 1.201 GB, free: 6.215 MB / 0.6042 GB Notification: Performance of matching and sorting (n=65): time 0.00642/0.6618, allocations: 1.75 MB / 1.203 GB, free: 4.457 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.6619, allocations: 59.97 kB / 1.203 GB, free: 4.387 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.6642, allocations: 1.313 MB / 1.204 GB, free: 3.066 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.6643, allocations: 37.7 kB / 1.204 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008005/0.6652, allocations: 0.6893 MB / 1.205 GB, free: 2.324 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.6655, allocations: 224.7 kB / 1.205 GB, free: 2.102 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.6656, allocations: 20 kB / 1.205 GB, free: 2.082 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.6657, allocations: 337.9 kB / 1.205 GB, free: 1.746 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.6678, allocations: 0.5406 MB / 1.206 GB, free: 1.203 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/0.67, allocations: 0.7781 MB / 1.207 GB, free: 352 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.6721, allocations: 0.5941 MB / 1.207 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.996e-06/0.6721, allocations: 0 / 1.207 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004761/0.6769, allocations: 1.458 MB / 1.209 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.6771, allocations: 215.3 kB / 1.209 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.6771, allocations: 7.938 kB / 1.209 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.6771, allocations: 4 kB / 1.209 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.6787, allocations: 267.7 kB / 1.209 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/0.6788, allocations: 15.88 kB / 1.209 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.6806, allocations: 251 kB / 1.209 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.6808, allocations: 35.98 kB / 1.209 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.145e-06/0.6808, allocations: 7.938 kB / 1.209 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004442/0.6853, allocations: 1.302 MB / 1.211 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.945e-06/0.6853, allocations: 4 kB / 1.211 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.6853, allocations: 4.312 kB / 1.211 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.6868, allocations: 275.6 kB / 1.211 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.6869, allocations: 4 kB / 1.211 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.6887, allocations: 235.2 kB / 1.211 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.6888, allocations: 35.98 kB / 1.211 GB, free: 11.58 MB / 0.6198 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.0008489/0.6897, allocations: 430.8 kB / 1.212 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.69, allocations: 150.1 kB / 1.212 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005021/0.695, allocations: 1.489 MB / 1.213 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.695, allocations: 12 kB / 1.213 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.718e-06/0.6951, allocations: 0 / 1.213 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004162/0.6992, allocations: 1.257 MB / 1.214 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008249/0.7075, allocations: 3.137 MB / 1.217 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.7075, allocations: 4 kB / 1.217 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.7089, allocations: 232 kB / 1.218 GB, free: 4.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-05/0.709, allocations: 11.98 kB / 1.218 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.734e-05/0.7091, allocations: 23.98 kB / 1.218 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/0.7091, allocations: 4 kB / 1.218 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.767e-06/0.7091, allocations: 7.938 kB / 1.218 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006956/0.7161, allocations: 2.252 MB / 1.22 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008274/0.7169, allocations: 358.9 kB / 1.22 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/0.7172, allocations: 23.98 kB / 1.22 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/0.7189, allocations: 183.4 kB / 1.221 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.7191, allocations: 64.44 kB / 1.221 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.7192, allocations: 35.97 kB / 1.221 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001751/0.7209, allocations: 0.9374 MB / 1.222 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.194e-06/0.721, allocations: 0 / 1.222 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002392/0.7234, allocations: 0.7837 MB / 1.222 GB, free: 15.92 MB / 0.6355 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.001155/0.7245, allocations: 0.5003 MB / 1.223 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006667/0.7312, allocations: 2.073 MB / 1.225 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.124e-06/0.7313, allocations: 128 / 1.225 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002426/0.7337, allocations: 0.6831 MB / 1.225 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004346/0.7381, allocations: 0.7442 MB / 1.226 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006413/0.7445, allocations: 3.174 MB / 1.229 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/0.7457, allocations: 1.273 MB / 1.231 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002219/0.748, allocations: 359.5 kB / 1.231 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/0.7485, allocations: 123.4 kB / 1.231 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of SimCode: time 1.555e-06/0.7485, allocations: 4 kB / 1.231 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of Templates: time 0.0734/0.8219, allocations: 29.08 MB / 1.259 GB, free: 10.24 MB / 0.6667 GB