Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.649/1.649, allocations: 288.4 MB / 303.7 MB, free: 8.051 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.0009448/0.0009447, allocations: 190.5 kB / 372.3 MB, free: 10.1 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.349/1.349, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0007186/0.0007186, allocations: 106.2 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004255/0.0004255, allocations: 12.88 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2234, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001608/0.2251, allocations: 1.164 MB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008587/0.226, allocations: 0.5716 MB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.331e-05/0.226, allocations: 0 / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.2261, allocations: 0 / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.953e-05/0.2261, allocations: 3.938 kB / 0.9818 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.2264, allocations: 39.89 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.059e-05/0.2265, allocations: 19.92 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2266, allocations: 7.984 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.075e-05/0.2267, allocations: 27.92 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.931e-05/0.2267, allocations: 7.938 kB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.2268, allocations: 0 / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.302e-05/0.2269, allocations: 47.95 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.2269, allocations: 3.984 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.2269, allocations: 41.62 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.887e-05/0.227, allocations: 39.94 kB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.227, allocations: 0 / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.224e-06/0.227, allocations: 0 / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.227, allocations: 0 / 0.9821 GB, free: 25.32 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.0003613/0.2274, allocations: 355.7 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2275, allocations: 8.031 kB / 0.9824 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.2275, allocations: 4.844 kB / 0.9824 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.092e-05/0.2276, allocations: 168.3 kB / 0.9826 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2276, allocations: 4.312 kB / 0.9826 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.2276, allocations: 4.375 kB / 0.9826 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.2278, allocations: 53.92 kB / 0.9826 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.2278, allocations: 0 / 0.9826 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.2278, allocations: 4 kB / 0.9826 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2278, allocations: 0 / 0.9826 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.2279, allocations: 23.98 kB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.2282, allocations: 256.9 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.188e-05/0.2283, allocations: 42.5 kB / 0.9829 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.2284, allocations: 16.91 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000695/0.2291, allocations: 497.4 kB / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.2291, allocations: 30.56 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.2291, allocations: 0 / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002385/0.2293, allocations: 77.58 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.2294, allocations: 51.41 kB / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.049e-05/0.2294, allocations: 113.8 kB / 0.9837 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.2294, allocations: 29.64 kB / 0.9837 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.2295, allocations: 88.12 kB / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.2295, allocations: 4.031 kB / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.2295, allocations: 4 kB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.5e-05/0.2296, allocations: 314.8 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.58e-05/0.2297, allocations: 15.98 kB / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.2297, allocations: 4 kB / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/0.2298, allocations: 40.84 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2298, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001026/0.2299, allocations: 57.69 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2299, allocations: 5.562 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2299, allocations: 0 / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2299, allocations: 0 / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/0.23, allocations: 15.92 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.23, allocations: 32 / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.2301, allocations: 4 kB / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.2301, allocations: 4 kB / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.755e-05/0.2302, allocations: 117.8 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.2302, allocations: 11.89 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.2303, allocations: 61.22 kB / 0.9844 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2304, allocations: 7.969 kB / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2304, allocations: 3.984 kB / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2304, allocations: 0 / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.2305, allocations: 157.6 kB / 0.9846 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2305, allocations: 4 kB / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/0.2306, allocations: 7.984 kB / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2306, allocations: 0 / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2306, allocations: 3.938 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2306, allocations: 4 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2306, allocations: 0 / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.2308, allocations: 163.5 kB / 0.9848 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.2308, allocations: 85 kB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.2308, allocations: 0 / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.2309, allocations: 7.938 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.231, allocations: 0 / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.231, allocations: 4.031 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.406e-05/0.231, allocations: 91.27 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.231, allocations: 0 / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002627/0.2313, allocations: 12 kB / 0.985 GB, free: 21.94 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 (2): * Single equations (assignments): 2 * 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.0001727/0.2315, allocations: 119.2 kB / 0.9851 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.2316, allocations: 31.92 kB / 0.9851 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2316, allocations: 4.062 kB / 0.9851 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.109e-05/0.2317, allocations: 11.98 kB / 0.9851 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.2319, allocations: 8.969 kB / 0.9851 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.2322, allocations: 136.6 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.2324, allocations: 0.681 MB / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.666e-05/0.2324, allocations: 0 / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.2324, allocations: 11.44 kB / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of SimCode: time 2.8e-07/0.2324, allocations: 0 / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.002503/0.2349, allocations: 0.625 MB / 0.9866 GB, free: 20.26 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)