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.17/2.17, allocations: 248.7 MB / 256.2 MB, free: 7 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.001459/0.001458, allocations: 176.8 kB / 315.4 MB, free: 4.051 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.028/2.028, 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.001105/0.001104, allocations: 86.75 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.651e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2047, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.846/2.051, allocations: 409.5 MB / 1.284 GB, free: 262.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/2.051, allocations: 89.06 kB / 1.284 GB, free: 262.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.57/4.621, allocations: 0.6025 GB / 1.887 GB, free: 39.53 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.803e-06/4.621, allocations: 0 / 1.887 GB, free: 39.53 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002146/4.622, allocations: 39.83 kB / 1.887 GB, free: 39.49 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.005293/4.627, allocations: 1.772 MB / 1.888 GB, free: 37.68 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/4.627, allocations: 8.031 kB / 1.888 GB, free: 37.67 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006203/4.633, allocations: 0.6312 MB / 1.889 GB, free: 37.04 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005528/4.639, allocations: 1.651 MB / 1.891 GB, free: 35.37 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/4.639, allocations: 113.4 kB / 1.891 GB, free: 35.25 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/4.639, allocations: 60 kB / 1.891 GB, free: 35.19 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002545/4.642, allocations: 0.9254 MB / 1.892 GB, free: 34.26 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/4.644, allocations: 0.987 MB / 1.893 GB, free: 33.24 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.074e-05/4.644, allocations: 3.984 kB / 1.893 GB, free: 33.23 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/4.645, allocations: 7.953 kB / 1.893 GB, free: 33.23 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/4.645, allocations: 24 kB / 1.893 GB, free: 33.2 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.01066/4.655, allocations: 5.242 MB / 1.898 GB, free: 27.69 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/4.657, allocations: 0.6727 MB / 1.898 GB, free: 27.01 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009869/4.658, allocations: 439.7 kB / 1.899 GB, free: 26.58 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009683/4.659, allocations: 1.243 MB / 1.9 GB, free: 25.06 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001237/4.66, allocations: 0.517 MB / 1.901 GB, free: 24.52 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 3.747e-06/4.66, allocations: 0 / 1.901 GB, free: 24.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.003196/4.664, allocations: 0.9228 MB / 1.901 GB, free: 23.59 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/4.664, allocations: 111.4 kB / 1.902 GB, free: 23.46 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/4.666, allocations: 1.039 MB / 1.903 GB, free: 22.41 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000276/4.666, allocations: 33.69 kB / 1.903 GB, free: 22.37 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007274/4.667, allocations: 0.6852 MB / 1.903 GB, free: 21.68 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003457/4.667, allocations: 216.8 kB / 1.904 GB, free: 21.46 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-05/4.667, allocations: 4 kB / 1.904 GB, free: 21.46 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.209e-05/4.667, allocations: 330 kB / 1.904 GB, free: 21.13 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008528/4.668, allocations: 349.5 kB / 1.904 GB, free: 20.79 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/4.669, allocations: 0.5946 MB / 1.905 GB, free: 20.09 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/4.671, allocations: 435 kB / 1.905 GB, free: 19.67 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.495e-06/4.671, allocations: 0 / 1.905 GB, free: 19.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003338/4.674, allocations: 1.025 MB / 1.906 GB, free: 18.63 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002807/4.675, allocations: 1.196 MB / 1.907 GB, free: 17.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/4.675, allocations: 4 kB / 1.907 GB, free: 17.37 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.564e-05/4.675, allocations: 4 kB / 1.907 GB, free: 17.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002417/4.677, allocations: 283.7 kB / 1.908 GB, free: 17.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/4.677, allocations: 7.938 kB / 1.908 GB, free: 17.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/4.68, allocations: 211.1 kB / 1.908 GB, free: 16.87 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/4.681, allocations: 55.97 kB / 1.908 GB, free: 16.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/4.681, allocations: 0.7812 kB / 1.908 GB, free: 16.82 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002758/4.683, allocations: 0.8536 MB / 1.909 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/4.683, allocations: 4 kB / 1.909 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/4.683, allocations: 4 kB / 1.909 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002344/4.686, allocations: 276 kB / 1.909 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/4.686, allocations: 8 kB / 1.909 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/4.689, allocations: 203.1 kB / 1.909 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/4.689, allocations: 55.92 kB / 1.909 GB, free: 15.42 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.0003282/4.689, allocations: 130 kB / 1.909 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003017/4.692, allocations: 0.9072 MB / 1.91 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003773/4.693, allocations: 142.3 kB / 1.91 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/4.696, allocations: 1.088 MB / 1.911 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/4.696, allocations: 8 kB / 1.911 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/4.696, allocations: 7.938 kB / 1.911 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00245/4.699, allocations: 0.9285 MB / 1.912 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007714/4.707, allocations: 2.969 MB / 1.915 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/4.707, allocations: 4 kB / 1.915 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002191/4.709, allocations: 244.2 kB / 1.916 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/4.709, allocations: 8 kB / 1.916 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/4.709, allocations: 19.97 kB / 1.916 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/4.709, allocations: 19.89 kB / 1.916 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/4.709, allocations: 4 kB / 1.916 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004496/4.714, allocations: 2.041 MB / 1.918 GB, free: 6.512 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/4.715, allocations: 480 kB / 1.918 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003136/4.715, allocations: 11.95 kB / 1.918 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/4.718, allocations: 163.7 kB / 1.918 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/4.718, allocations: 72.36 kB / 1.918 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/4.718, allocations: 47.97 kB / 1.918 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001521/4.72, allocations: 0.7934 MB / 1.919 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.71e-07/4.72, allocations: 0 / 1.919 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003513/4.723, allocations: 0.8302 MB / 1.92 GB, free: 4.09 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.6523/5.375, allocations: 4.424 MB / 1.924 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004087/5.38, allocations: 1.428 MB / 1.926 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/5.38, allocations: 1.469 kB / 1.926 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/5.381, allocations: 0.4983 MB / 1.926 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.005977/5.387, allocations: 0.6279 MB / 1.927 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008179/5.396, allocations: 2.337 MB / 1.929 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/5.397, allocations: 1.277 MB / 1.93 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004359/5.401, allocations: 467 kB / 1.931 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/5.403, allocations: 0.5625 MB / 1.931 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.824e-06/5.403, allocations: 0.75 kB / 1.931 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1401/5.543, allocations: 42.08 MB / 1.972 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002955/5.543, allocations: 185.4 kB / 1.972 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.356/9.899, allocations: 0 / 1.972 GB, free: 142.7 MB / 0.8698 GB