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.009341/0.009345, allocations: 107 kB / 15.06 MB, free: 5.602 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.001993/0.001993, allocations: 184.9 kB / 15.95 MB, free: 5.547 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 2.084/2.084, allocations: 194.6 MB / 211.3 MB, free: 11 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.251/2.251, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004793, allocations: 12 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5428, allocations: 98.7 MB / 0.6833 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001497/0.5443, allocations: 1.143 MB / 0.6844 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0002944/0.5447, allocations: 125.4 kB / 0.6846 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.5447, allocations: 0 / 0.6846 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.5447, allocations: 1.156 kB / 0.6846 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.388e-05/0.5448, allocations: 4.734 kB / 0.6846 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.545, allocations: 22.66 kB / 0.6846 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 4.805e-05/0.545, allocations: 19 kB / 0.6846 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.464e-05/0.5451, allocations: 4 kB / 0.6846 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.475e-05/0.5452, allocations: 5.438 kB / 0.6846 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.262e-05/0.5452, allocations: 12.98 kB / 0.6846 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.5452, allocations: 1.281 kB / 0.6846 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.978e-05/0.5453, allocations: 23.91 kB / 0.6847 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.5454, allocations: 4.938 kB / 0.6847 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.5454, allocations: 27.14 kB / 0.6847 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 8.897e-05/0.5455, allocations: 31.84 kB / 0.6847 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.5455, allocations: 0 / 0.6847 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.632e-06/0.5455, allocations: 3.938 kB / 0.6847 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.5455, allocations: 1.438 kB / 0.6847 GB, free: 15.59 MB / 0.5261 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.000353/0.5459, allocations: 337.7 kB / 0.685 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.5459, allocations: 9.062 kB / 0.6851 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.546, allocations: 6.188 kB / 0.6851 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.69e-05/0.5461, allocations: 174 kB / 0.6852 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.5461, allocations: 1.219 kB / 0.6852 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.5461, allocations: 9.188 kB / 0.6852 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.5463, allocations: 48.61 kB / 0.6853 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.5463, allocations: 0 / 0.6853 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.5464, allocations: 6.562 kB / 0.6853 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.5464, allocations: 0 / 0.6853 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.5466, allocations: 46.69 kB / 0.6853 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.5469, allocations: 247 kB / 0.6856 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.5471, allocations: 51.72 kB / 0.6856 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004391/0.5475, allocations: 214.9 kB / 0.6858 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.5475, allocations: 32.59 kB / 0.6859 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.115e-06/0.5476, allocations: 0 / 0.6859 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000424/0.548, allocations: 98.48 kB / 0.6859 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.548, allocations: 52.16 kB / 0.686 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.996e-05/0.5481, allocations: 106.8 kB / 0.6861 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.752e-06/0.5481, allocations: 29.64 kB / 0.6861 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.5482, allocations: 90.31 kB / 0.6862 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.5482, allocations: 5.75 kB / 0.6862 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-06/0.5482, allocations: 0 / 0.6862 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.068e-05/0.5483, allocations: 317 kB / 0.6865 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.5484, allocations: 23.06 kB / 0.6865 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.723e-05/0.5485, allocations: 19.97 kB / 0.6866 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.5486, allocations: 26.92 kB / 0.6866 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5486, allocations: 0 / 0.6866 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002553/0.5489, allocations: 78.34 kB / 0.6867 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.5489, allocations: 4.031 kB / 0.6867 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.562e-06/0.5489, allocations: 5.219 kB / 0.6867 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.549, allocations: 4.828 kB / 0.6867 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.5491, allocations: 10.97 kB / 0.6867 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.5491, allocations: 0.7031 kB / 0.6867 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.377e-05/0.5492, allocations: 9.078 kB / 0.6867 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.5492, allocations: 9.391 kB / 0.6867 GB, free: 13.71 MB / 0.5261 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 5.976e-05/0.5492, allocations: 119.6 kB / 0.6868 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.5493, allocations: 2.047 kB / 0.6868 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.5496, allocations: 77.67 kB / 0.6869 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.833e-06/0.5496, allocations: 0 / 0.6869 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.813e-06/0.5496, allocations: 1 kB / 0.6869 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.5496, allocations: 4.594 kB / 0.6869 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.5498, allocations: 164.7 kB / 0.6871 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.5498, allocations: 0 / 0.6871 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.052e-05/0.5499, allocations: 11.7 kB / 0.6871 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.166e-06/0.5499, allocations: 1.219 kB / 0.6871 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.002e-06/0.5499, allocations: 0 / 0.6871 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.5499, allocations: 1.656 kB / 0.6871 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.736e-06/0.55, allocations: 0 / 0.6871 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.5502, allocations: 184.8 kB / 0.6872 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.5503, allocations: 82.56 kB / 0.6873 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.5503, allocations: 1.781 kB / 0.6873 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.5504, allocations: 12.2 kB / 0.6873 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.5505, allocations: 2.969 kB / 0.6873 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-06/0.5505, allocations: 1.406 kB / 0.6873 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.192e-05/0.5505, allocations: 80.45 kB / 0.6874 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.32e-07/0.5505, allocations: 0 / 0.6874 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003173/0.5509, allocations: 11.34 kB / 0.6874 GB, free: 13.02 MB / 0.5261 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.0001438/0.551, allocations: 108.1 kB / 0.6875 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.5513, allocations: 52.55 kB / 0.6876 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.5513, allocations: 0 / 0.6876 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.5515, allocations: 34.42 kB / 0.6876 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.5517, allocations: 11.47 kB / 0.6876 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.552, allocations: 111.2 kB / 0.6877 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.5521, allocations: 0.6787 MB / 0.6884 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.348e-05/0.5521, allocations: 1.312 kB / 0.6884 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.5522, allocations: 9.312 kB / 0.6884 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of SimCode: time 1.475e-06/0.5522, allocations: 4.062 kB / 0.6884 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.003/0.5552, allocations: 0.5434 MB / 0.6889 GB, free: 12 MB / 0.5261 GB