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.41/2.41, allocations: 248.7 MB / 256.2 MB, free: 7.031 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.001535/0.001535, allocations: 175.5 kB / 315.4 MB, free: 4 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.244/2.244, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 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.001123/0.001123, allocations: 105.1 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.6e-05/2.585e-05, allocations: 11.98 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2156, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9419/1.158, allocations: 132.5 MB / 1.013 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/1.158, allocations: 75.58 kB / 1.014 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006478/1.164, allocations: 1.37 MB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.335e-06/1.164, allocations: 0 / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.116e-05/1.164, allocations: 7.75 kB / 1.015 GB, free: 5.137 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.0004641/1.165, allocations: 350.4 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/1.165, allocations: 12.03 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/1.165, allocations: 0 / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/1.165, allocations: 170.9 kB / 1.015 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/1.165, allocations: 3.984 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/1.165, allocations: 0 / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.528e-05/1.165, allocations: 15.31 kB / 1.015 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.207e-05/1.165, allocations: 33.69 kB / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.166, allocations: 0 / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/1.166, allocations: 0 / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/1.166, allocations: 2.516 kB / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/1.166, allocations: 243.8 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.3e-05/1.166, allocations: 24.14 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/1.166, allocations: 8.922 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/1.167, allocations: 476.3 kB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/1.167, allocations: 31.38 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.545e-06/1.167, allocations: 0 / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.006048/1.173, allocations: 0.5505 MB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/1.173, allocations: 51.41 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/1.174, allocations: 100.1 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/1.174, allocations: 25.7 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.332e-05/1.174, allocations: 99.44 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/1.174, allocations: 3.938 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-06/1.174, allocations: 0 / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001699/1.174, allocations: 317.8 kB / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.491e-05/1.174, allocations: 4 kB / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.395e-05/1.174, allocations: 6.938 kB / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005841/1.18, allocations: 0.5148 MB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.18, allocations: 0 / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.005941/1.186, allocations: 0.5491 MB / 1.018 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/1.186, allocations: 5.875 kB / 1.018 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.186, allocations: 0 / 1.018 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/1.186, allocations: 0 / 1.018 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/1.186, allocations: 11.92 kB / 1.018 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/1.186, allocations: 7.938 kB / 1.018 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.444e-05/1.186, allocations: 0 / 1.018 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/1.186, allocations: 2.5 kB / 1.018 GB, free: 1.395 MB / 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 (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.836e-05/1.186, allocations: 115.5 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005964/1.192, allocations: 0.5451 MB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/1.192, allocations: 7.906 kB / 1.019 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00602/1.198, allocations: 0.5555 MB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/1.198, allocations: 0 / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.198, allocations: 3.938 kB / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.198, allocations: 3.953 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/1.199, allocations: 144.8 kB / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.199, allocations: 0 / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.294e-05/1.199, allocations: 4 kB / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/1.199, allocations: 0 / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/1.199, allocations: 0 / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/1.199, allocations: 3.984 kB / 1.02 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.199, allocations: 4 kB / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006076/1.205, allocations: 0.6437 MB / 1.02 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/1.205, allocations: 85 kB / 1.02 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/1.205, allocations: 4 kB / 1.02 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/1.205, allocations: 4 kB / 1.02 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/1.205, allocations: 8.031 kB / 1.02 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/1.205, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.918e-05/1.205, allocations: 87.47 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.71e-07/1.205, allocations: 0 / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003869/1.206, allocations: 19.94 kB / 1.021 GB, free: 15.17 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.00647/1.212, allocations: 1.194 MB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001205/1.212, allocations: 19.05 kB / 1.022 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.212, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/1.213, allocations: 16.03 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/1.213, allocations: 2.938 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/1.213, allocations: 112.3 kB / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/1.214, allocations: 0.6846 MB / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.773e-05/1.214, allocations: 0 / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/1.214, allocations: 10.19 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/1.214, allocations: 0 / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/1.247, allocations: 1.038 MB / 1.024 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0008689/1.248, allocations: 135.2 kB / 1.024 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/3.575, allocations: 4 kB / 1.024 GB, free: 11.86 MB / 0.6511 GB