Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.74/1.74, allocations: 288.3 MB / 303.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 181 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.4 MB / 0.6306 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 92.3 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004085, allocations: 17.25 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2398, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007409/0.2406, allocations: 330 kB / 0.9797 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.2418, allocations: 1.108 MB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.2418, allocations: 0 / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.164e-05/0.2419, allocations: 0 / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.2421, allocations: 23.84 kB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.867e-06/0.2421, allocations: 0 / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.947e-05/0.2422, allocations: 4 kB / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.2422, allocations: 4 kB / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.658e-05/0.2423, allocations: 3.984 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.86e-05/0.2423, allocations: 4 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.2423, allocations: 0 / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.789e-05/0.2424, allocations: 15.98 kB / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.03e-06/0.2424, allocations: 3.938 kB / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.2424, allocations: 25.7 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.561e-05/0.2425, allocations: 11.97 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2425, allocations: 0 / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2425, allocations: 11.94 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2425, allocations: 0 / 0.9809 GB, free: 26.14 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.0002271/0.2428, allocations: 311.4 kB / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2428, allocations: 16.08 kB / 0.9812 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.2429, allocations: 0 / 0.9812 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.335e-05/0.2429, allocations: 163 kB / 0.9814 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2429, allocations: 4 kB / 0.9814 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.243, allocations: 7.938 kB / 0.9814 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.936e-05/0.2431, allocations: 33.69 kB / 0.9814 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2431, allocations: 8 kB / 0.9814 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.2431, allocations: 0 / 0.9814 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2431, allocations: 0 / 0.9814 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.09e-05/0.2432, allocations: 11.94 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.2433, allocations: 153.8 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.2435, allocations: 34.61 kB / 0.9816 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.2436, allocations: 85.09 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.2437, allocations: 38.56 kB / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.2437, allocations: 0 / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.00397/0.2476, allocations: 0.5677 MB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.2477, allocations: 51.41 kB / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.73e-05/0.2477, allocations: 89.86 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.2477, allocations: 29.7 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.212e-05/0.2478, allocations: 84.08 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.2478, allocations: 15.8 kB / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.2478, allocations: 0 / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.2479, allocations: 322.8 kB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.2484, allocations: 79.95 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005563/0.249, allocations: 102.5 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005729/0.2496, allocations: 83.95 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2496, allocations: 0 / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001163/0.2508, allocations: 213.6 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2508, allocations: 9.781 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2508, allocations: 0 / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2508, allocations: 4 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.2512, allocations: 47.97 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2512, allocations: 0 / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.2515, allocations: 43.97 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.2516, allocations: 4 kB / 0.9834 GB, free: 23.32 MB / 0.6198 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 6.537e-05/0.2516, allocations: 117.7 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.2517, allocations: 7.906 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.2529, allocations: 229.1 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.253, allocations: 0 / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.253, allocations: 7.938 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.253, allocations: 7.922 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.2544, allocations: 458.4 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2545, allocations: 0 / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.2548, allocations: 51.97 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2548, allocations: 0 / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.2549, allocations: 4.312 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2549, allocations: 4 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2549, allocations: 0 / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.2561, allocations: 311.3 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.2561, allocations: 77.11 kB / 0.9847 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.2561, allocations: 0 / 0.9847 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.2565, allocations: 39.98 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.2565, allocations: 3.984 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.2565, allocations: 4 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.509e-05/0.2566, allocations: 75.28 kB / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2566, allocations: 0 / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000241/0.2568, allocations: 12 kB / 0.9848 GB, free: 21.84 MB / 0.6198 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.0001498/0.257, allocations: 111.2 kB / 0.9849 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.2582, allocations: 179.9 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2582, allocations: 0 / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005585/0.2588, allocations: 92.08 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.2589, allocations: 3.953 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.26, allocations: 214.7 kB / 0.9854 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.2601, allocations: 0.677 MB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002176/0.2603, allocations: 28.23 kB / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.2604, allocations: 15.38 kB / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.2604, allocations: 4 kB / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of Templates: time 0.002546/0.2629, allocations: 0.7875 MB / 0.9868 GB, free: 19.69 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)