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.174/2.174, allocations: 248.5 MB / 261.1 MB, free: 6.012 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.001511/0.001511, allocations: 174.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001085/0.001085, allocations: 97.97 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.6e-05/4.634e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.213, allocations: 106.3 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.877/2.09, allocations: 409.2 MB / 1.29 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/2.091, allocations: 88 kB / 1.29 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.651/4.741, allocations: 0.6056 GB / 1.896 GB, free: 27.69 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.124e-06/4.741, allocations: 0 / 1.896 GB, free: 27.69 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002848/4.742, allocations: 43.92 kB / 1.896 GB, free: 27.65 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.006091/4.748, allocations: 1.764 MB / 1.898 GB, free: 25.82 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/4.748, allocations: 11.97 kB / 1.898 GB, free: 25.81 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005375/4.748, allocations: 144.9 kB / 1.898 GB, free: 25.66 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006279/4.755, allocations: 0.6301 MB / 1.898 GB, free: 25.03 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005702/4.76, allocations: 1.628 MB / 1.9 GB, free: 23.36 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/4.761, allocations: 145.4 kB / 1.9 GB, free: 23.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003271/4.761, allocations: 100 kB / 1.9 GB, free: 23.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/4.764, allocations: 1.108 MB / 1.901 GB, free: 21.96 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.382e-05/4.764, allocations: 7.938 kB / 1.901 GB, free: 21.95 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/4.764, allocations: 39.95 kB / 1.901 GB, free: 21.91 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.755e-05/4.764, allocations: 24 kB / 1.901 GB, free: 21.89 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/4.767, allocations: 0.9527 MB / 1.902 GB, free: 20.94 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.01123/4.778, allocations: 5.365 MB / 1.908 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007981/4.786, allocations: 1.109 MB / 1.909 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/4.788, allocations: 442.4 kB / 1.909 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/4.789, allocations: 1.243 MB / 1.91 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001305/4.79, allocations: 0.5298 MB / 1.911 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 4.499e-06/4.79, allocations: 4 kB / 1.911 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.002638/4.793, allocations: 0.8643 MB / 1.912 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/4.793, allocations: 123.3 kB / 1.912 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/4.795, allocations: 1.129 MB / 1.913 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003039/4.796, allocations: 45.7 kB / 1.913 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007536/4.796, allocations: 0.6701 MB / 1.914 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003854/4.797, allocations: 220.8 kB / 1.914 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.435e-05/4.797, allocations: 20.06 kB / 1.914 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/4.797, allocations: 333.9 kB / 1.914 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009408/4.798, allocations: 345.5 kB / 1.915 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/4.799, allocations: 0.6078 MB / 1.915 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/4.8, allocations: 398 kB / 1.915 GB, free: 6.699 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/4.8, allocations: 3.938 kB / 1.915 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002915/4.803, allocations: 1.027 MB / 1.916 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002797/4.803, allocations: 1.199 MB / 1.918 GB, free: 4.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/4.803, allocations: 4 kB / 1.918 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/4.803, allocations: 4 kB / 1.918 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/4.806, allocations: 279.6 kB / 1.918 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/4.806, allocations: 8 kB / 1.918 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/4.809, allocations: 242.9 kB / 1.918 GB, free: 3.812 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/4.81, allocations: 43.97 kB / 1.918 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/4.81, allocations: 6.188 kB / 1.918 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002486/4.812, allocations: 0.8788 MB / 1.919 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/4.812, allocations: 4 kB / 1.919 GB, free: 2.875 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/4.812, allocations: 15.89 kB / 1.919 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/4.815, allocations: 267.9 kB / 1.919 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/4.815, allocations: 8 kB / 1.919 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003315/4.818, allocations: 231.2 kB / 1.92 GB, free: 2.363 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003102/4.819, allocations: 55.91 kB / 1.92 GB, free: 2.309 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.0003899/4.819, allocations: 144.8 kB / 1.92 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000537/4.82, allocations: 154.2 kB / 1.92 GB, free: 2.008 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003204/4.823, allocations: 1.08 MB / 1.921 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/4.823, allocations: 11.95 kB / 1.921 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/4.823, allocations: 4 kB / 1.921 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6561/5.479, allocations: 0.9007 MB / 1.922 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00902/5.488, allocations: 3.067 MB / 1.925 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/5.488, allocations: 3.938 kB / 1.925 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002305/5.49, allocations: 238.8 kB / 1.925 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-05/5.49, allocations: 8.125 kB / 1.925 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/5.491, allocations: 29.73 kB / 1.925 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.757e-05/5.491, allocations: 17.67 kB / 1.925 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/5.491, allocations: 5.922 kB / 1.925 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005029/5.496, allocations: 2.054 MB / 1.927 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/5.497, allocations: 474.7 kB / 1.928 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005547/5.498, allocations: 25.56 kB / 1.928 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003204/5.501, allocations: 185.3 kB / 1.928 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003748/5.502, allocations: 72.52 kB / 1.928 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000229/5.502, allocations: 49.77 kB / 1.928 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002495/5.504, allocations: 0.9057 MB / 1.929 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.92e-07/5.504, allocations: 0 / 1.929 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004853/5.509, allocations: 0.8416 MB / 1.93 GB, free: 139.4 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.008068/5.517, allocations: 4.388 MB / 1.934 GB, free: 137 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004568/5.522, allocations: 1.466 MB / 1.935 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/5.522, allocations: 4.062 kB / 1.935 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001594/5.524, allocations: 0.5088 MB / 1.936 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007104/5.531, allocations: 0.7699 MB / 1.937 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00819/5.539, allocations: 2.352 MB / 1.939 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/5.54, allocations: 1.262 MB / 1.94 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004572/5.545, allocations: 482.5 kB / 1.941 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/5.546, allocations: 0.5531 MB / 1.941 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.024e-06/5.546, allocations: 0 / 1.941 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/5.695, allocations: 50.23 MB / 1.99 GB, free: 134 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/5.695, allocations: 183 kB / 1.99 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.724/10.42, allocations: 0 / 1.99 GB, free: 133.8 MB / 0.8698 GB