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.638/1.638, allocations: 288.4 MB / 303.7 MB, free: 8.145 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.001061/0.001061, allocations: 187.8 kB / 372.3 MB, free: 10.14 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.529/1.529, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0008052/0.0008052, allocations: 104.6 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003556, allocations: 12.59 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2064, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007609/0.2072, allocations: 319.8 kB / 0.9804 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.2084, allocations: 1.118 MB / 0.9815 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.2085, allocations: 0 / 0.9815 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.2085, allocations: 0 / 0.9815 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.2087, allocations: 19.97 kB / 0.9816 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.815e-06/0.2088, allocations: 0 / 0.9816 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.88e-05/0.2088, allocations: 3.938 kB / 0.9816 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.2089, allocations: 4 kB / 0.9816 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.362e-05/0.2089, allocations: 4 kB / 0.9816 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.429e-05/0.2089, allocations: 0 / 0.9816 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.953e-06/0.2089, allocations: 0 / 0.9816 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.923e-05/0.209, allocations: 23.91 kB / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.4e-06/0.209, allocations: 4 kB / 0.9816 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.2091, allocations: 33.62 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.066e-05/0.2091, allocations: 11.94 kB / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2091, allocations: 0 / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2091, allocations: 0 / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.2091, allocations: 0 / 0.9816 GB, free: 25.78 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.000177/0.2093, allocations: 319.6 kB / 0.9819 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2094, allocations: 8.031 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.2094, allocations: 0.9375 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.383e-05/0.2095, allocations: 160.4 kB / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.2095, allocations: 8.312 kB / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.2095, allocations: 384 / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.642e-05/0.2096, allocations: 42 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2096, allocations: 0 / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.2096, allocations: 0 / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2096, allocations: 0 / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.83e-05/0.2097, allocations: 11.94 kB / 0.9822 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.2098, allocations: 157.9 kB / 0.9823 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.21, allocations: 34.61 kB / 0.9824 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.21, allocations: 8.859 kB / 0.9824 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.2102, allocations: 81.19 kB / 0.9824 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.2102, allocations: 42.5 kB / 0.9825 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.2102, allocations: 0 / 0.9825 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.003934/0.2141, allocations: 0.5715 MB / 0.983 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.2142, allocations: 51.41 kB / 0.9831 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.873e-05/0.2142, allocations: 89.86 kB / 0.9832 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.2142, allocations: 25.7 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.18e-05/0.2142, allocations: 88.08 kB / 0.9833 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.2143, allocations: 15.8 kB / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.2143, allocations: 0 / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.2143, allocations: 318.8 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000559/0.2149, allocations: 83.94 kB / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005478/0.2155, allocations: 102.5 kB / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.2165, allocations: 186.5 kB / 0.984 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2165, allocations: 3.938 kB / 0.984 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001135/0.2177, allocations: 213.5 kB / 0.9842 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2177, allocations: 4 kB / 0.9842 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2177, allocations: 7.984 kB / 0.9842 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2177, allocations: 0 / 0.9842 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.2181, allocations: 48.42 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2181, allocations: 4 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.2185, allocations: 35.98 kB / 0.9843 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.2185, allocations: 4 kB / 0.9843 GB, free: 22.85 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.248e-05/0.2185, allocations: 121.8 kB / 0.9844 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.2186, allocations: 15.77 kB / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.2199, allocations: 233 kB / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2199, allocations: 7.922 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2199, allocations: 0 / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2199, allocations: 4 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.2212, allocations: 450.5 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2212, allocations: 4 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.2216, allocations: 51.91 kB / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2216, allocations: 0 / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.2216, allocations: 0 / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2216, allocations: 0 / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2216, allocations: 4 kB / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.2228, allocations: 303.7 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.2228, allocations: 81.11 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.2228, allocations: 4.062 kB / 0.9855 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.2232, allocations: 43.97 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.2232, allocations: 4 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.2232, allocations: 0 / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.447e-05/0.2233, allocations: 75.28 kB / 0.9856 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2233, allocations: 0 / 0.9856 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000243/0.2235, allocations: 16 kB / 0.9856 GB, free: 21.36 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.000152/0.2237, allocations: 115.1 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.2248, allocations: 179.9 kB / 0.9859 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2248, allocations: 0 / 0.9859 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005359/0.2254, allocations: 92 kB / 0.986 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.2256, allocations: 12.75 kB / 0.986 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.2266, allocations: 210.7 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.2267, allocations: 0.677 MB / 0.9869 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002614/0.227, allocations: 32.23 kB / 0.9869 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.2271, allocations: 11.44 kB / 0.9869 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.2271, allocations: 0 / 0.9869 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.002476/0.2295, allocations: 0.7972 MB / 0.9877 GB, free: 19.19 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)