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.42/2.42, allocations: 248.7 MB / 256.2 MB, free: 7.148 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.001515/0.001515, allocations: 171.4 kB / 315.4 MB, free: 4.035 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.179/2.179, allocations: 205.3 MB / 0.5662 GB, free: 0.543 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.001152/0.001152, allocations: 84.45 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.775e-05/3.775e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2222, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8954/1.118, allocations: 131.6 MB / 1.013 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/1.118, allocations: 85.17 kB / 1.013 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003307/1.121, allocations: 0.8344 MB / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/1.121, allocations: 4 kB / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.102e-06/1.122, allocations: 0 / 1.014 GB, free: 6.383 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.0002808/1.122, allocations: 317.8 kB / 1.014 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.122, allocations: 12.03 kB / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/1.122, allocations: 0 / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/1.122, allocations: 167 kB / 1.014 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/1.122, allocations: 0 / 1.014 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/1.122, allocations: 7.984 kB / 1.014 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.731e-05/1.122, allocations: 4 kB / 1.014 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.519e-05/1.122, allocations: 33.64 kB / 1.014 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.122, allocations: 6.625 kB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/1.122, allocations: 0 / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/1.122, allocations: 0 / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/1.122, allocations: 138.1 kB / 1.014 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/1.123, allocations: 26.58 kB / 1.014 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/1.123, allocations: 12.8 kB / 1.014 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/1.123, allocations: 85.23 kB / 1.014 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/1.123, allocations: 34.56 kB / 1.014 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.974e-06/1.123, allocations: 1.031 kB / 1.014 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.004559/1.128, allocations: 356.8 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/1.128, allocations: 51.41 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.141e-05/1.128, allocations: 85 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/1.128, allocations: 29.7 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/1.128, allocations: 84.14 kB / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/1.128, allocations: 15.7 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/1.128, allocations: 0 / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.128, allocations: 314.8 kB / 1.015 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/1.128, allocations: 8 kB / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.34e-05/1.128, allocations: 29.95 kB / 1.015 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/1.128, allocations: 23.91 kB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.128, allocations: 3.953 kB / 1.015 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003091/1.129, allocations: 65.48 kB / 1.015 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.129, allocations: 4 kB / 1.015 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/1.129, allocations: 4 kB / 1.015 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.129, allocations: 3.938 kB / 1.015 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/1.13, allocations: 48.34 kB / 1.015 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.13, allocations: 4.938 kB / 1.015 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/1.13, allocations: 35.98 kB / 1.015 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/1.13, allocations: 7.984 kB / 1.015 GB, free: 4.215 MB / 0.6355 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 () * 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.0001091/1.13, allocations: 107.2 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000316/1.131, allocations: 73.44 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/1.131, allocations: 0 / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/1.131, allocations: 86.42 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/1.131, allocations: 0 / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.131, allocations: 4 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.131, allocations: 0 / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006164/1.132, allocations: 301.1 kB / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.132, allocations: 0 / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/1.133, allocations: 47.84 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.133, allocations: 4 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/1.133, allocations: 0 / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.133, allocations: 0 / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.133, allocations: 4 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/1.133, allocations: 155.2 kB / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/1.133, allocations: 77.11 kB / 1.016 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/1.133, allocations: 4 kB / 1.016 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/1.134, allocations: 39.97 kB / 1.016 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/1.134, allocations: 7.938 kB / 1.016 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/1.134, allocations: 0.875 kB / 1.016 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.728e-05/1.134, allocations: 79.28 kB / 1.016 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/1.134, allocations: 0 / 1.016 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003596/1.134, allocations: 15.94 kB / 1.016 GB, free: 3.164 MB / 0.6355 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 (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.0007487/1.135, allocations: 0.6924 MB / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002007/1.135, allocations: 35.8 kB / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.135, allocations: 0 / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/1.135, allocations: 11.94 kB / 1.017 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/1.136, allocations: 8.609 kB / 1.017 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/1.137, allocations: 134.6 kB / 1.017 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/1.137, allocations: 0.6807 MB / 1.018 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003796/1.138, allocations: 31.94 kB / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/1.138, allocations: 11.44 kB / 1.018 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/1.138, allocations: 0 / 1.018 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0366/1.174, allocations: 1.13 MB / 1.019 GB, free: 376 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000318/1.175, allocations: 174.3 kB / 1.019 GB, free: 172 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/3.449, allocations: 0 / 1.019 GB, free: 172 kB / 0.6355 GB