Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.267/2.267, allocations: 251 MB / 265.9 MB, free: 11.72 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.001471/0.00147, allocations: 178.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.327/2.327, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001218/0.001217, allocations: 95.22 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005299/0.0005296, allocations: 14.72 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2289, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/0.4547, allocations: 131.4 MB / 1.027 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003954/0.4552, allocations: 83.94 kB / 1.027 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003807/0.459, allocations: 0.8514 MB / 1.028 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4591, allocations: 0 / 1.028 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.4591, allocations: 4 kB / 1.028 GB, free: 12.91 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.0002997/0.4594, allocations: 319.5 kB / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.4594, allocations: 12.03 kB / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.348e-05/0.4595, allocations: 30.56 kB / 1.028 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.4595, allocations: 3.906 kB / 1.028 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.4597, allocations: 167 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4597, allocations: 3.984 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.4597, allocations: 8 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.4598, allocations: 33.7 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4599, allocations: 0 / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.976e-06/0.4599, allocations: 0 / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4599, allocations: 0 / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.589e-05/0.4599, allocations: 7.984 kB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.4601, allocations: 157.6 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.4603, allocations: 38.55 kB / 1.029 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.4605, allocations: 89.19 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.4606, allocations: 30.56 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.4606, allocations: 0 / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.007665/0.4683, allocations: 0.5598 MB / 1.029 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.4684, allocations: 55.41 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.633e-05/0.4684, allocations: 85 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.4685, allocations: 25.7 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.4685, allocations: 84.14 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.4686, allocations: 15.72 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.4686, allocations: 7.938 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.4687, allocations: 318.8 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.4698, allocations: 79.95 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.4709, allocations: 110.5 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.472, allocations: 87.89 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.472, allocations: 0 / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002298/0.4743, allocations: 213.6 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.4744, allocations: 5.719 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.4744, allocations: 3.984 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.4744, allocations: 4 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/0.4752, allocations: 48 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.4752, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.4758, allocations: 39.98 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.4759, allocations: 4 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.000141/0.476, allocations: 114.7 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.4761, allocations: 3.984 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.4785, allocations: 245.7 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.4786, allocations: 0 / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4786, allocations: 0 / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4786, allocations: 0 / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/0.4812, allocations: 462.3 kB / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.4812, allocations: 3.984 kB / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007014/0.4819, allocations: 47.97 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.482, allocations: 4 kB / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.482, allocations: 0 / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.482, allocations: 0 / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.482, allocations: 4 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.4844, allocations: 311.3 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.4844, allocations: 77.11 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.4845, allocations: 0 / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/0.4852, allocations: 43.97 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.778e-05/0.4852, allocations: 0 / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.4852, allocations: 4 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.697e-05/0.4853, allocations: 79.22 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4853, allocations: 4 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003483/0.4857, allocations: 12 kB / 1.032 GB, free: 8.57 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 (5): * Single equations (assignments): 5 * 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.002698/0.4884, allocations: 0.8412 MB / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002241/0.4906, allocations: 179.9 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.4907, allocations: 4 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.4917, allocations: 84.33 kB / 1.033 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.4919, allocations: 7.938 kB / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.4941, allocations: 256.3 kB / 1.033 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.4944, allocations: 0.677 MB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003729/0.4948, allocations: 28 kB / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.4949, allocations: 16.88 kB / 1.034 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/0.4949, allocations: 0 / 1.034 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.5186, allocations: 1.42 MB / 1.035 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003534/0.519, allocations: 202.7 kB / 1.036 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.86, allocations: 4.438 kB / 1.036 GB, free: 4.902 MB / 0.6823 GB