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.0009566/0.0009566, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.0009791/0.0009791, allocations: 184 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.163/1.163, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.566/1.566, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.001306/0.001306, allocations: 71.89 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1869, allocations: 114.5 MB / 0.7841 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001554/0.1885, allocations: 0.5895 MB / 0.7847 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.1897, allocations: 1.14 MB / 0.7858 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.1897, allocations: 0 / 0.7858 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.1898, allocations: 0 / 0.7858 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.19, allocations: 35.91 kB / 0.7858 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.597e-06/0.19, allocations: 0 / 0.7858 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.159e-05/0.1901, allocations: 4 kB / 0.7858 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.1901, allocations: 0 / 0.7858 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.239e-05/0.1901, allocations: 0 / 0.7858 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.353e-05/0.1901, allocations: 11.88 kB / 0.7858 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.913e-06/0.1902, allocations: 0 / 0.7858 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.905e-05/0.1903, allocations: 19.98 kB / 0.7858 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.343e-06/0.1903, allocations: 3.984 kB / 0.7858 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.374e-05/0.1903, allocations: 3.984 kB / 0.7859 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.09e-05/0.1904, allocations: 4 kB / 0.7859 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1904, allocations: 15.88 kB / 0.7859 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1904, allocations: 3.938 kB / 0.7859 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.1904, allocations: 0 / 0.7859 GB, free: 2.035 MB / 0.6544 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.0002595/0.1907, allocations: 319.6 kB / 0.7862 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.1907, allocations: 8.031 kB / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.42e-05/0.1907, allocations: 0.9375 kB / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.631e-05/0.1908, allocations: 168.4 kB / 0.7863 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.1908, allocations: 384 / 0.7863 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.1909, allocations: 384 / 0.7863 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.458e-05/0.1909, allocations: 42.02 kB / 0.7864 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.191, allocations: 0 / 0.7864 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.191, allocations: 0 / 0.7864 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.191, allocations: 4 kB / 0.7864 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.716e-05/0.191, allocations: 7.984 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.1912, allocations: 153.9 kB / 0.7865 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.1913, allocations: 30.58 kB / 0.7866 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.1914, allocations: 8.953 kB / 0.7866 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.1915, allocations: 93.08 kB / 0.7867 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.1915, allocations: 34.5 kB / 0.7867 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1915, allocations: 0 / 0.7867 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.003617/0.1952, allocations: 0.5714 MB / 0.7873 GB, free: 436 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.1952, allocations: 51.41 kB / 0.7873 GB, free: 372 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.136e-05/0.1952, allocations: 89.86 kB / 0.7874 GB, free: 272 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1953, allocations: 29.7 kB / 0.7874 GB, free: 236 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.1953, allocations: 84.14 kB / 0.7875 GB, free: 148 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.1953, allocations: 15.8 kB / 0.7875 GB, free: 132 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.1954, allocations: 17.72 kB / 0.7875 GB, free: 108 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.2924/0.4878, allocations: 315.9 kB / 0.7878 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000569/0.4884, allocations: 83.09 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005006/0.4889, allocations: 103.5 kB / 0.788 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009473/0.4899, allocations: 186.4 kB / 0.7882 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4899, allocations: 0 / 0.7882 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001002/0.4909, allocations: 217.8 kB / 0.7884 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4909, allocations: 6.75 kB / 0.7884 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.4909, allocations: 2.719 kB / 0.7884 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.491, allocations: 0.625 kB / 0.7884 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.4913, allocations: 52.41 kB / 0.7885 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4913, allocations: 5.344 kB / 0.7885 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.4916, allocations: 41.48 kB / 0.7885 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.4916, allocations: 2.719 kB / 0.7885 GB, free: 48.64 MB / 0.6544 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 5.46e-05/0.4917, allocations: 112.4 kB / 0.7886 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.4917, allocations: 3.875 kB / 0.7886 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.4928, allocations: 238.6 kB / 0.7889 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4928, allocations: 4.297 kB / 0.7889 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4928, allocations: 3.938 kB / 0.7889 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4928, allocations: 0 / 0.7889 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.4939, allocations: 454.1 kB / 0.7893 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4939, allocations: 0 / 0.7893 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.4942, allocations: 53.02 kB / 0.7893 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4942, allocations: 1.219 kB / 0.7893 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4943, allocations: 5.609 kB / 0.7893 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4943, allocations: 0 / 0.7893 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4943, allocations: 4 kB / 0.7894 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009398/0.4952, allocations: 304.8 kB / 0.7896 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.4952, allocations: 84.38 kB / 0.7897 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.4953, allocations: 0 / 0.7897 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.4955, allocations: 39.11 kB / 0.7898 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.122e-05/0.4956, allocations: 6 kB / 0.7898 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.4956, allocations: 2.016 kB / 0.7898 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.081e-05/0.4956, allocations: 79.22 kB / 0.7898 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.4956, allocations: 6.625 kB / 0.7899 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002259/0.4958, allocations: 7.875 kB / 0.7899 GB, free: 47.85 MB / 0.6544 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.0001329/0.496, allocations: 112.4 kB / 0.79 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009729/0.497, allocations: 173 kB / 0.7901 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.497, allocations: 0 / 0.7901 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.4974, allocations: 96.41 kB / 0.7902 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.4976, allocations: 0.5625 kB / 0.7902 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008415/0.4985, allocations: 220.7 kB / 0.7904 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.591e-05/0.4986, allocations: 0.6761 MB / 0.7911 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.4987, allocations: 27.86 kB / 0.7911 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/0.4988, allocations: 15.06 kB / 0.7911 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.4988, allocations: 1.125 kB / 0.7911 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.002218/0.501, allocations: 0.8145 MB / 0.7919 GB, free: 46.88 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)