Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",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.263/2.263, 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.001577/0.001576, allocations: 182.6 kB / 325.5 MB, free: 2.902 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.543/2.543, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001165/0.001165, allocations: 85.78 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000624/0.0006239, allocations: 13.73 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2333, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.311/1.544, allocations: 409.3 MB / 1.298 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/1.545, allocations: 89.7 kB / 1.299 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.344/4.889, allocations: 0.608 GB / 1.907 GB, free: 179 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.196e-06/4.889, allocations: 0 / 1.907 GB, free: 179 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002809/4.889, allocations: 42.86 kB / 1.907 GB, free: 178.9 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.007887/4.897, allocations: 2.102 MB / 1.909 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/4.897, allocations: 8.438 kB / 1.909 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000631/4.898, allocations: 147.8 kB / 1.909 GB, free: 177.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006376/4.904, allocations: 0.6353 MB / 1.909 GB, free: 177.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005993/4.91, allocations: 1.666 MB / 1.911 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002376/4.91, allocations: 152.7 kB / 1.911 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003819/4.911, allocations: 105.7 kB / 1.911 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005201/4.916, allocations: 1.329 MB / 1.913 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/4.916, allocations: 0 / 1.913 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/4.916, allocations: 42.98 kB / 1.913 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-05/4.916, allocations: 27.11 kB / 1.913 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006919/4.923, allocations: 1.397 MB / 1.914 GB, free: 174.4 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.01215/4.935, allocations: 5.417 MB / 1.919 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004548/4.94, allocations: 0.9704 MB / 1.92 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/4.941, allocations: 1.247 MB / 1.921 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003293/4.945, allocations: 0.7169 MB / 1.922 GB, free: 167 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=67): time 4.879e-06/4.945, allocations: 0 / 1.922 GB, free: 167 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67): time 0.009515/4.954, allocations: 1.848 MB / 1.924 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/4.954, allocations: 63.97 kB / 1.924 GB, free: 165.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/4.957, allocations: 1.195 MB / 1.925 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003268/4.957, allocations: 49.64 kB / 1.925 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007331/4.958, allocations: 0.6761 MB / 1.926 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003738/4.958, allocations: 226.4 kB / 1.926 GB, free: 163 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/4.958, allocations: 14.41 kB / 1.926 GB, free: 163 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.704e-05/4.959, allocations: 337.9 kB / 1.926 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002892/4.962, allocations: 0.5588 MB / 1.927 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003242/4.965, allocations: 0.8286 MB / 1.928 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003008/4.968, allocations: 0.6125 MB / 1.928 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/4.968, allocations: 3.062 kB / 1.928 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.007051/4.975, allocations: 1.473 MB / 1.93 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003224/4.975, allocations: 1.205 MB / 1.931 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/4.975, allocations: 4 kB / 1.931 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/4.975, allocations: 8 kB / 1.931 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/4.978, allocations: 276.2 kB / 1.931 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-05/4.978, allocations: 7.938 kB / 1.931 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003389/4.981, allocations: 236.8 kB / 1.932 GB, free: 157.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003323/4.982, allocations: 51.97 kB / 1.932 GB, free: 157.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/4.982, allocations: 4 kB / 1.932 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006471/4.988, allocations: 1.314 MB / 1.933 GB, free: 156 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/4.988, allocations: 6.188 kB / 1.933 GB, free: 156 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/4.988, allocations: 8 kB / 1.933 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/4.991, allocations: 266 kB / 1.933 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/4.991, allocations: 14.3 kB / 1.933 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003258/4.994, allocations: 235.1 kB / 1.933 GB, free: 155.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/4.995, allocations: 47.97 kB / 1.933 GB, free: 155.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.001173/4.996, allocations: 417.3 kB / 1.934 GB, free: 155 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000496/4.996, allocations: 153.2 kB / 1.934 GB, free: 154.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006842/5.003, allocations: 1.529 MB / 1.935 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/5.003, allocations: 10.62 kB / 1.935 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/5.003, allocations: 3.953 kB / 1.936 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005932/5.009, allocations: 1.353 MB / 1.937 GB, free: 152 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/5.021, allocations: 3.431 MB / 1.94 GB, free: 148.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/5.021, allocations: 4 kB / 1.94 GB, free: 148.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002305/5.024, allocations: 247.8 kB / 1.94 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.975e-05/5.024, allocations: 8 kB / 1.94 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/5.024, allocations: 31.94 kB / 1.94 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-05/5.024, allocations: 11.88 kB / 1.94 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/5.024, allocations: 8 kB / 1.94 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/5.034, allocations: 2.729 MB / 1.943 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/5.035, allocations: 484 kB / 1.944 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004534/5.036, allocations: 27.94 kB / 1.944 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002848/5.039, allocations: 179.7 kB / 1.944 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/5.039, allocations: 72.36 kB / 1.944 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001752/5.039, allocations: 47.97 kB / 1.944 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001964/5.041, allocations: 0.9566 MB / 1.945 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.61e-07/5.041, allocations: 0 / 1.945 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003578/5.045, allocations: 0.8595 MB / 1.946 GB, free: 142.5 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.0158/5.061, allocations: 5.05 MB / 1.951 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01319/5.074, allocations: 2.066 MB / 1.953 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.949e-05/5.074, allocations: 8.125 kB / 1.953 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005034/5.079, allocations: 0.7146 MB / 1.953 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009397/5.089, allocations: 0.7592 MB / 1.954 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04313/5.132, allocations: 11.74 MB / 1.966 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/5.133, allocations: 1.272 MB / 1.967 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004412/5.138, allocations: 379.5 kB / 1.967 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002257/5.14, allocations: 0.593 MB / 1.968 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.603e-06/5.14, allocations: 0 / 1.968 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1526/5.293, allocations: 48.24 MB / 2.015 GB, free: 72.38 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002709/5.293, allocations: 229.9 kB / 2.015 GB, free: 72.14 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.437/9.73, allocations: 3.938 kB / 2.015 GB, free: 72.13 MB / 0.8855 GB