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.001131/0.001131, allocations: 105.3 kB / 16.36 MB, free: 6.305 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.001061/0.001062, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.675/1.675, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.867/1.867, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001438/0.001438, allocations: 68.28 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2246, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002549/0.2273, allocations: 0.5859 MB / 0.7854 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.229, allocations: 1.144 MB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.229, allocations: 0 / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.2291, allocations: 0 / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.2294, allocations: 19.92 kB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.068e-06/0.2294, allocations: 0 / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.397e-05/0.2294, allocations: 4 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.2295, allocations: 3.984 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.969e-05/0.2295, allocations: 11.86 kB / 0.7865 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.539e-05/0.2296, allocations: 4 kB / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.2296, allocations: 0 / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.2297, allocations: 19.98 kB / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.533e-06/0.2297, allocations: 0 / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.2297, allocations: 3.938 kB / 0.7866 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.644e-05/0.2298, allocations: 23.91 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2298, allocations: 0 / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2298, allocations: 4 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2299, allocations: 0 / 0.7866 GB, free: 1.289 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.0003196/0.2302, allocations: 315.6 kB / 0.7869 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.2302, allocations: 8.031 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.2303, allocations: 0.9375 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2304, allocations: 164.4 kB / 0.787 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.2304, allocations: 4.375 kB / 0.787 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.2304, allocations: 4.375 kB / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.2306, allocations: 38.02 kB / 0.7871 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2306, allocations: 3.938 kB / 0.7871 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2306, allocations: 0 / 0.7871 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2306, allocations: 0 / 0.7871 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.019e-05/0.2307, allocations: 11.92 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.2308, allocations: 153.7 kB / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.231, allocations: 30.58 kB / 0.7873 GB, free: 432 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.231, allocations: 12.86 kB / 0.7873 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.2312, allocations: 85.19 kB / 0.7874 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.2312, allocations: 34.5 kB / 0.7874 GB, free: 268 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2312, allocations: 0 / 0.7874 GB, free: 268 kB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.3729/0.6042, allocations: 0.5715 MB / 0.788 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.6042, allocations: 51.97 kB / 0.788 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.269e-05/0.6043, allocations: 96.61 kB / 0.7881 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.6043, allocations: 25.7 kB / 0.7881 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.25e-05/0.6043, allocations: 80.14 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/0.6044, allocations: 13.66 kB / 0.7882 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.6044, allocations: 18.75 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.356e-05/0.6045, allocations: 318 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005601/0.6051, allocations: 82.17 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.6056, allocations: 105.9 kB / 0.7887 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.6067, allocations: 192.5 kB / 0.7889 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6068, allocations: 0.75 kB / 0.7889 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001201/0.608, allocations: 219.9 kB / 0.7891 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.608, allocations: 5.75 kB / 0.7891 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.608, allocations: 0 / 0.7891 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.608, allocations: 0 / 0.7891 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.6084, allocations: 49.47 kB / 0.7892 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.6084, allocations: 5.062 kB / 0.7892 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.6088, allocations: 43.11 kB / 0.7892 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.6088, allocations: 6.719 kB / 0.7892 GB, free: 48.23 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 6.562e-05/0.6089, allocations: 116.6 kB / 0.7893 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.6089, allocations: 3.938 kB / 0.7893 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.6102, allocations: 235.7 kB / 0.7896 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.6102, allocations: 10.41 kB / 0.7896 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6102, allocations: 0 / 0.7896 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6102, allocations: 0 / 0.7896 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.6117, allocations: 458.4 kB / 0.79 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6117, allocations: 0 / 0.79 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.6121, allocations: 54.7 kB / 0.7901 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.6121, allocations: 0 / 0.7901 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.6121, allocations: 5.672 kB / 0.7901 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.6121, allocations: 2.25 kB / 0.7901 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6121, allocations: 0.75 kB / 0.7901 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.6133, allocations: 307 kB / 0.7904 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.6133, allocations: 77.11 kB / 0.7904 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.6134, allocations: 5.562 kB / 0.7904 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.6137, allocations: 38.94 kB / 0.7905 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.6137, allocations: 3.281 kB / 0.7905 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.6138, allocations: 2.625 kB / 0.7905 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.643e-05/0.6138, allocations: 78.47 kB / 0.7906 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6138, allocations: 1.312 kB / 0.7906 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002485/0.614, allocations: 19.88 kB / 0.7906 GB, free: 47.41 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.0001642/0.6142, allocations: 107.2 kB / 0.7907 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.6154, allocations: 184.4 kB / 0.7909 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6154, allocations: 0 / 0.7909 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005878/0.616, allocations: 86.45 kB / 0.7909 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.6163, allocations: 8.578 kB / 0.7909 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.6174, allocations: 240.8 kB / 0.7912 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.6175, allocations: 0.6744 MB / 0.7918 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.101e-05/0.6176, allocations: 13.75 kB / 0.7918 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of SimCode: time 1.383e-06/0.6176, allocations: 0 / 0.7918 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of Templates: time 0.002218/0.6198, allocations: 1.098 MB / 0.7929 GB, free: 46.41 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)