Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.389/2.389, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001614/0.001613, allocations: 182.1 kB / 325.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.408/2.408, allocations: 205.4 MB / 0.5764 GB, free: 21.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 95.36 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005379/0.0005377, allocations: 15.78 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2265, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.355/1.582, allocations: 409.3 MB / 1.299 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/1.582, allocations: 94.33 kB / 1.299 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.282/4.864, allocations: 0.6074 GB / 1.906 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.815e-06/4.864, allocations: 2.906 kB / 1.906 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002418/4.864, allocations: 46.8 kB / 1.906 GB, free: 179.5 MB / 0.8855 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.007285/4.872, allocations: 2.068 MB / 1.908 GB, free: 178 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/4.872, allocations: 10.06 kB / 1.908 GB, free: 178 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006433/4.872, allocations: 145.4 kB / 1.908 GB, free: 177.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006149/4.878, allocations: 0.6337 MB / 1.909 GB, free: 177.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005479/4.884, allocations: 1.649 MB / 1.91 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/4.884, allocations: 145.3 kB / 1.911 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/4.885, allocations: 99.5 kB / 1.911 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004566/4.889, allocations: 1.321 MB / 1.912 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/4.889, allocations: 0 / 1.912 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/4.889, allocations: 35.88 kB / 1.912 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/4.889, allocations: 33.83 kB / 1.912 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006166/4.896, allocations: 1.385 MB / 1.913 GB, free: 175 MB / 0.8855 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.01033/4.906, allocations: 5.365 MB / 1.919 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/4.916, allocations: 1.365 MB / 1.92 GB, free: 170 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/4.918, allocations: 1.24 MB / 1.921 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003063/4.921, allocations: 0.7008 MB / 1.922 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=67): time 4.379e-06/4.921, allocations: 0 / 1.922 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67): time 0.009004/4.93, allocations: 1.818 MB / 1.924 GB, free: 166 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/4.93, allocations: 63.91 kB / 1.924 GB, free: 166 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/4.932, allocations: 1.146 MB / 1.925 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003124/4.933, allocations: 44.8 kB / 1.925 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007144/4.933, allocations: 0.6691 MB / 1.926 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003682/4.934, allocations: 226.9 kB / 1.926 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/4.934, allocations: 16 kB / 1.926 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.777e-05/4.934, allocations: 334 kB / 1.926 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002833/4.937, allocations: 0.5471 MB / 1.927 GB, free: 163 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003015/4.94, allocations: 0.8207 MB / 1.927 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/4.943, allocations: 0.6012 MB / 1.928 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/4.943, allocations: 0 / 1.928 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.006787/4.95, allocations: 1.447 MB / 1.929 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003538/4.95, allocations: 1.202 MB / 1.931 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/4.95, allocations: 4 kB / 1.931 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/4.95, allocations: 8 kB / 1.931 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/4.953, allocations: 274.4 kB / 1.931 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/4.953, allocations: 8 kB / 1.931 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003217/4.956, allocations: 235.8 kB / 1.931 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/4.956, allocations: 47.97 kB / 1.931 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/4.956, allocations: 12.47 kB / 1.931 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006109/4.962, allocations: 1.294 MB / 1.932 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/4.962, allocations: 4 kB / 1.932 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/4.962, allocations: 10.25 kB / 1.932 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/4.965, allocations: 270 kB / 1.933 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/4.965, allocations: 11.95 kB / 1.933 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/4.968, allocations: 229.7 kB / 1.933 GB, free: 156.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/4.968, allocations: 47.97 kB / 1.933 GB, free: 156.4 MB / 0.8855 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.001101/4.969, allocations: 415.2 kB / 1.933 GB, free: 156 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000492/4.97, allocations: 154.1 kB / 1.933 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006765/4.976, allocations: 1.505 MB / 1.935 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/4.977, allocations: 8 kB / 1.935 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/4.977, allocations: 7.953 kB / 1.935 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005797/4.982, allocations: 1.331 MB / 1.936 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/4.994, allocations: 3.37 MB / 1.94 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/4.994, allocations: 4 kB / 1.94 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002197/4.996, allocations: 240 kB / 1.94 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.785e-05/4.996, allocations: 8 kB / 1.94 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/4.996, allocations: 35.86 kB / 1.94 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/4.996, allocations: 11.94 kB / 1.94 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/4.996, allocations: 4 kB / 1.94 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009915/5.006, allocations: 2.688 MB / 1.942 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/5.008, allocations: 479.9 kB / 1.943 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005434/5.008, allocations: 19.95 kB / 1.943 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002944/5.011, allocations: 183.7 kB / 1.943 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/5.012, allocations: 68.36 kB / 1.943 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/5.012, allocations: 47.97 kB / 1.943 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001947/5.014, allocations: 0.9241 MB / 1.944 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.81e-07/5.014, allocations: 0 / 1.944 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003587/5.017, allocations: 0.8461 MB / 1.945 GB, free: 143.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (73): * Single equations (assignments): 65 * 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.01186/5.029, allocations: 5.019 MB / 1.95 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009224/5.039, allocations: 2.046 MB / 1.952 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/5.039, allocations: 4.125 kB / 1.952 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003202/5.042, allocations: 0.7146 MB / 1.953 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006572/5.048, allocations: 0.7601 MB / 1.953 GB, free: 135 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0279/5.076, allocations: 11.43 MB / 1.964 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008577/5.077, allocations: 1.261 MB / 1.966 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003053/5.08, allocations: 376.3 kB / 1.966 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/5.082, allocations: 0.5774 MB / 1.967 GB, free: 121 MB / 0.8855 GB Notification: Performance of SimCode: time 9.11e-07/5.082, allocations: 0 / 1.967 GB, free: 121 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1166/5.198, allocations: 47.58 MB / 2.013 GB, free: 74.59 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/5.199, allocations: 217.5 kB / 2.013 GB, free: 74.34 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.631/9.83, allocations: 7.875 kB / 2.013 GB, free: 74.33 MB / 0.8855 GB