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.201/2.201, allocations: 248.7 MB / 256.2 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001474, allocations: 174.2 kB / 315.4 MB, free: 4.016 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.113/2.113, allocations: 205.3 MB / 0.5662 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 85.78 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.404e-05/2.403e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.206, allocations: 106.2 MB / 0.8841 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.884/2.09, allocations: 409.5 MB / 1.284 GB, free: 263.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/2.091, allocations: 92.56 kB / 1.284 GB, free: 263.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.582/4.673, allocations: 0.602 GB / 1.886 GB, free: 40.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.003e-06/4.673, allocations: 0 / 1.886 GB, free: 40.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001874/4.673, allocations: 43.59 kB / 1.886 GB, free: 40.86 MB / 0.8698 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.005063/4.678, allocations: 1.755 MB / 1.888 GB, free: 39.07 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/4.679, allocations: 11.97 kB / 1.888 GB, free: 39.05 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006379/4.685, allocations: 0.6236 MB / 1.888 GB, free: 38.43 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005374/4.69, allocations: 1.634 MB / 1.89 GB, free: 36.78 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/4.691, allocations: 109.4 kB / 1.89 GB, free: 36.66 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/4.691, allocations: 60 kB / 1.89 GB, free: 36.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002465/4.693, allocations: 0.906 MB / 1.891 GB, free: 35.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/4.696, allocations: 0.9753 MB / 1.892 GB, free: 34.68 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/4.696, allocations: 0 / 1.892 GB, free: 34.68 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/4.696, allocations: 3.953 kB / 1.892 GB, free: 34.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.034e-05/4.696, allocations: 31.98 kB / 1.892 GB, free: 34.65 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.01027/4.706, allocations: 5.174 MB / 1.897 GB, free: 29.19 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007885/4.714, allocations: 1.082 MB / 1.898 GB, free: 28.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/4.715, allocations: 439.4 kB / 1.899 GB, free: 27.67 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009783/4.716, allocations: 1.239 MB / 1.9 GB, free: 26.16 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/4.718, allocations: 0.5131 MB / 1.9 GB, free: 25.62 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 4.078e-06/4.718, allocations: 3.938 kB / 1.9 GB, free: 25.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.002973/4.721, allocations: 0.876 MB / 1.901 GB, free: 24.73 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/4.721, allocations: 111.4 kB / 1.901 GB, free: 24.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/4.723, allocations: 0.9942 MB / 1.902 GB, free: 23.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002259/4.723, allocations: 25.7 kB / 1.902 GB, free: 23.57 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00068/4.724, allocations: 0.6694 MB / 1.903 GB, free: 22.89 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/4.724, allocations: 220.7 kB / 1.903 GB, free: 22.67 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-05/4.724, allocations: 4.062 kB / 1.903 GB, free: 22.67 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.241e-05/4.724, allocations: 334 kB / 1.903 GB, free: 22.34 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007924/4.725, allocations: 333.5 kB / 1.904 GB, free: 22.01 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009905/4.726, allocations: 0.5829 MB / 1.904 GB, free: 21.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/4.727, allocations: 410.8 kB / 1.905 GB, free: 20.92 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/4.727, allocations: 4 kB / 1.905 GB, free: 20.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003047/4.73, allocations: 0.9789 MB / 1.906 GB, free: 19.93 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002832/4.731, allocations: 1.193 MB / 1.907 GB, free: 18.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/4.731, allocations: 0 / 1.907 GB, free: 18.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/4.731, allocations: 12 kB / 1.907 GB, free: 18.65 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/4.733, allocations: 275.6 kB / 1.907 GB, free: 18.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/4.733, allocations: 11.98 kB / 1.907 GB, free: 18.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00292/4.736, allocations: 203.3 kB / 1.907 GB, free: 18.17 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/4.736, allocations: 47.97 kB / 1.907 GB, free: 18.12 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/4.736, allocations: 4 kB / 1.907 GB, free: 18.12 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002616/4.739, allocations: 0.8174 MB / 1.908 GB, free: 17.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/4.739, allocations: 4.031 kB / 1.908 GB, free: 17.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/4.739, allocations: 8 kB / 1.908 GB, free: 17.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/4.741, allocations: 275.7 kB / 1.908 GB, free: 17.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/4.741, allocations: 7.938 kB / 1.908 GB, free: 17.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/4.744, allocations: 207.1 kB / 1.909 GB, free: 16.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/4.745, allocations: 51.92 kB / 1.909 GB, free: 16.77 MB / 0.8698 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 () * 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.0003235/4.745, allocations: 120.9 kB / 1.909 GB, free: 16.64 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002662/4.748, allocations: 0.8643 MB / 1.91 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/4.748, allocations: 134.3 kB / 1.91 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003137/4.751, allocations: 1.052 MB / 1.911 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/4.751, allocations: 11.98 kB / 1.911 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/4.751, allocations: 7.953 kB / 1.911 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002213/4.753, allocations: 0.8856 MB / 1.912 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007003/4.76, allocations: 2.902 MB / 1.914 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/4.76, allocations: 4.562 kB / 1.915 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002144/4.762, allocations: 243.7 kB / 1.915 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-05/4.763, allocations: 8 kB / 1.915 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/4.763, allocations: 19.98 kB / 1.915 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/4.763, allocations: 19.88 kB / 1.915 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/4.763, allocations: 4 kB / 1.915 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00416/4.767, allocations: 1.978 MB / 1.917 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/4.768, allocations: 464 kB / 1.917 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000276/4.768, allocations: 11.95 kB / 1.917 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002433/4.771, allocations: 167.7 kB / 1.917 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/4.771, allocations: 68.36 kB / 1.917 GB, free: 7.383 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/4.771, allocations: 47.97 kB / 1.917 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001404/4.773, allocations: 0.7609 MB / 1.918 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.51e-07/4.773, allocations: 0 / 1.918 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003299/4.776, allocations: 0.8262 MB / 1.919 GB, free: 5.746 MB / 0.8698 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) * 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.006108/4.782, allocations: 4.364 MB / 1.923 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.6382/5.42, allocations: 1.402 MB / 1.925 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/5.42, allocations: 2.094 kB / 1.925 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/5.422, allocations: 0.4941 MB / 1.925 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005835/5.428, allocations: 0.6227 MB / 1.926 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007531/5.435, allocations: 2.262 MB / 1.928 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/5.437, allocations: 1.263 MB / 1.929 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004177/5.441, allocations: 448.9 kB / 1.93 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/5.442, allocations: 0.5532 MB / 1.93 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of SimCode: time 7.81e-07/5.442, allocations: 0.9688 kB / 1.93 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/5.58, allocations: 41.43 MB / 1.971 GB, free: 143 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/5.58, allocations: 164.9 kB / 1.971 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.333/9.913, allocations: 3.938 kB / 1.971 GB, free: 142.8 MB / 0.8698 GB