Running: ./testmodel.py --libraries=/var/lib/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 (/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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.281/2.281, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 176.3 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.462/2.462, allocations: 205.4 MB / 0.5766 GB, free: 21.13 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 96 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004799, allocations: 16.56 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2283, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007951/0.2291, allocations: 333.3 kB / 0.8992 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.2307, allocations: 1.116 MB / 0.9003 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.2307, allocations: 0 / 0.9003 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.2308, allocations: 0 / 0.9003 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.231, allocations: 19.91 kB / 0.9003 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.496e-06/0.231, allocations: 0 / 0.9003 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.677e-05/0.2311, allocations: 4 kB / 0.9003 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.2312, allocations: 0 / 0.9003 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.786e-05/0.2312, allocations: 3.984 kB / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.01e-05/0.2312, allocations: 7.938 kB / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.935e-06/0.2312, allocations: 0 / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.2314, allocations: 27.91 kB / 0.9004 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.151e-06/0.2314, allocations: 3.984 kB / 0.9004 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.2314, allocations: 25.7 kB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.775e-05/0.2315, allocations: 7.938 kB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2315, allocations: 0 / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2315, allocations: 0 / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2315, allocations: 0 / 0.9004 GB, free: 64.36 MB / 0.6042 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.0002311/0.2318, allocations: 319.4 kB / 0.9007 GB, free: 64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2318, allocations: 8.031 kB / 0.9007 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.2318, allocations: 7.859 kB / 0.9007 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.425e-05/0.2319, allocations: 163.1 kB / 0.9009 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.2319, allocations: 4 kB / 0.9009 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.232, allocations: 0 / 0.9009 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.2321, allocations: 37.69 kB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2321, allocations: 0 / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.2321, allocations: 0 / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2321, allocations: 3.938 kB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.424e-05/0.2322, allocations: 7.984 kB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.2323, allocations: 153.6 kB / 0.9011 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.2326, allocations: 34.61 kB / 0.9011 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.2327, allocations: 81.11 kB / 0.9012 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.2328, allocations: 38.64 kB / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.2328, allocations: 0 / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.007217/0.24, allocations: 0.5603 MB / 0.9018 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.2401, allocations: 59.33 kB / 0.9018 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.511e-05/0.2401, allocations: 97.8 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.2402, allocations: 25.7 kB / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.775e-05/0.2402, allocations: 80.14 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.2402, allocations: 23.66 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.2403, allocations: 0 / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.2403, allocations: 318.7 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.2414, allocations: 83.95 kB / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.2424, allocations: 114.6 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.2435, allocations: 83.95 kB / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2435, allocations: 4 kB / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00218/0.2457, allocations: 205.6 kB / 0.9028 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.2458, allocations: 8 kB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2458, allocations: 0 / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.2458, allocations: 0 / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006852/0.2465, allocations: 52 kB / 0.9029 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.2465, allocations: 7.922 kB / 0.9029 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007137/0.2473, allocations: 39.98 kB / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.2473, allocations: 4 kB / 0.9029 GB, free: 61.53 MB / 0.6042 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.0001031/0.2474, allocations: 113.8 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.2475, allocations: 0 / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.2498, allocations: 245.1 kB / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.2499, allocations: 0 / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.2499, allocations: 4 kB / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2499, allocations: 0 / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.2524, allocations: 462.4 kB / 0.9037 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.2525, allocations: 0 / 0.9037 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006717/0.2532, allocations: 47.97 kB / 0.9037 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.2532, allocations: 0 / 0.9037 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.2532, allocations: 0 / 0.9037 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.2532, allocations: 4 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2533, allocations: 0 / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.2555, allocations: 307.2 kB / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.2556, allocations: 77.11 kB / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.2556, allocations: 8 kB / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006295/0.2562, allocations: 40.28 kB / 0.9042 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.2563, allocations: 8 kB / 0.9042 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.2563, allocations: 4 kB / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.92e-05/0.2563, allocations: 75.28 kB / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2563, allocations: 0 / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003337/0.2567, allocations: 15.95 kB / 0.9043 GB, free: 60.04 MB / 0.6042 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.0001821/0.2569, allocations: 111.2 kB / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002136/0.259, allocations: 180 kB / 0.9045 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.2591, allocations: 3.938 kB / 0.9045 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.2601, allocations: 88.02 kB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.2603, allocations: 1.375 kB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.2621, allocations: 218.7 kB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.2623, allocations: 0.6809 MB / 0.9055 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003672/0.2627, allocations: 28 kB / 0.9055 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.2628, allocations: 15.44 kB / 0.9055 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of SimCode: time 1.142e-06/0.2628, allocations: 0 / 0.9055 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.003487/0.2663, allocations: 0.7929 MB / 0.9063 GB, free: 57.88 MB / 0.6042 GB