Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.601/2.601, allocations: 287.5 MB / 302.4 MB, free: 8.258 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.001407/0.001407, allocations: 176.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.214/2.214, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009524/0.000952, allocations: 93.05 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006422/0.0006425, allocations: 11.89 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2147, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002057/0.2168, allocations: 1.447 MB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2182, allocations: 0.6606 MB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.824e-05/0.2183, allocations: 0 / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.2183, allocations: 7.922 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.87e-05/0.2184, allocations: 11.88 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007236/0.2192, allocations: 147.1 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.2193, allocations: 103.7 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.2195, allocations: 33.3 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.2196, allocations: 55.83 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.149e-05/0.2197, allocations: 39.77 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.2198, allocations: 4 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.2199, allocations: 35.97 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.328e-05/0.22, allocations: 19.91 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.22, allocations: 41.64 kB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.2202, allocations: 100 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2202, allocations: 0 / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2202, allocations: 0 / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.2203, allocations: 0 / 0.981 GB, free: 25.67 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006217/0.2209, allocations: 414.9 kB / 0.9814 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2209, allocations: 16.02 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.2223, allocations: 151.6 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.2225, allocations: 182.9 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.2226, allocations: 59.41 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.2227, allocations: 12 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008214/0.2235, allocations: 189.4 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2235, allocations: 0 / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.2236, allocations: 4 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2236, allocations: 7.953 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.2247, allocations: 195.8 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.2263, allocations: 0.4941 MB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.2282, allocations: 262.3 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005517/0.2288, allocations: 104.9 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.2288, allocations: 0 / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.2289, allocations: 38.56 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.2289, allocations: 0 / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.001779/0.2307, allocations: 317.5 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.2308, allocations: 51.41 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.2309, allocations: 139.7 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.2309, allocations: 25.7 kB / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.231, allocations: 112.2 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.231, allocations: 19.66 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.2311, allocations: 0 / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.2311, allocations: 330.8 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005301/0.2317, allocations: 83.92 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/0.2322, allocations: 118.5 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.2328, allocations: 91.92 kB / 0.9843 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.2328, allocations: 4 kB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001198/0.234, allocations: 245.4 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.2341, allocations: 4 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2341, allocations: 4 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.2341, allocations: 4 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.2346, allocations: 47.89 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.2346, allocations: 0 / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/0.235, allocations: 39.83 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.235, allocations: 7.984 kB / 0.9846 GB, free: 21.72 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 (8): * Single equations (assignments): 8 * 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 0.0001298/0.2352, allocations: 123.2 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.859e-05/0.2352, allocations: 7.906 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.2365, allocations: 242.2 kB / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.2365, allocations: 0 / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2365, allocations: 384 / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2365, allocations: 0 / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.2368, allocations: 242.1 kB / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2369, allocations: 8 kB / 0.9852 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.2373, allocations: 39.95 kB / 0.9852 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.2373, allocations: 4 kB / 0.9852 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.2373, allocations: 4 kB / 0.9852 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2373, allocations: 0 / 0.9852 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2373, allocations: 0 / 0.9852 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.2386, allocations: 323.2 kB / 0.9856 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.2386, allocations: 84.95 kB / 0.9856 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.2387, allocations: 7.984 kB / 0.9856 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.2392, allocations: 47.95 kB / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.2393, allocations: 0 / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.2393, allocations: 7.984 kB / 0.9857 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.098e-05/0.2394, allocations: 108.6 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2394, allocations: 0 / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003455/0.2398, allocations: 23.91 kB / 0.9858 GB, free: 20.38 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 (6): * Single equations (assignments): 6 * 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.0001431/0.2399, allocations: 107.2 kB / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.2411, allocations: 195.8 kB / 0.9861 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2411, allocations: 0 / 0.9861 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.2417, allocations: 96.05 kB / 0.9862 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.2422, allocations: 25.53 kB / 0.9862 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009965/0.2432, allocations: 297.7 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.2433, allocations: 0.6965 MB / 0.9872 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000169/0.2435, allocations: 23.88 kB / 0.9872 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.301e-05/0.2436, allocations: 19.42 kB / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of SimCode: time 1.192e-06/0.2436, allocations: 0 / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.00472/0.2484, allocations: 1.301 MB / 0.9885 GB, free: 17.59 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)