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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01119/0.01119, allocations: 106.7 kB / 15.05 MB, free: 5.934 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.001272/0.001272, allocations: 179.2 kB / 15.94 MB, free: 5.898 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.16/2.16, allocations: 194.6 MB / 211.3 MB, free: 11.27 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.21/2.21, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006776/0.0006776, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.6777, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/1.921, allocations: 401.1 MB / 1.075 GB, free: 47.47 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/1.921, allocations: 96.39 kB / 1.075 GB, free: 47.42 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.322/5.244, allocations: 0.6025 GB / 1.678 GB, free: 151.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.014e-06/5.244, allocations: 0 / 1.678 GB, free: 151.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002218/5.244, allocations: 39.78 kB / 1.678 GB, free: 151.1 MB / 0.823 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.006752/5.251, allocations: 2.104 MB / 1.68 GB, free: 149.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/5.251, allocations: 7.062 kB / 1.68 GB, free: 149.9 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004385/5.251, allocations: 140.4 kB / 1.68 GB, free: 149.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00607/5.257, allocations: 0.6339 MB / 1.681 GB, free: 149.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00542/5.263, allocations: 1.675 MB / 1.682 GB, free: 148.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000234/5.263, allocations: 154.6 kB / 1.682 GB, free: 148.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/5.263, allocations: 98.03 kB / 1.682 GB, free: 148.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004663/5.268, allocations: 1.324 MB / 1.684 GB, free: 148.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.73e-05/5.268, allocations: 6.656 kB / 1.684 GB, free: 148.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/5.268, allocations: 42.53 kB / 1.684 GB, free: 148.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-05/5.268, allocations: 30.5 kB / 1.684 GB, free: 148.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006374/5.275, allocations: 1.392 MB / 1.685 GB, free: 147.9 MB / 0.823 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.01145/5.286, allocations: 5.39 MB / 1.69 GB, free: 144.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004913/5.291, allocations: 0.9903 MB / 1.691 GB, free: 143.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/5.292, allocations: 1.241 MB / 1.693 GB, free: 142.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003108/5.295, allocations: 0.6925 MB / 1.693 GB, free: 141.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=63): time 4.429e-06/5.295, allocations: 2.938 kB / 1.693 GB, free: 141.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=63): time 0.009208/5.304, allocations: 1.819 MB / 1.695 GB, free: 141.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/5.305, allocations: 61.83 kB / 1.695 GB, free: 141 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/5.307, allocations: 1.201 MB / 1.696 GB, free: 140.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003265/5.308, allocations: 48.23 kB / 1.696 GB, free: 140.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007713/5.309, allocations: 0.6975 MB / 1.697 GB, free: 139.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/5.309, allocations: 216.7 kB / 1.697 GB, free: 139.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/5.309, allocations: 11.28 kB / 1.697 GB, free: 139.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.13e-05/5.309, allocations: 333.6 kB / 1.698 GB, free: 139.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002852/5.312, allocations: 0.5567 MB / 1.698 GB, free: 138.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003169/5.315, allocations: 0.8272 MB / 1.699 GB, free: 138.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002901/5.318, allocations: 0.602 MB / 1.7 GB, free: 138.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/5.318, allocations: 0 / 1.7 GB, free: 138.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.007085/5.325, allocations: 1.469 MB / 1.701 GB, free: 137.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003334/5.326, allocations: 1.204 MB / 1.702 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/5.326, allocations: 5.188 kB / 1.702 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/5.326, allocations: 6.906 kB / 1.702 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/5.328, allocations: 272.1 kB / 1.702 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-05/5.328, allocations: 7.75 kB / 1.702 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003969/5.332, allocations: 245.7 kB / 1.703 GB, free: 135.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000334/5.333, allocations: 52.22 kB / 1.703 GB, free: 135.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/5.333, allocations: 3.938 kB / 1.703 GB, free: 135.9 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007877/5.341, allocations: 1.301 MB / 1.704 GB, free: 135.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/5.341, allocations: 3.625 kB / 1.704 GB, free: 135.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/5.341, allocations: 11.23 kB / 1.704 GB, free: 135.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003057/5.344, allocations: 284.7 kB / 1.704 GB, free: 135.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.647e-05/5.344, allocations: 7.469 kB / 1.704 GB, free: 135.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004283/5.348, allocations: 223.6 kB / 1.704 GB, free: 135.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003836/5.349, allocations: 50.31 kB / 1.705 GB, free: 135.2 MB / 0.823 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 (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.001547/5.35, allocations: 426.3 kB / 1.705 GB, free: 134.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006821/5.351, allocations: 149.2 kB / 1.705 GB, free: 134.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009334/5.36, allocations: 1.509 MB / 1.707 GB, free: 134 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/5.36, allocations: 10.8 kB / 1.707 GB, free: 134 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/5.36, allocations: 0 / 1.707 GB, free: 134 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008077/5.368, allocations: 1.329 MB / 1.708 GB, free: 133.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/5.383, allocations: 3.274 MB / 1.711 GB, free: 131.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/5.383, allocations: 3.938 kB / 1.711 GB, free: 131.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002841/5.386, allocations: 237.3 kB / 1.711 GB, free: 131.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.179e-05/5.386, allocations: 7.922 kB / 1.711 GB, free: 131.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/5.386, allocations: 26.89 kB / 1.711 GB, free: 131.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-05/5.386, allocations: 14.7 kB / 1.711 GB, free: 131.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/5.386, allocations: 3.906 kB / 1.711 GB, free: 131.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/5.4, allocations: 2.596 MB / 1.714 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/5.401, allocations: 476.1 kB / 1.714 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006741/5.402, allocations: 15.12 kB / 1.714 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003772/5.406, allocations: 186 kB / 1.715 GB, free: 129 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003339/5.406, allocations: 65.97 kB / 1.715 GB, free: 128.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002069/5.406, allocations: 44.19 kB / 1.715 GB, free: 128.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002843/5.409, allocations: 0.9646 MB / 1.716 GB, free: 128.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.42e-07/5.409, allocations: 3.5 kB / 1.716 GB, free: 128.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005135/5.415, allocations: 0.8563 MB / 1.716 GB, free: 128.2 MB / 0.823 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.01276/5.427, allocations: 4.666 MB / 1.721 GB, free: 125 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009268/5.437, allocations: 2.051 MB / 1.723 GB, free: 124.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/5.437, allocations: 3.953 kB / 1.723 GB, free: 124.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00323/5.44, allocations: 0.6941 MB / 1.724 GB, free: 123.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006879/5.447, allocations: 0.7602 MB / 1.724 GB, free: 123.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03021/5.477, allocations: 11.72 MB / 1.736 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008796/5.478, allocations: 1.281 MB / 1.737 GB, free: 109.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003018/5.481, allocations: 363.1 kB / 1.737 GB, free: 109.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/5.483, allocations: 0.593 MB / 1.738 GB, free: 108.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.213e-06/5.483, allocations: 0 / 1.738 GB, free: 108.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1146/5.597, allocations: 48.05 MB / 1.785 GB, free: 62.11 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/5.598, allocations: 232.1 kB / 1.785 GB, free: 61.87 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.407/10, allocations: 0 / 1.785 GB, free: 61.87 MB / 0.823 GB