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.673/1.673, allocations: 288.4 MB / 303.4 MB, free: 8.227 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.001843/0.001843, allocations: 179.4 kB / 372 MB, free: 10.27 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.859/1.859, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0007983/0.0007987, allocations: 84.05 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004304/0.0004306, allocations: 13.62 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2156, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007504/0.2164, allocations: 331.7 kB / 0.9799 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2175, allocations: 1.118 MB / 0.981 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.89e-05/0.2176, allocations: 0 / 0.981 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.628e-06/0.2176, allocations: 0 / 0.981 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.2178, allocations: 19.92 kB / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.335e-06/0.2178, allocations: 0 / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.388e-05/0.2178, allocations: 0 / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.2179, allocations: 0 / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.517e-05/0.2179, allocations: 4 kB / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.574e-05/0.2179, allocations: 3.938 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.965e-06/0.218, allocations: 3.984 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.526e-05/0.2181, allocations: 15.98 kB / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.238e-06/0.2181, allocations: 0 / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.503e-05/0.2181, allocations: 29.64 kB / 0.9811 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.538e-05/0.2182, allocations: 11.98 kB / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2182, allocations: 4 kB / 0.9811 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2182, allocations: 0 / 0.9811 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2182, allocations: 4 kB / 0.9811 GB, free: 26.11 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.0001994/0.2184, allocations: 311.4 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2184, allocations: 20.02 kB / 0.9814 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.2185, allocations: 0 / 0.9814 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.122e-05/0.2186, allocations: 163 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.2186, allocations: 0 / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.2186, allocations: 0 / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.738e-05/0.2187, allocations: 41.69 kB / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.2187, allocations: 4 kB / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.2187, allocations: 0 / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2188, allocations: 0 / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.787e-05/0.2188, allocations: 7.938 kB / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.2189, allocations: 157.8 kB / 0.9818 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.2191, allocations: 34.61 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.2191, allocations: 16.84 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.2193, allocations: 81.11 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.273e-05/0.2193, allocations: 34.64 kB / 0.9819 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.2193, allocations: 0 / 0.9819 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.003728/0.223, allocations: 0.5637 MB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.2231, allocations: 55.39 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.841e-05/0.2231, allocations: 93.86 kB / 0.9826 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.2231, allocations: 29.7 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.096e-05/0.2231, allocations: 92.06 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.2231, allocations: 7.812 kB / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-06/0.2232, allocations: 3.938 kB / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.458e-05/0.2232, allocations: 322.8 kB / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/0.2237, allocations: 79.95 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/0.2242, allocations: 106.5 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/0.2248, allocations: 79.95 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.2248, allocations: 4 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001046/0.2258, allocations: 213.6 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2258, allocations: 4 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2259, allocations: 0 / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2259, allocations: 3.984 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.2262, allocations: 52.19 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2262, allocations: 0 / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.2265, allocations: 43.98 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.2266, allocations: 4 kB / 0.9836 GB, free: 23.28 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 7.247e-05/0.2266, allocations: 121.7 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.2267, allocations: 3.906 kB / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.2278, allocations: 241.1 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2278, allocations: 0 / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2279, allocations: 0 / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2279, allocations: 0 / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.2292, allocations: 454.4 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2293, allocations: 0 / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.2296, allocations: 47.97 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.2296, allocations: 4 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.2296, allocations: 4 kB / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2296, allocations: 4 kB / 0.9845 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2296, allocations: 0 / 0.9845 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.2307, allocations: 307.3 kB / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.2307, allocations: 77.11 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.2308, allocations: 0 / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/0.2311, allocations: 43.97 kB / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.2311, allocations: 0 / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.2311, allocations: 0 / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.726e-05/0.2312, allocations: 87.28 kB / 0.9849 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2312, allocations: 0 / 0.9849 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002471/0.2314, allocations: 8 kB / 0.985 GB, free: 21.8 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.0002748/0.2317, allocations: 111.2 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.233, allocations: 179.9 kB / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.233, allocations: 0 / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005151/0.2335, allocations: 92.27 kB / 0.9853 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.2337, allocations: 4.812 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.2349, allocations: 234.6 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.2352, allocations: 0.6731 MB / 0.9862 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002467/0.2355, allocations: 36.22 kB / 0.9862 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.2355, allocations: 11.44 kB / 0.9862 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of SimCode: time 2.685e-06/0.2355, allocations: 0 / 0.9862 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.00362/0.2392, allocations: 0.8029 MB / 0.987 GB, free: 19.62 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)