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.004235/0.004241, allocations: 234.9 kB / 15.8 MB, free: 6.281 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.001164/0.001164, allocations: 184.2 kB / 16.69 MB, free: 5.449 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.758/3.758, allocations: 389.1 MB / 406.5 MB, free: 6.711 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 5.025/5.025, allocations: 472.3 MB / 0.9023 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005165, allocations: 12 kB / 1.008 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2239, allocations: 98.71 MB / 1.105 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.7133/0.9372, allocations: 55.18 MB / 1.158 GB, free: 222.6 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0272/0.9645, allocations: 12.03 MB / 1.17 GB, free: 222.6 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003969/0.9685, allocations: 63.81 kB / 1.17 GB, free: 222.6 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.005975/0.9746, allocations: 0.823 MB / 1.171 GB, free: 222.6 MB / 0.7917 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.0153/0.99, allocations: 2.325 MB / 1.173 GB, free: 222.3 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01115/1.001, allocations: 1.515 MB / 1.175 GB, free: 222.2 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01308/1.014, allocations: 4.841 MB / 1.18 GB, free: 221.4 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004074/1.018, allocations: 0.9803 MB / 1.181 GB, free: 221.3 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006249/1.025, allocations: 1.265 MB / 1.182 GB, free: 221 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004382/1.029, allocations: 1.091 MB / 1.183 GB, free: 220.8 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0008766/1.03, allocations: 61.41 kB / 1.183 GB, free: 220.8 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006476/1.037, allocations: 0.8503 MB / 1.184 GB, free: 220.7 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001245/1.038, allocations: 311 kB / 1.184 GB, free: 220.6 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001562/1.04, allocations: 361.1 kB / 1.184 GB, free: 220.5 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.007245/1.047, allocations: 1.901 MB / 1.186 GB, free: 220.4 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.357e-05/1.047, allocations: 0.5625 kB / 1.186 GB, free: 220.4 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.946e-06/1.047, allocations: 3.938 kB / 1.186 GB, free: 220.4 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001061/1.047, allocations: 0 / 1.186 GB, free: 220.4 MB / 0.7917 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.009263/1.056, allocations: 1.896 MB / 1.188 GB, free: 219.3 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/1.056, allocations: 11.06 kB / 1.188 GB, free: 219.3 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009939/1.066, allocations: 0.6423 MB / 1.189 GB, free: 219.2 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004532/1.071, allocations: 1.334 MB / 1.19 GB, free: 218.8 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/1.071, allocations: 144.5 kB / 1.19 GB, free: 218.8 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004288/1.072, allocations: 100 kB / 1.19 GB, free: 218.8 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005764/1.078, allocations: 1.327 MB / 1.192 GB, free: 218.6 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.994e-05/1.078, allocations: 5.062 kB / 1.192 GB, free: 218.6 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/1.078, allocations: 36.55 kB / 1.192 GB, free: 218.6 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.876e-05/1.078, allocations: 27.22 kB / 1.192 GB, free: 218.6 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007293/1.085, allocations: 1.376 MB / 1.193 GB, free: 218.6 MB / 0.7917 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.01327/1.099, allocations: 5.351 MB / 1.198 GB, free: 216.1 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004969/1.104, allocations: 0.9588 MB / 1.199 GB, free: 216 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003253/1.107, allocations: 0.6192 MB / 1.2 GB, free: 215.8 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/1.108, allocations: 1.234 MB / 1.201 GB, free: 214.4 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003616/1.112, allocations: 0.6646 MB / 1.202 GB, free: 214.2 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=65): time 4.929e-06/1.112, allocations: 1.406 kB / 1.202 GB, free: 214.2 MB / 0.7917 GB Notification: Performance of matching and sorting (n=65): time 0.01008/1.122, allocations: 1.75 MB / 1.203 GB, free: 213.7 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/1.122, allocations: 59.3 kB / 1.203 GB, free: 213.7 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003524/1.125, allocations: 1.314 MB / 1.205 GB, free: 213.2 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003801/1.126, allocations: 45.19 kB / 1.205 GB, free: 213.1 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009744/1.127, allocations: 0.6867 MB / 1.205 GB, free: 212.6 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005507/1.127, allocations: 238.7 kB / 1.206 GB, free: 212.4 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.507e-05/1.128, allocations: 15.72 kB / 1.206 GB, free: 212.4 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.128, allocations: 334.6 kB / 1.206 GB, free: 212.1 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/1.131, allocations: 0.5442 MB / 1.206 GB, free: 211.9 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003583/1.135, allocations: 0.7728 MB / 1.207 GB, free: 211.5 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003262/1.138, allocations: 0.5993 MB / 1.208 GB, free: 211.3 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/1.138, allocations: 1.062 kB / 1.208 GB, free: 211.3 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.007619/1.146, allocations: 1.457 MB / 1.209 GB, free: 210.9 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.00016/1.146, allocations: 208.4 kB / 1.209 GB, free: 210.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.146, allocations: 3.312 kB / 1.209 GB, free: 210.6 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/1.146, allocations: 9 kB / 1.209 GB, free: 210.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002629/1.148, allocations: 276 kB / 1.21 GB, free: 210.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.663e-05/1.149, allocations: 7.438 kB / 1.21 GB, free: 210.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003594/1.152, allocations: 238.7 kB / 1.21 GB, free: 210.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003671/1.153, allocations: 41.86 kB / 1.21 GB, free: 210.5 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.153, allocations: 3.5 kB / 1.21 GB, free: 210.5 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006851/1.159, allocations: 1.304 MB / 1.211 GB, free: 210.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/1.16, allocations: 3.312 kB / 1.211 GB, free: 210.2 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.16, allocations: 11.47 kB / 1.211 GB, free: 210.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/1.162, allocations: 271.2 kB / 1.211 GB, free: 210.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.19e-05/1.162, allocations: 11.64 kB / 1.211 GB, free: 210.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003542/1.166, allocations: 232.2 kB / 1.212 GB, free: 210.1 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003694/1.166, allocations: 38.97 kB / 1.212 GB, free: 210.1 MB / 0.7917 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.001427/1.168, allocations: 419.7 kB / 1.212 GB, free: 209.7 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006353/1.168, allocations: 150.2 kB / 1.212 GB, free: 209.7 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00792/1.176, allocations: 1.49 MB / 1.214 GB, free: 209.2 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006326/1.183, allocations: 1.261 MB / 1.215 GB, free: 208.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/1.183, allocations: 0.9688 kB / 1.215 GB, free: 208.8 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.184, allocations: 353.6 kB / 1.215 GB, free: 208.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004338/1.185, allocations: 15.52 kB / 1.215 GB, free: 208.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002797/1.187, allocations: 170.3 kB / 1.215 GB, free: 208.5 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002578/1.188, allocations: 53.58 kB / 1.216 GB, free: 208.5 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008189/1.196, allocations: 1.469 MB / 1.217 GB, free: 208 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01024/1.206, allocations: 2.249 MB / 1.219 GB, free: 207.2 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002949/1.209, allocations: 0.6149 MB / 1.22 GB, free: 207 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00209/1.211, allocations: 0.9028 MB / 1.221 GB, free: 206.6 MB / 0.7917 GB Notification: Performance of Backend: time 6.81e-07/1.211, allocations: 0 / 1.221 GB, free: 206.6 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.009683/1.221, allocations: 2.046 MB / 1.223 GB, free: 206 MB / 0.7917 GB Notification: Performance of SimCode: time 0.0113/1.232, allocations: 3.734 MB / 1.226 GB, free: 203.9 MB / 0.7917 GB Notification: Performance of Templates: time 0.08342/1.316, allocations: 33.6 MB / 1.259 GB, free: 179.9 MB / 0.7917 GB