Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.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.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_SmoothLimit",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.389/2.389, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 176.6 kB / 325.5 MB, free: 2.895 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.3/2.3, allocations: 205.4 MB / 0.5764 GB, free: 20.75 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.001139/0.00114, allocations: 92.17 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006812/0.0006813, allocations: 14.62 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2395, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/0.4717, allocations: 132.3 MB / 1.028 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.472, allocations: 75.95 kB / 1.028 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006501/0.4786, allocations: 1.398 MB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.464e-06/0.4786, allocations: 0 / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.4786, allocations: 0 / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004761/0.4791, allocations: 351.2 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.4792, allocations: 12.03 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.4792, allocations: 38.56 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.4793, allocations: 7.859 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.4794, allocations: 171 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.4795, allocations: 0 / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.4795, allocations: 0 / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.4797, allocations: 53.61 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4797, allocations: 0 / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.4797, allocations: 0 / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4798, allocations: 4 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.4799, allocations: 23.98 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.4803, allocations: 248.9 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.4805, allocations: 38.56 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/0.4816, allocations: 469.4 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.4816, allocations: 38.56 kB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 3.236e-06/0.4817, allocations: 0 / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0004072/0.4821, allocations: 69.58 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.4821, allocations: 63.3 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.4823, allocations: 101 kB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.4823, allocations: 25.83 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.4824, allocations: 88.14 kB / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.4824, allocations: 3.906 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.4824, allocations: 4 kB / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4825, allocations: 314.8 kB / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-05/0.4826, allocations: 15.94 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.839e-05/0.4827, allocations: 11.98 kB / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.719e-05/0.4828, allocations: 16.06 kB / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4828, allocations: 0 / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002012/0.483, allocations: 57.67 kB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.4831, allocations: 4 kB / 1.032 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.4831, allocations: 0 / 1.032 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4831, allocations: 0 / 1.032 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4832, allocations: 11.97 kB / 1.032 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4833, allocations: 4 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.4833, allocations: 11.94 kB / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.4833, allocations: 0 / 1.032 GB, free: 9.012 MB / 0.6823 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001058/0.4835, allocations: 109.8 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.4835, allocations: 7.906 kB / 1.032 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.4838, allocations: 69.14 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4838, allocations: 0 / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.77e-06/0.4838, allocations: 0 / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4838, allocations: 0 / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.4841, allocations: 169.6 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4841, allocations: 4 kB / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.087e-05/0.4842, allocations: 4 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4842, allocations: 0 / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4842, allocations: 0 / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.4842, allocations: 0 / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4843, allocations: 4 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.4845, allocations: 164.3 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.4846, allocations: 81.02 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.4846, allocations: 0 / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.515e-05/0.4847, allocations: 4 kB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.4848, allocations: 11.95 kB / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.4848, allocations: 4 kB / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.645e-05/0.4849, allocations: 83.28 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.2e-07/0.4849, allocations: 0 / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003686/0.4853, allocations: 27.92 kB / 1.032 GB, free: 8.184 MB / 0.6823 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006846/0.486, allocations: 0.7085 MB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002016/0.4862, allocations: 27.92 kB / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4862, allocations: 0 / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.4863, allocations: 15.98 kB / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.4865, allocations: 9.875 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.4871, allocations: 170.2 kB / 1.033 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.4874, allocations: 0.6809 MB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.327e-05/0.4874, allocations: 4 kB / 1.034 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.4875, allocations: 15.38 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of SimCode: time 1.103e-06/0.4875, allocations: 4 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.5097, allocations: 1.348 MB / 1.035 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003525/0.5101, allocations: 168 kB / 1.035 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/2.804, allocations: 64 / 1.035 GB, free: 4.992 MB / 0.6823 GB