Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009851/0.0009853, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.001311, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006004/0.0006006, allocations: 20.5 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2719, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0009526/0.273, allocations: 327.5 kB / 0.7876 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.2746, allocations: 1.11 MB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.2747, allocations: 0 / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.2747, allocations: 0 / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.275, allocations: 19.98 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.559e-06/0.275, allocations: 0 / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.858e-05/0.2751, allocations: 7.938 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.595e-05/0.2752, allocations: 3.984 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.923e-05/0.2752, allocations: 0 / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.26e-05/0.2752, allocations: 0 / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.2753, allocations: 0 / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.2754, allocations: 23.91 kB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.232e-06/0.2754, allocations: 4 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.2754, allocations: 25.7 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.384e-05/0.2755, allocations: 15.98 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2755, allocations: 3.938 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2755, allocations: 0 / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2755, allocations: 0 / 0.7888 GB, free: 10.37 MB / 0.6075 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.0002623/0.2758, allocations: 311.4 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2758, allocations: 8.031 kB / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.2759, allocations: 0 / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.851e-05/0.276, allocations: 171 kB / 0.7893 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.276, allocations: 0 / 0.7893 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.276, allocations: 4 kB / 0.7893 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.763e-05/0.2761, allocations: 37.69 kB / 0.7893 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2761, allocations: 4 kB / 0.7893 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.2762, allocations: 0 / 0.7893 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.2762, allocations: 0 / 0.7893 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.966e-05/0.2762, allocations: 7.984 kB / 0.7893 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.2764, allocations: 161.9 kB / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.2766, allocations: 34.45 kB / 0.7895 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.2766, allocations: 16.94 kB / 0.7895 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.2767, allocations: 81.11 kB / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.2768, allocations: 34.56 kB / 0.7896 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.2768, allocations: 0 / 0.7896 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.003515/0.2803, allocations: 0.5676 MB / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.2803, allocations: 51.41 kB / 0.7902 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.642e-05/0.2804, allocations: 89.86 kB / 0.7903 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.2804, allocations: 25.7 kB / 0.7903 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.2805, allocations: 84.14 kB / 0.7904 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.2805, allocations: 23.78 kB / 0.7904 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/0.2805, allocations: 0 / 0.7904 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.2806, allocations: 314.8 kB / 0.7907 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.2811, allocations: 87.95 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.2816, allocations: 98.47 kB / 0.7909 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.2821, allocations: 87.95 kB / 0.791 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2821, allocations: 0 / 0.791 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0009994/0.2831, allocations: 213.6 kB / 0.7912 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.2832, allocations: 4 kB / 0.7912 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2832, allocations: 192 / 0.7912 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.2832, allocations: 7.938 kB / 0.7912 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.2835, allocations: 56 kB / 0.7913 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.2836, allocations: 4 kB / 0.7913 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.2838, allocations: 39.97 kB / 0.7913 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.2838, allocations: 4 kB / 0.7913 GB, free: 7.539 MB / 0.6075 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.0001146/0.284, allocations: 109.8 kB / 0.7914 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.284, allocations: 11.91 kB / 0.7914 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.2851, allocations: 237 kB / 0.7917 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2852, allocations: 0 / 0.7917 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2852, allocations: 0 / 0.7917 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2852, allocations: 0 / 0.7917 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.2864, allocations: 454.4 kB / 0.7921 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2864, allocations: 3.984 kB / 0.7921 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.2867, allocations: 47.98 kB / 0.7921 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2868, allocations: 0 / 0.7921 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.2868, allocations: 7.984 kB / 0.7922 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2868, allocations: 0 / 0.7922 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2868, allocations: 0 / 0.7922 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.2878, allocations: 303.4 kB / 0.7924 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.2878, allocations: 81.53 kB / 0.7925 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.2879, allocations: 0 / 0.7925 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.2882, allocations: 39.98 kB / 0.7926 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.2882, allocations: 11.86 kB / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.2882, allocations: 4.188 kB / 0.7926 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.851e-05/0.2883, allocations: 79.28 kB / 0.7926 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2883, allocations: 0 / 0.7926 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002614/0.2885, allocations: 12 kB / 0.7927 GB, free: 6.055 MB / 0.6075 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.0002176/0.2888, allocations: 113.9 kB / 0.7928 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.2898, allocations: 180 kB / 0.7929 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2898, allocations: 0 / 0.7929 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004554/0.2903, allocations: 92.02 kB / 0.793 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.2905, allocations: 9.641 kB / 0.793 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009074/0.2914, allocations: 226.6 kB / 0.7933 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.2917, allocations: 0.6809 MB / 0.7939 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002358/0.2919, allocations: 28 kB / 0.7939 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.292, allocations: 15.42 kB / 0.794 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.292, allocations: 0 / 0.794 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of Templates: time 0.002761/0.2948, allocations: 0.7873 MB / 0.7947 GB, free: 3.879 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) Environment - environmentSimulation: