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.3/2.3, allocations: 248.5 MB / 261.1 MB, free: 6.027 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.001411/0.00141, 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.992/1.992, allocations: 205.2 MB / 0.5711 GB, free: 11.74 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.001198/0.001198, allocations: 101.2 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.672e-05/3.704e-05, allocations: 8 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.211, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8728/1.084, allocations: 132.2 MB / 1.02 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/1.084, allocations: 70.64 kB / 1.02 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006439/1.091, allocations: 1.387 MB / 1.021 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.914e-06/1.091, allocations: 0 / 1.021 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.091, allocations: 0 / 1.021 GB, free: 1.414 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004614/1.091, allocations: 354.3 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/1.091, allocations: 8.031 kB / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.881e-05/1.091, allocations: 34.56 kB / 1.022 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/1.091, allocations: 7.938 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/1.092, allocations: 167 kB / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/1.092, allocations: 3 kB / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/1.092, allocations: 0 / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/1.092, allocations: 44.12 kB / 1.022 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.092, allocations: 0 / 1.022 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/1.092, allocations: 4 kB / 1.022 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.092, allocations: 0 / 1.022 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.075e-05/1.092, allocations: 17.5 kB / 1.022 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/1.092, allocations: 257.7 kB / 1.022 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.627e-05/1.093, allocations: 25.52 kB / 1.022 GB, free: 396 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/1.093, allocations: 18.91 kB / 1.022 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/1.094, allocations: 465.5 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/1.094, allocations: 42.55 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 3.507e-06/1.094, allocations: 0 / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0002384/1.094, allocations: 39.64 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/1.094, allocations: 59.36 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/1.094, allocations: 104.7 kB / 1.023 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/1.094, allocations: 25.7 kB / 1.023 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/1.094, allocations: 87.61 kB / 1.023 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/1.094, allocations: 7.938 kB / 1.023 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-06/1.094, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.095, allocations: 318.2 kB / 1.023 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.035e-05/1.095, allocations: 7.984 kB / 1.023 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/1.095, allocations: 11.88 kB / 1.023 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.603e-05/1.095, allocations: 4 kB / 1.023 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.095, allocations: 0 / 1.023 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001236/1.095, allocations: 45.55 kB / 1.023 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.095, allocations: 4 kB / 1.023 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.095, allocations: 3.984 kB / 1.023 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/1.095, allocations: 4.094 kB / 1.023 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/1.095, allocations: 4 kB / 1.023 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/1.095, allocations: 3.828 kB / 1.023 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.879e-05/1.095, allocations: 11.02 kB / 1.023 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/1.095, allocations: 0 / 1.023 GB, free: 15.03 MB / 0.6511 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 (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 9.458e-05/1.095, allocations: 105 kB / 1.023 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/1.095, allocations: 3.984 kB / 1.023 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/1.096, allocations: 64.92 kB / 1.023 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.096, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.096, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.096, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/1.096, allocations: 165.5 kB / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.096, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/1.096, allocations: 4 kB / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.096, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/1.096, allocations: 4 kB / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.096, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.096, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/1.096, allocations: 154.5 kB / 1.024 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/1.096, allocations: 77.11 kB / 1.024 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/1.096, allocations: 7.938 kB / 1.024 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.106e-05/1.096, allocations: 3.984 kB / 1.024 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/1.096, allocations: 4 kB / 1.024 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/1.096, allocations: 0 / 1.024 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.387e-05/1.097, allocations: 86.38 kB / 1.024 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.097, allocations: 4 kB / 1.024 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003464/1.097, allocations: 27.61 kB / 1.024 GB, free: 14.26 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 (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.0006952/1.098, allocations: 0.6891 MB / 1.025 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001232/1.098, allocations: 15.47 kB / 1.025 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.098, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/1.098, allocations: 15.86 kB / 1.025 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/1.098, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/1.099, allocations: 109.1 kB / 1.025 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/1.099, allocations: 0.6809 MB / 1.025 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.657e-05/1.099, allocations: 7.969 kB / 1.025 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/1.099, allocations: 19.06 kB / 1.025 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of SimCode: time 9.42e-07/1.099, allocations: 3.938 kB / 1.026 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/1.119, allocations: 1.335 MB / 1.027 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003188/1.12, allocations: 150.5 kB / 1.027 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.553, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.6511 GB