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.186/2.186, allocations: 248.5 MB / 261.1 MB, free: 6.137 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.00145/0.001449, allocations: 182.7 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.949/1.949, allocations: 205.1 MB / 0.571 GB, free: 11.79 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.001629/0.001628, allocations: 100.6 kB / 0.6754 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.304e-05/4.306e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2036, allocations: 106.3 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.894/2.097, allocations: 409.2 MB / 1.29 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/2.098, allocations: 88.42 kB / 1.29 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.584/4.682, allocations: 0.6061 GB / 1.897 GB, free: 27.67 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.234e-06/4.682, allocations: 4 kB / 1.897 GB, free: 27.66 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002021/4.682, allocations: 47.86 kB / 1.897 GB, free: 27.62 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.00518/4.687, allocations: 1.772 MB / 1.898 GB, free: 25.79 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/4.687, allocations: 8.031 kB / 1.898 GB, free: 25.78 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003709/4.688, allocations: 148.9 kB / 1.898 GB, free: 25.62 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006124/4.694, allocations: 0.63 MB / 1.899 GB, free: 24.99 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005387/4.699, allocations: 1.656 MB / 1.901 GB, free: 23.29 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/4.699, allocations: 153.4 kB / 1.901 GB, free: 23.12 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002747/4.7, allocations: 100 kB / 1.901 GB, free: 23.03 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/4.703, allocations: 1.116 MB / 1.902 GB, free: 21.88 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.739e-05/4.703, allocations: 0 / 1.902 GB, free: 21.88 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/4.703, allocations: 43.95 kB / 1.902 GB, free: 21.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/4.703, allocations: 27.94 kB / 1.902 GB, free: 21.81 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/4.706, allocations: 0.9723 MB / 1.903 GB, free: 20.84 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.0108/4.716, allocations: 5.417 MB / 1.908 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/4.718, allocations: 0.7077 MB / 1.909 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/4.72, allocations: 459.6 kB / 1.909 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009627/4.721, allocations: 1.243 MB / 1.911 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/4.722, allocations: 0.5454 MB / 1.911 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 3.787e-06/4.722, allocations: 7.938 kB / 1.911 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.002679/4.725, allocations: 0.8916 MB / 1.912 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/4.725, allocations: 115.4 kB / 1.912 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/4.727, allocations: 1.179 MB / 1.913 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002981/4.727, allocations: 45.7 kB / 1.913 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007129/4.728, allocations: 0.6781 MB / 1.914 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003584/4.728, allocations: 224.7 kB / 1.914 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/4.729, allocations: 20.06 kB / 1.914 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.385e-05/4.729, allocations: 330 kB / 1.915 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009546/4.73, allocations: 357.4 kB / 1.915 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/4.731, allocations: 0.6117 MB / 1.916 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009429/4.732, allocations: 409.8 kB / 1.916 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/4.732, allocations: 0 / 1.916 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002851/4.735, allocations: 1.062 MB / 1.917 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000274/4.735, allocations: 1.202 MB / 1.918 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/4.735, allocations: 8 kB / 1.918 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.366e-05/4.735, allocations: 8 kB / 1.918 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/4.737, allocations: 275.7 kB / 1.918 GB, free: 4.137 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/4.737, allocations: 7.938 kB / 1.918 GB, free: 4.129 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/4.741, allocations: 239 kB / 1.919 GB, free: 3.895 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/4.741, allocations: 51.97 kB / 1.919 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/4.741, allocations: 4 kB / 1.919 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002367/4.743, allocations: 0.8945 MB / 1.92 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/4.743, allocations: 7.984 kB / 1.92 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/4.743, allocations: 11.95 kB / 1.92 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/4.746, allocations: 267.9 kB / 1.92 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/4.746, allocations: 4 kB / 1.92 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/4.749, allocations: 235.1 kB / 1.92 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/4.749, allocations: 51.91 kB / 1.92 GB, free: 2.375 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.0003437/4.749, allocations: 148.8 kB / 1.92 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003566/4.75, allocations: 154.1 kB / 1.92 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/4.753, allocations: 1.111 MB / 1.922 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/4.753, allocations: 11.95 kB / 1.922 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/4.753, allocations: 0 / 1.922 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6417/5.394, allocations: 0.9293 MB / 1.922 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009067/5.404, allocations: 3.121 MB / 1.925 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/5.404, allocations: 6.609 kB / 1.925 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002295/5.406, allocations: 244.1 kB / 1.926 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-05/5.406, allocations: 9.141 kB / 1.926 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/5.406, allocations: 29.08 kB / 1.926 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.715e-05/5.406, allocations: 12.59 kB / 1.926 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/5.406, allocations: 13.73 kB / 1.926 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00492/5.411, allocations: 2.099 MB / 1.928 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/5.413, allocations: 480.5 kB / 1.928 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005857/5.413, allocations: 23.23 kB / 1.928 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003114/5.417, allocations: 183.1 kB / 1.928 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003549/5.417, allocations: 72.53 kB / 1.929 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002225/5.417, allocations: 47.56 kB / 1.929 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002619/5.42, allocations: 0.9421 MB / 1.93 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.243e-06/5.42, allocations: 0 / 1.93 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00499/5.425, allocations: 0.8513 MB / 1.93 GB, free: 138.6 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.01045/5.435, allocations: 4.432 MB / 1.935 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005961/5.441, allocations: 1.494 MB / 1.936 GB, free: 136 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/5.441, allocations: 0 / 1.936 GB, free: 136 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002132/5.444, allocations: 0.514 MB / 1.937 GB, free: 136 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008987/5.453, allocations: 0.7637 MB / 1.937 GB, free: 136 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/5.464, allocations: 2.418 MB / 1.94 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/5.465, allocations: 1.279 MB / 1.941 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006039/5.472, allocations: 0.4898 MB / 1.941 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001916/5.473, allocations: 0.5597 MB / 1.942 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.853e-06/5.474, allocations: 0 / 1.942 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.186/5.66, allocations: 50.94 MB / 1.992 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/5.66, allocations: 202.7 kB / 1.992 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.752/10.41, allocations: 0 / 1.992 GB, free: 132.9 MB / 0.8698 GB