Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_SmoothHeaviside",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.152/2.152, allocations: 251 MB / 265.9 MB, free: 11.71 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.00236/0.00236, allocations: 186.2 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.625/2.625, allocations: 205.4 MB / 0.5764 GB, free: 21.23 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.001158/0.001158, allocations: 94.83 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004806, allocations: 21.09 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2099, allocations: 106.3 MB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2254/0.4354, allocations: 132 MB / 1.028 GB, free: 13.83 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.4358, allocations: 79.95 kB / 1.028 GB, free: 13.75 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.004825/0.4406, allocations: 1.089 MB / 1.029 GB, free: 12.66 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4407, allocations: 0 / 1.029 GB, free: 12.66 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.4407, allocations: 0 / 1.029 GB, free: 12.66 MB / 0.6824 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.0005503/0.4412, allocations: 355.2 kB / 1.029 GB, free: 12.26 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.4413, allocations: 8.031 kB / 1.029 GB, free: 12.25 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.4414, allocations: 34.56 kB / 1.029 GB, free: 12.21 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.4414, allocations: 0 / 1.029 GB, free: 12.21 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.4416, allocations: 170.9 kB / 1.029 GB, free: 12 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.4416, allocations: 4 kB / 1.029 GB, free: 12 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.4416, allocations: 7.938 kB / 1.029 GB, free: 11.99 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.4419, allocations: 49.69 kB / 1.029 GB, free: 11.94 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.4419, allocations: 0 / 1.029 GB, free: 11.94 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.4419, allocations: 7.984 kB / 1.029 GB, free: 11.93 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4419, allocations: 0 / 1.029 GB, free: 11.93 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.4423, allocations: 39.97 kB / 1.029 GB, free: 11.89 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.4428, allocations: 272.9 kB / 1.03 GB, free: 11.57 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.443, allocations: 42.5 kB / 1.03 GB, free: 11.52 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.4432, allocations: 89.16 kB / 1.03 GB, free: 11.42 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.4433, allocations: 30.56 kB / 1.03 GB, free: 11.38 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=2): time 1.973e-06/0.4433, allocations: 0 / 1.03 GB, free: 11.38 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2): time 0.0005698/0.4439, allocations: 101.7 kB / 1.03 GB, free: 11.27 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.4439, allocations: 51.41 kB / 1.03 GB, free: 11.21 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.98e-05/0.444, allocations: 97.14 kB / 1.03 GB, free: 11.11 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.444, allocations: 25.7 kB / 1.03 GB, free: 11.08 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.4441, allocations: 84.08 kB / 1.03 GB, free: 10.99 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.4441, allocations: 19.83 kB / 1.03 GB, free: 10.97 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.4442, allocations: 0 / 1.03 GB, free: 10.97 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4443, allocations: 314.9 kB / 1.031 GB, free: 10.66 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.4445, allocations: 31.86 kB / 1.031 GB, free: 10.62 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.4446, allocations: 15.98 kB / 1.031 GB, free: 10.61 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.4448, allocations: 32.03 kB / 1.031 GB, free: 10.58 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4448, allocations: 0 / 1.031 GB, free: 10.58 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003475/0.4451, allocations: 69.67 kB / 1.031 GB, free: 10.5 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4452, allocations: 4 kB / 1.031 GB, free: 10.5 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4452, allocations: 4.094 kB / 1.031 GB, free: 10.5 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.4452, allocations: 8 kB / 1.031 GB, free: 10.49 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.4454, allocations: 11.98 kB / 1.031 GB, free: 10.48 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.4454, allocations: 0 / 1.031 GB, free: 10.48 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.4455, allocations: 7.984 kB / 1.031 GB, free: 10.47 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.4455, allocations: 7.953 kB / 1.031 GB, free: 10.46 MB / 0.6824 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 9.78e-05/0.4456, allocations: 117.8 kB / 1.031 GB, free: 10.34 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.4457, allocations: 3.906 kB / 1.031 GB, free: 10.33 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.4461, allocations: 76.78 kB / 1.031 GB, free: 10.25 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.4461, allocations: 3.984 kB / 1.031 GB, free: 10.25 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4461, allocations: 4 kB / 1.031 GB, free: 10.24 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4461, allocations: 8.016 kB / 1.031 GB, free: 10.23 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.4464, allocations: 157.6 kB / 1.031 GB, free: 10.03 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4464, allocations: 0 / 1.031 GB, free: 10.03 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.4465, allocations: 11.98 kB / 1.031 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4465, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.4465, allocations: 4 kB / 1.031 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.4466, allocations: 4 kB / 1.031 GB, free: 10.01 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4466, allocations: 0 / 1.031 GB, free: 10.01 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.447, allocations: 176.4 kB / 1.031 GB, free: 9.824 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.447, allocations: 77.11 kB / 1.031 GB, free: 9.73 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.4471, allocations: 4 kB / 1.031 GB, free: 9.727 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.4472, allocations: 16.02 kB / 1.031 GB, free: 9.711 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.4473, allocations: 0 / 1.031 GB, free: 9.711 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.4473, allocations: 4 kB / 1.031 GB, free: 9.707 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 5.462e-05/0.4474, allocations: 83.27 kB / 1.031 GB, free: 9.625 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.4e-07/0.4474, allocations: 0 / 1.031 GB, free: 9.625 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0003031/0.4477, allocations: 8 kB / 1.031 GB, free: 9.617 MB / 0.6824 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.000798/0.4485, allocations: 0.7162 MB / 1.032 GB, free: 8.875 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.4489, allocations: 59.92 kB / 1.032 GB, free: 8.816 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4489, allocations: 0 / 1.032 GB, free: 8.816 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.4491, allocations: 19.98 kB / 1.032 GB, free: 8.797 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.4493, allocations: 8.062 kB / 1.032 GB, free: 8.789 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.4499, allocations: 146.3 kB / 1.032 GB, free: 8.602 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.4502, allocations: 0.6848 MB / 1.033 GB, free: 7.891 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 4.051e-05/0.4503, allocations: 3.984 kB / 1.033 GB, free: 7.887 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.4503, allocations: 11.42 kB / 1.033 GB, free: 7.875 MB / 0.6824 GB Notification: Performance of SimCode: time 1.122e-06/0.4503, allocations: 0 / 1.033 GB, free: 7.875 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.4696, allocations: 1.144 MB / 1.034 GB, free: 6.859 MB / 0.6824 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/0.4699, allocations: 178.2 kB / 1.034 GB, free: 6.621 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/2.79, allocations: 0 / 1.034 GB, free: 6.621 MB / 0.6824 GB