Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.517/1.517, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 179.5 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008925/0.0008921, allocations: 85.25 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003533, allocations: 15.97 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.28, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0009854/0.2811, allocations: 339.2 kB / 0.8971 GB, free: 67.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.283, allocations: 1.149 MB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.2831, allocations: 3.938 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.2831, allocations: 0 / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.2835, allocations: 19.92 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.33e-06/0.2835, allocations: 0 / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.037e-05/0.2836, allocations: 7.938 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.444e-05/0.2836, allocations: 3.984 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.197e-05/0.2837, allocations: 4 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.573e-05/0.2837, allocations: 0 / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.2837, allocations: 0 / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.2839, allocations: 27.92 kB / 0.8983 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.356e-06/0.2839, allocations: 0 / 0.8983 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.2839, allocations: 7.922 kB / 0.8983 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.692e-05/0.2841, allocations: 7.984 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.2841, allocations: 0 / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 5.039e-06/0.2841, allocations: 0 / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.2841, allocations: 0 / 0.8983 GB, free: 66.62 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.0003664/0.2845, allocations: 319.7 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.2845, allocations: 12.09 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.2846, allocations: 0.9375 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.998e-05/0.2847, allocations: 168.4 kB / 0.8988 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.2847, allocations: 384 / 0.8988 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.2848, allocations: 4.375 kB / 0.8988 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.2849, allocations: 41.94 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.285, allocations: 4 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.285, allocations: 0 / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.285, allocations: 3.984 kB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.676e-05/0.2851, allocations: 8 kB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.2853, allocations: 145.7 kB / 0.899 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.2855, allocations: 34.58 kB / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.2856, allocations: 12.94 kB / 0.899 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.2857, allocations: 85.05 kB / 0.8991 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.2858, allocations: 38.5 kB / 0.8991 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2858, allocations: 0 / 0.8991 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.004052/0.2898, allocations: 0.5638 MB / 0.8997 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.2899, allocations: 59.41 kB / 0.8997 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.773e-05/0.2899, allocations: 89.86 kB / 0.8998 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.29, allocations: 25.7 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.84e-05/0.29, allocations: 80.14 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.29, allocations: 23.64 kB / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.2901, allocations: 13.72 kB / 0.8999 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.2902, allocations: 310.8 kB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/0.2907, allocations: 91.89 kB / 0.9003 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.2912, allocations: 102.5 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.2923, allocations: 190.4 kB / 0.9006 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2923, allocations: 0 / 0.9006 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001054/0.2933, allocations: 217.5 kB / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.2934, allocations: 8 kB / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2934, allocations: 0 / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2934, allocations: 0 / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.2937, allocations: 52 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2937, allocations: 0 / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.294, allocations: 47.97 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.2941, allocations: 0 / 0.9009 GB, free: 63.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.907e-05/0.2941, allocations: 113.8 kB / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.2942, allocations: 3.938 kB / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.2953, allocations: 237.1 kB / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2953, allocations: 4 kB / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2953, allocations: 0 / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2954, allocations: 3.984 kB / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.2967, allocations: 458.7 kB / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2967, allocations: 0 / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.297, allocations: 51.97 kB / 0.9018 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2971, allocations: 0 / 0.9018 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2971, allocations: 4 kB / 0.9018 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2971, allocations: 4 kB / 0.9018 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2971, allocations: 0 / 0.9018 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.2982, allocations: 307.2 kB / 0.9021 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.2982, allocations: 81.11 kB / 0.9021 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.2982, allocations: 432 / 0.9021 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.2986, allocations: 43.98 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.2986, allocations: 3.984 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.2986, allocations: 0 / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.619e-05/0.2986, allocations: 79.28 kB / 0.9023 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2986, allocations: 4 kB / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002229/0.2989, allocations: 8 kB / 0.9023 GB, free: 62.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001857/0.299, allocations: 99.25 kB / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.3001, allocations: 195.8 kB / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.3002, allocations: 0 / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005072/0.3007, allocations: 88.08 kB / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.3009, allocations: 0 / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.3019, allocations: 244.4 kB / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.3021, allocations: 0.6809 MB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.06e-05/0.3022, allocations: 11.44 kB / 0.9035 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.3022, allocations: 3.938 kB / 0.9035 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.002579/0.3048, allocations: 1.103 MB / 0.9046 GB, free: 59.7 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)