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.01562/0.01563, allocations: 113.8 kB / 15.06 MB, free: 5.562 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.001876/0.001876, allocations: 182.9 kB / 15.95 MB, free: 5.523 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 2.051/2.051, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.245/2.245, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004571, allocations: 12 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5288/0.5293, allocations: 98.7 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.0643/0.5936, allocations: 50.07 MB / 0.7322 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02108/0.6147, allocations: 11.22 MB / 0.7432 GB, free: 1.004 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/0.6175, allocations: 55.56 kB / 0.7432 GB, free: 0.9492 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003504/0.6211, allocations: 0.9252 MB / 0.7441 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00854/0.6296, allocations: 2.22 MB / 0.7463 GB, free: 13.79 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006218/0.6359, allocations: 1.529 MB / 0.7478 GB, free: 12.26 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005916/0.6418, allocations: 2.589 MB / 0.7503 GB, free: 9.668 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002575/0.6444, allocations: 0.9893 MB / 0.7513 GB, free: 8.66 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005003/0.6495, allocations: 1.191 MB / 0.7525 GB, free: 7.465 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002675/0.6522, allocations: 0.7738 MB / 0.7532 GB, free: 6.688 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004791/0.6528, allocations: 56 kB / 0.7533 GB, free: 6.633 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005586/0.6584, allocations: 0.94 MB / 0.7542 GB, free: 5.691 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009063/0.6593, allocations: 282.8 kB / 0.7544 GB, free: 5.414 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.6604, allocations: 364.8 kB / 0.7548 GB, free: 5.051 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005677/0.6661, allocations: 1.864 MB / 0.7566 GB, free: 3.184 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.312e-06/0.6662, allocations: 0 / 0.7566 GB, free: 3.184 MB / 0.573 GB Notification: Performance of FrontEnd: time 8.562e-06/0.6662, allocations: 4 kB / 0.7566 GB, free: 3.18 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.307e-05/0.6663, allocations: 0 / 0.7566 GB, free: 3.18 MB / 0.573 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.00639/0.6727, allocations: 1.886 MB / 0.7585 GB, free: 1.227 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.6727, allocations: 8.031 kB / 0.7585 GB, free: 1.219 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004072/0.6768, allocations: 0.6417 MB / 0.7591 GB, free: 0.5742 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.6797, allocations: 1.23 MB / 0.7603 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.6799, allocations: 149.3 kB / 0.7604 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.6802, allocations: 100 kB / 0.7605 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003705/0.6839, allocations: 1.319 MB / 0.7618 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.6839, allocations: 0 / 0.7618 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.6841, allocations: 40 kB / 0.7619 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.904e-05/0.6842, allocations: 28 kB / 0.7619 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004685/0.6889, allocations: 1.378 MB / 0.7632 GB, free: 12.24 MB / 0.5886 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.009481/0.6984, allocations: 5.355 MB / 0.7685 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003492/0.7019, allocations: 0.9971 MB / 0.7694 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/0.7031, allocations: 1.228 MB / 0.7706 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00221/0.7053, allocations: 0.6666 MB / 0.7713 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=65): time 4.134e-06/0.7053, allocations: 0 / 0.7713 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of matching and sorting (n=65): time 0.006313/0.7117, allocations: 1.75 MB / 0.773 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.7118, allocations: 59.97 kB / 0.7731 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/0.7141, allocations: 1.316 MB / 0.7743 GB, free: 196 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.7143, allocations: 41.7 kB / 0.7744 GB, free: 148 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008157/0.7151, allocations: 0.6931 MB / 0.7751 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/0.7154, allocations: 220.8 kB / 0.7753 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.848e-05/0.7155, allocations: 19.94 kB / 0.7753 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.7157, allocations: 337.9 kB / 0.7756 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/0.7177, allocations: 0.5524 MB / 0.7761 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.72, allocations: 0.7777 MB / 0.7769 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.7221, allocations: 0.6018 MB / 0.7775 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.725e-06/0.7222, allocations: 0 / 0.7775 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004916/0.7271, allocations: 1.462 MB / 0.7789 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006695/0.7278, allocations: 1.204 MB / 0.7801 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.7278, allocations: 4 kB / 0.7801 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.7279, allocations: 7.984 kB / 0.7801 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.7295, allocations: 279.6 kB / 0.7804 GB, free: 9.773 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/0.7295, allocations: 15.94 kB / 0.7804 GB, free: 9.758 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/0.7315, allocations: 238.9 kB / 0.7806 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.7317, allocations: 43.98 kB / 0.7807 GB, free: 9.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.7317, allocations: 4 kB / 0.7807 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004673/0.7364, allocations: 1.309 MB / 0.7819 GB, free: 8.156 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.7364, allocations: 4 kB / 0.7819 GB, free: 8.152 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.7365, allocations: 4 kB / 0.7819 GB, free: 8.148 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002835/0.7393, allocations: 279.9 kB / 0.7822 GB, free: 7.875 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.592e-05/0.7394, allocations: 7.984 kB / 0.7822 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003315/0.7428, allocations: 235.2 kB / 0.7824 GB, free: 7.637 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.743, allocations: 35.98 kB / 0.7825 GB, free: 7.602 MB / 0.6042 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.001525/0.7446, allocations: 420.8 kB / 0.7829 GB, free: 7.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005681/0.7451, allocations: 154.1 kB / 0.783 GB, free: 7.027 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008771/0.7539, allocations: 1.5 MB / 0.7845 GB, free: 5.512 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.42e-05/0.754, allocations: 8 kB / 0.7845 GB, free: 5.504 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/0.7541, allocations: 4 kB / 0.7845 GB, free: 5.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007885/0.762, allocations: 1.268 MB / 0.7857 GB, free: 4.199 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01736/0.7794, allocations: 3.157 MB / 0.7888 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.7795, allocations: 4 kB / 0.7888 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003012/0.7825, allocations: 227.9 kB / 0.7891 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.664e-05/0.7826, allocations: 4 kB / 0.7891 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/0.7828, allocations: 23.98 kB / 0.7891 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.737e-05/0.7828, allocations: 11.94 kB / 0.7891 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.399e-05/0.7829, allocations: 4 kB / 0.7891 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0077/0.7906, allocations: 2.49 MB / 0.7915 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009208/0.7915, allocations: 362.6 kB / 0.7919 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002744/0.7918, allocations: 20 kB / 0.7919 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/0.7935, allocations: 175.7 kB / 0.7921 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.7937, allocations: 72.36 kB / 0.7921 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.7939, allocations: 31.98 kB / 0.7922 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001741/0.7956, allocations: 0.9335 MB / 0.7931 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.252e-06/0.7957, allocations: 4 kB / 0.7931 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002511/0.7982, allocations: 0.7992 MB / 0.7939 GB, free: 11.54 MB / 0.6198 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.001207/0.7994, allocations: 0.5129 MB / 0.7944 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006821/0.8063, allocations: 2.081 MB / 0.7964 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.8063, allocations: 0 / 0.7964 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002442/0.8088, allocations: 0.6911 MB / 0.7971 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004201/0.813, allocations: 0.7441 MB / 0.7978 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00638/0.8194, allocations: 3.163 MB / 0.8009 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.8206, allocations: 1.276 MB / 0.8021 GB, free: 2.953 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002377/0.823, allocations: 335 kB / 0.8024 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/0.8236, allocations: 119.4 kB / 0.8026 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of SimCode: time 1.869e-06/0.8236, allocations: 3.938 kB / 0.8026 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.0701/0.8937, allocations: 29.21 MB / 0.8311 GB, free: 5.699 MB / 0.6511 GB