Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001374/0.001374, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001679/0.001679, allocations: 198.5 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 275.1 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9389/0.9389, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 97.3 kB / 0.5945 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1679, allocations: 86.99 MB / 0.6795 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00169/0.1696, allocations: 0.6534 MB / 0.6801 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.1708, allocations: 1.105 MB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.193e-05/0.1708, allocations: 0 / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.1708, allocations: 0 / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.171, allocations: 15.94 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.384e-06/0.171, allocations: 0 / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.672e-05/0.1711, allocations: 0 / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.1711, allocations: 7.984 kB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.228e-05/0.1711, allocations: 3.984 kB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.941e-05/0.1711, allocations: 3.938 kB / 0.6812 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.953e-06/0.1711, allocations: 0 / 0.6812 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.935e-05/0.1712, allocations: 19.92 kB / 0.6812 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.891e-06/0.1713, allocations: 8 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.139e-05/0.1713, allocations: 0 / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.517e-05/0.1713, allocations: 19.97 kB / 0.6812 GB, free: 15.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1713, allocations: 0 / 0.6812 GB, free: 15.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1714, allocations: 0 / 0.6812 GB, free: 15.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.976e-06/0.1714, allocations: 3.938 kB / 0.6812 GB, free: 15.32 MB / 494.1 MB 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.0002376/0.1716, allocations: 319.6 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.1716, allocations: 8.031 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.471e-05/0.1717, allocations: 0.9375 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.443e-05/0.1718, allocations: 168.6 kB / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.1718, allocations: 384 / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.1718, allocations: 4.375 kB / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.078e-05/0.1719, allocations: 38 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1719, allocations: 4 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.1719, allocations: 0 / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1719, allocations: 0 / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.936e-05/0.172, allocations: 4 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.1721, allocations: 157.6 kB / 0.6819 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.1723, allocations: 42.48 kB / 0.682 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.1723, allocations: 8.859 kB / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.1724, allocations: 81.11 kB / 0.682 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.1725, allocations: 42.58 kB / 0.6821 GB, free: 14.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1725, allocations: 0 / 0.6821 GB, free: 14.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.004328/0.1768, allocations: 0.5676 MB / 0.6826 GB, free: 13.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.1769, allocations: 51.41 kB / 0.6827 GB, free: 13.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.405e-05/0.1769, allocations: 93.86 kB / 0.6828 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1769, allocations: 25.7 kB / 0.6828 GB, free: 13.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.75e-05/0.177, allocations: 84.14 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.177, allocations: 15.81 kB / 0.6829 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.1771, allocations: 21.7 kB / 0.6829 GB, free: 13.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.863e-05/0.1772, allocations: 310.8 kB / 0.6832 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.1778, allocations: 83.95 kB / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.1783, allocations: 102.5 kB / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.1795, allocations: 190.4 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1795, allocations: 0 / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00121/0.1807, allocations: 217.7 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1807, allocations: 8 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1808, allocations: 0 / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1808, allocations: 4.422 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.1812, allocations: 52 kB / 0.6838 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1812, allocations: 7.875 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.1815, allocations: 43.97 kB / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.1815, allocations: 0 / 0.6839 GB, free: 12.35 MB / 494.1 MB 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 9.394e-05/0.1816, allocations: 115.2 kB / 0.684 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.1817, allocations: 3.938 kB / 0.684 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.183, allocations: 241 kB / 0.6842 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.183, allocations: 4 kB / 0.6842 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.183, allocations: 0 / 0.6842 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.183, allocations: 0 / 0.6842 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.1845, allocations: 462.3 kB / 0.6847 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1845, allocations: 0 / 0.6847 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.1849, allocations: 51.97 kB / 0.6847 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1849, allocations: 0 / 0.6847 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.1849, allocations: 11.98 kB / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1849, allocations: 0 / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1849, allocations: 0 / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.1862, allocations: 303.3 kB / 0.685 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.1862, allocations: 81.09 kB / 0.6851 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1862, allocations: 0 / 0.6851 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.1866, allocations: 39.98 kB / 0.6851 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.1866, allocations: 11.92 kB / 0.6852 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.1866, allocations: 192 / 0.6852 GB, free: 10.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.525e-05/0.1867, allocations: 83.28 kB / 0.6852 GB, free: 10.87 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1867, allocations: 0 / 0.6852 GB, free: 10.87 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1869, allocations: 12 kB / 0.6853 GB, free: 10.86 MB / 494.1 MB 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.0001686/0.1871, allocations: 99.25 kB / 0.6853 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.1884, allocations: 191.8 kB / 0.6855 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1884, allocations: 0 / 0.6855 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005722/0.189, allocations: 92.08 kB / 0.6856 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.1892, allocations: 0 / 0.6856 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.1903, allocations: 230.6 kB / 0.6858 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.1905, allocations: 0.677 MB / 0.6865 GB, free: 9.516 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002307/0.1908, allocations: 31.91 kB / 0.6865 GB, free: 9.484 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.1908, allocations: 11.44 kB / 0.6865 GB, free: 9.473 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1908, allocations: 0 / 0.6865 GB, free: 9.473 MB / 494.1 MB Notification: Performance of Templates: time 0.002822/0.1937, allocations: 0.8038 MB / 0.6873 GB, free: 8.68 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)