Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",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.219/2.219, allocations: 248.5 MB / 261.1 MB, free: 5.984 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.001525/0.001525, allocations: 184.9 kB / 320.4 MB, free: 15.32 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.963/1.963, 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.001124/0.001124, allocations: 86.44 kB / 0.6754 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.309e-05/4.312e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2137, allocations: 106.2 MB / 0.8907 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8598/1.074, allocations: 132.1 MB / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/1.074, allocations: 89.16 kB / 1.02 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004772/1.079, allocations: 1.157 MB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/1.079, allocations: 0 / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.815e-06/1.079, allocations: 0 / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004938/1.079, allocations: 353.8 kB / 1.021 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/1.079, allocations: 8.031 kB / 1.021 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/1.079, allocations: 34.56 kB / 1.021 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/1.079, allocations: 7.859 kB / 1.021 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/1.08, allocations: 171 kB / 1.021 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/1.08, allocations: 3.5 kB / 1.021 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/1.08, allocations: 4 kB / 1.021 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/1.08, allocations: 52.56 kB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.08, allocations: 0 / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/1.08, allocations: 3.984 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/1.08, allocations: 0 / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.208e-05/1.08, allocations: 20.69 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/1.08, allocations: 271.2 kB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/1.081, allocations: 43.38 kB / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/1.081, allocations: 11.73 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/1.081, allocations: 7.625 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/1.081, allocations: 30.56 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.624e-06/1.081, allocations: 0 / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002013/1.081, allocations: 51.8 kB / 1.022 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/1.081, allocations: 55.41 kB / 1.022 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/1.081, allocations: 107.8 kB / 1.022 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/1.081, allocations: 29.7 kB / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/1.081, allocations: 95.47 kB / 1.022 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/1.081, allocations: 3.906 kB / 1.022 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/1.081, allocations: 7.75 kB / 1.022 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.081, allocations: 310.8 kB / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.832e-05/1.081, allocations: 11.81 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/1.081, allocations: 11.23 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.291e-05/1.081, allocations: 7.062 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.081, allocations: 0 / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001375/1.082, allocations: 60.66 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.082, allocations: 4 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/1.082, allocations: 8.125 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/1.082, allocations: 0 / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/1.082, allocations: 11.98 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/1.082, allocations: 3.953 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.052e-05/1.082, allocations: 7.984 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/1.082, allocations: 0 / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 7.632e-05/1.082, allocations: 112.9 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/1.082, allocations: 7.922 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/1.082, allocations: 11.84 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.082, allocations: 0 / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.082, allocations: 0 / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/1.082, allocations: 3.953 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/1.082, allocations: 172.7 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.082, allocations: 4 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/1.083, allocations: 11.98 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.083, allocations: 4 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/1.083, allocations: 3.375 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.083, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.083, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/1.083, allocations: 154.5 kB / 1.023 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/1.083, allocations: 85.02 kB / 1.023 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/1.083, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/1.083, allocations: 8 kB / 1.023 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/1.083, allocations: 15.73 kB / 1.023 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/1.083, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.869e-05/1.083, allocations: 86.47 kB / 1.023 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.083, allocations: 0 / 1.023 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002726/1.084, allocations: 8 kB / 1.023 GB, free: 15.43 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005587/1.084, allocations: 0.6886 MB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001304/1.084, allocations: 26.61 kB / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.084, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.184e-05/1.084, allocations: 11.31 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/1.085, allocations: 3.062 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/1.085, allocations: 109.9 kB / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/1.085, allocations: 0.6926 MB / 1.025 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.918e-05/1.085, allocations: 0 / 1.025 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/1.086, allocations: 19.19 kB / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of SimCode: time 7.21e-07/1.086, allocations: 0 / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/1.103, allocations: 1.237 MB / 1.026 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/1.104, allocations: 172.2 kB / 1.026 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/3.276, allocations: 0 / 1.026 GB, free: 12.54 MB / 0.6511 GB