Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.728/1.728, allocations: 287.5 MB / 302.6 MB, free: 8.266 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.0009839/0.0009841, allocations: 178.2 kB / 371.2 MB, free: 10.83 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.791/1.791, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0009776/0.0009778, allocations: 97.81 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004083, allocations: 16.25 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2344, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007683/0.2352, allocations: 327.5 kB / 0.979 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.2365, allocations: 1.113 MB / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.417e-05/0.2365, allocations: 0 / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.039e-05/0.2365, allocations: 0 / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.2368, allocations: 15.98 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.2368, allocations: 0 / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.118e-05/0.2369, allocations: 3.938 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.362e-05/0.2369, allocations: 7.984 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.714e-05/0.2369, allocations: 4 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.846e-05/0.237, allocations: 0 / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.237, allocations: 0 / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.2371, allocations: 19.92 kB / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.811e-06/0.2371, allocations: 3.984 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.358e-05/0.2371, allocations: 25.7 kB / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.862e-05/0.2372, allocations: 4 kB / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2372, allocations: 7.984 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2372, allocations: 0 / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.2372, allocations: 0 / 0.9802 GB, free: 26.62 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.000213/0.2375, allocations: 315.6 kB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.3e-05/0.2375, allocations: 12.09 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.2376, allocations: 0.9375 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.21e-05/0.2376, allocations: 160.4 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.2376, allocations: 8.297 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.2377, allocations: 4.375 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.791e-05/0.2378, allocations: 34.02 kB / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2378, allocations: 3.938 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.2378, allocations: 7.938 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2378, allocations: 4 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.638e-05/0.2379, allocations: 7.984 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.238, allocations: 153.9 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.2382, allocations: 34.55 kB / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.2382, allocations: 8.859 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.2383, allocations: 89.17 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.2384, allocations: 38.5 kB / 0.981 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.2384, allocations: 0 / 0.981 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.003762/0.2422, allocations: 0.5676 MB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.2422, allocations: 55.41 kB / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.949e-05/0.2422, allocations: 89.86 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.2422, allocations: 25.7 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.049e-05/0.2423, allocations: 80.14 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.2423, allocations: 15.8 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.2423, allocations: 4 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.467e-05/0.2424, allocations: 314.8 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/0.2429, allocations: 79.95 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/0.2434, allocations: 102.5 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009837/0.2444, allocations: 194.4 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2444, allocations: 0 / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001056/0.2455, allocations: 213.5 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.2455, allocations: 4 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.2455, allocations: 0 / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.2455, allocations: 4 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.2459, allocations: 48.19 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.2459, allocations: 0 / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.2462, allocations: 51.92 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.2462, allocations: 7.984 kB / 0.9828 GB, free: 23.68 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.18e-05/0.2463, allocations: 109.8 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.2463, allocations: 11.84 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.2475, allocations: 237.1 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2475, allocations: 0 / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2475, allocations: 0 / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2475, allocations: 0 / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.2488, allocations: 466.3 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2488, allocations: 0 / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.2492, allocations: 51.97 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2492, allocations: 0 / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.2492, allocations: 0 / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2492, allocations: 3.984 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2492, allocations: 0 / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.2503, allocations: 307.3 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.2503, allocations: 85.09 kB / 0.984 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.2504, allocations: 0 / 0.984 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.2507, allocations: 43.98 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.2507, allocations: 0 / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.2507, allocations: 7.984 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.425e-05/0.2508, allocations: 75.28 kB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2508, allocations: 0 / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002238/0.251, allocations: 8 kB / 0.9842 GB, free: 22.2 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.0001634/0.2512, allocations: 107.2 kB / 0.9843 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.2523, allocations: 196 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2523, allocations: 0 / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.2528, allocations: 88.08 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.253, allocations: 6.234 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.254, allocations: 218.6 kB / 0.9847 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.2541, allocations: 0.677 MB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002211/0.2544, allocations: 32.19 kB / 0.9854 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.2544, allocations: 7.438 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2544, allocations: 3.938 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.002589/0.257, allocations: 0.7932 MB / 0.9862 GB, free: 20.03 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)