Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009236/0.009236, allocations: 110 kB / 15.05 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001142/0.001142, allocations: 183.4 kB / 15.95 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.924/1.924, allocations: 194.5 MB / 211.2 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.227/2.227, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004698, allocations: 20 kB / 0.5869 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6289/0.6294, allocations: 98.71 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1887/0.8181, allocations: 124.6 MB / 0.805 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.8184, allocations: 75.95 kB / 0.805 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003292/0.8217, allocations: 0.9153 MB / 0.8059 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.496e-06/0.8217, allocations: 0 / 0.8059 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.517e-06/0.8217, allocations: 0 / 0.8059 GB, free: 0.7812 MB / 0.6198 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.0004462/0.8222, allocations: 351.2 kB / 0.8063 GB, free: 400 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.8222, allocations: 8.031 kB / 0.8063 GB, free: 392 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.8223, allocations: 3.906 kB / 0.8063 GB, free: 388 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.8224, allocations: 175 kB / 0.8065 GB, free: 172 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.955e-06/0.8225, allocations: 0 / 0.8065 GB, free: 172 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.8225, allocations: 0 / 0.8065 GB, free: 172 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.8227, allocations: 61.66 kB / 0.8065 GB, free: 104 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.8227, allocations: 0 / 0.8065 GB, free: 104 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.8227, allocations: 8 kB / 0.8065 GB, free: 96 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.8227, allocations: 3.938 kB / 0.8065 GB, free: 92 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.823, allocations: 43.91 kB / 0.8066 GB, free: 48 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.8235, allocations: 272.9 kB / 0.8068 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.8236, allocations: 42.56 kB / 0.8069 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004103/0.8241, allocations: 202.2 kB / 0.8071 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.8241, allocations: 34.56 kB / 0.8071 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.019e-06/0.8241, allocations: 0 / 0.8071 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0004231/0.8246, allocations: 101.6 kB / 0.8072 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.8246, allocations: 51.41 kB / 0.8072 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.071e-05/0.8247, allocations: 97.12 kB / 0.8073 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.8248, allocations: 29.64 kB / 0.8074 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.8248, allocations: 92.12 kB / 0.8074 GB, free: 15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.8249, allocations: 3.906 kB / 0.8075 GB, free: 15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-06/0.8249, allocations: 0 / 0.8075 GB, free: 15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.825, allocations: 314.8 kB / 0.8078 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.8251, allocations: 23.98 kB / 0.8078 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.8253, allocations: 23.97 kB / 0.8078 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.8254, allocations: 23.98 kB / 0.8078 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.242e-06/0.8254, allocations: 0 / 0.8078 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002551/0.8256, allocations: 77.67 kB / 0.8079 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.8257, allocations: 7.984 kB / 0.8079 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.8257, allocations: 0 / 0.8079 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.8257, allocations: 4 kB / 0.8079 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.8258, allocations: 8 kB / 0.8079 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.759e-06/0.8259, allocations: 4.031 kB / 0.8079 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.72e-05/0.8259, allocations: 11.89 kB / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.995e-06/0.826, allocations: 4 kB / 0.8079 GB, free: 14.49 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 () * 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 0.0001057/0.8261, allocations: 113.8 kB / 0.808 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.8261, allocations: 0 / 0.808 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.8264, allocations: 92.7 kB / 0.8081 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.556e-06/0.8265, allocations: 4 kB / 0.8081 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.916e-06/0.8265, allocations: 0 / 0.8081 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.375e-06/0.8265, allocations: 0 / 0.8081 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.8267, allocations: 157.6 kB / 0.8083 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.17e-06/0.8267, allocations: 0 / 0.8083 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.401e-05/0.8268, allocations: 15.92 kB / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.222e-06/0.8268, allocations: 4.031 kB / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.883e-06/0.8268, allocations: 4 kB / 0.8083 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.102e-06/0.8269, allocations: 0 / 0.8083 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.45e-06/0.8269, allocations: 0 / 0.8083 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.8272, allocations: 175.5 kB / 0.8085 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.8273, allocations: 84.95 kB / 0.8086 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.8273, allocations: 4 kB / 0.8086 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.8274, allocations: 8.234 kB / 0.8086 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.8274, allocations: 3.938 kB / 0.8086 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.101e-06/0.8275, allocations: 8 kB / 0.8086 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.611e-05/0.8275, allocations: 83.27 kB / 0.8087 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.01e-07/0.8275, allocations: 4.031 kB / 0.8087 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003223/0.8279, allocations: 12 kB / 0.8087 GB, free: 13.63 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 () * 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.0001673/0.8281, allocations: 103.2 kB / 0.8088 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.8283, allocations: 51.95 kB / 0.8088 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.566e-06/0.8283, allocations: 0 / 0.8088 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.8285, allocations: 27.92 kB / 0.8088 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.8287, allocations: 7.953 kB / 0.8089 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.829, allocations: 118 kB / 0.809 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.8294, allocations: 0.6809 MB / 0.8096 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.79e-05/0.8294, allocations: 0 / 0.8096 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.8294, allocations: 11.44 kB / 0.8096 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of SimCode: time 4.537e-06/0.8294, allocations: 0 / 0.8096 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.003007/0.8325, allocations: 0.5173 MB / 0.8101 GB, free: 12.06 MB / 0.6355 GB