Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.907/4.907, allocations: 0.5623 GB / 0.5775 GB, free: 3.355 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002566/0.002566, allocations: 352.8 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.628/4.628, allocations: 410.7 MB / 1.113 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00287/0.00287, allocations: 188.2 kB / 1.226 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004908, allocations: 12 kB / 1.349 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7302/0.7308, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.9305, allocations: 137.8 MB / 1.596 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.9309, allocations: 84.47 kB / 1.596 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.002948/0.9338, allocations: 0.8494 MB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9339, allocations: 0 / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.9339, allocations: 0.6562 kB / 1.597 GB, free: 145.6 MB / 0.8542 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.0002093/0.9341, allocations: 320.7 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.9342, allocations: 15.62 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.9342, allocations: 0 / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.207e-05/0.9343, allocations: 167.7 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.9343, allocations: 2.531 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.9343, allocations: 4.75 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.793e-05/0.9345, allocations: 34.19 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.9345, allocations: 4 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.9345, allocations: 1.938 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.9345, allocations: 0 / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.047e-05/0.9346, allocations: 7.938 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001311/0.9347, allocations: 161.6 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.9349, allocations: 36.45 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.9349, allocations: 8.859 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.9351, allocations: 81.73 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.9351, allocations: 31.34 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.485e-06/0.9352, allocations: 0 / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5): time 0.007092/0.9423, allocations: 0.5772 MB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.9423, allocations: 51.41 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.472e-05/0.9424, allocations: 92.45 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.9424, allocations: 25.7 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.71e-05/0.9424, allocations: 80.14 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.9425, allocations: 19.8 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.9425, allocations: 0 / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.9426, allocations: 317.6 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.9436, allocations: 86.73 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.9447, allocations: 106.3 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.9457, allocations: 83.02 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9457, allocations: 0 / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002176/0.9479, allocations: 215.2 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.9479, allocations: 8.844 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.948, allocations: 0 / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.948, allocations: 1.125 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006801/0.9487, allocations: 52.12 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.9487, allocations: 4 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.9493, allocations: 44.09 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.9493, allocations: 0 / 1.599 GB, free: 142.8 MB / 0.8542 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 9.502e-05/0.9494, allocations: 124 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.9495, allocations: 0 / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.9518, allocations: 233.6 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.9519, allocations: 4 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9519, allocations: 0.6875 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.9519, allocations: 3.984 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.9543, allocations: 460.7 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.9543, allocations: 0 / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.955, allocations: 46.91 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.955, allocations: 1 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.9551, allocations: 0 / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.9551, allocations: 4 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.9551, allocations: 1.594 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.9572, allocations: 305.5 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.9573, allocations: 78.77 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.9573, allocations: 7.938 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006216/0.958, allocations: 38.77 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.958, allocations: 12.55 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.958, allocations: 0 / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.015e-05/0.9581, allocations: 76.12 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9581, allocations: 0 / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003683/0.9585, allocations: 26.59 kB / 1.601 GB, free: 141.4 MB / 0.8542 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.0001947/0.9587, allocations: 99.25 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002166/0.9608, allocations: 176.1 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.9609, allocations: 3.688 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.9619, allocations: 95.45 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.9623, allocations: 9.672 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.9641, allocations: 213.9 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.9643, allocations: 0.677 MB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003792/0.9647, allocations: 34.36 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.9648, allocations: 11.44 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.011e-06/0.9648, allocations: 1.25 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.003477/0.9683, allocations: 0.7981 MB / 1.603 GB, free: 139.4 MB / 0.8542 GB