Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.599/1.599, allocations: 292.3 MB / 308.1 MB, free: 4.293 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.001388/0.001387, allocations: 194.3 kB / 376.9 MB, free: 1.801 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.37/1.37, allocations: 205 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009243/0.0009242, allocations: 99.8 kB / 0.748 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001034, allocations: 51.92 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2131, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002501/0.2156, allocations: 1.522 MB / 0.9837 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009355/0.2165, allocations: 0.6095 MB / 0.9843 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.726e-05/0.2166, allocations: 0 / 0.9843 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.2166, allocations: 0 / 0.9843 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.195e-05/0.2167, allocations: 11.92 kB / 0.9843 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.2169, allocations: 35.91 kB / 0.9843 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.728e-05/0.217, allocations: 31.86 kB / 0.9844 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.347e-05/0.2171, allocations: 7.984 kB / 0.9844 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.641e-05/0.2171, allocations: 16 kB / 0.9844 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.6e-05/0.2172, allocations: 11.92 kB / 0.9844 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.2172, allocations: 0 / 0.9844 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.2173, allocations: 55.94 kB / 0.9845 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.2173, allocations: 7.938 kB / 0.9845 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.2174, allocations: 7.938 kB / 0.9845 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.2175, allocations: 63.86 kB / 0.9845 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2175, allocations: 0 / 0.9845 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.61e-07/0.2175, allocations: 3.938 kB / 0.9845 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.2175, allocations: 0 / 0.9845 GB, free: 8.008 MB / 0.7136 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.0004178/0.2179, allocations: 351.6 kB / 0.9849 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.218, allocations: 12.03 kB / 0.9849 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.218, allocations: 0.9375 kB / 0.9849 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.2182, allocations: 176.2 kB / 0.9851 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.2182, allocations: 4.375 kB / 0.9851 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.2182, allocations: 384 / 0.9851 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.2184, allocations: 49.98 kB / 0.9851 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2184, allocations: 0 / 0.9851 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2184, allocations: 3.984 kB / 0.9851 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2184, allocations: 4 kB / 0.9851 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.145e-05/0.2185, allocations: 15.98 kB / 0.9851 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.2188, allocations: 264.8 kB / 0.9854 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.777e-05/0.2189, allocations: 26.58 kB / 0.9854 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.219, allocations: 20.91 kB / 0.9854 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007026/0.2197, allocations: 477.4 kB / 0.9859 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2197, allocations: 30.56 kB / 0.9859 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2197, allocations: 0 / 0.9859 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002168/0.2199, allocations: 61.62 kB / 0.986 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.22, allocations: 59.39 kB / 0.986 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.22, allocations: 109.9 kB / 0.9861 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.2201, allocations: 25.7 kB / 0.9862 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.2201, allocations: 100.1 kB / 0.9863 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.2202, allocations: 3.906 kB / 0.9863 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.2202, allocations: 13.72 kB / 0.9863 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.2203, allocations: 318.8 kB / 0.9866 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.255e-05/0.2203, allocations: 8 kB / 0.9866 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.2204, allocations: 11.98 kB / 0.9866 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.826e-05/0.2205, allocations: 28.86 kB / 0.9866 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2205, allocations: 3.984 kB / 0.9866 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001078/0.2206, allocations: 57.53 kB / 0.9867 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2206, allocations: 4 kB / 0.9867 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.2206, allocations: 0 / 0.9867 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2206, allocations: 4 kB / 0.9867 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/0.2207, allocations: 4 kB / 0.9867 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2207, allocations: 4.031 kB / 0.9867 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/0.2207, allocations: 7.984 kB / 0.9867 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.2207, allocations: 0 / 0.9867 GB, free: 5.477 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.649e-05/0.2208, allocations: 117.8 kB / 0.9868 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.2208, allocations: 0 / 0.9868 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.221, allocations: 69.14 kB / 0.9869 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.221, allocations: 4 kB / 0.9869 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.221, allocations: 4.031 kB / 0.9869 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.221, allocations: 0 / 0.9869 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.2212, allocations: 161.6 kB / 0.987 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2212, allocations: 4 kB / 0.987 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.2212, allocations: 4 kB / 0.987 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.2212, allocations: 0 / 0.987 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-06/0.2212, allocations: 3.938 kB / 0.9871 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2212, allocations: 320 / 0.9871 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2212, allocations: 0 / 0.9871 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.2216, allocations: 0.7161 MB / 0.9878 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.2217, allocations: 77.11 kB / 0.9878 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.2217, allocations: 3.984 kB / 0.9878 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.701e-05/0.2218, allocations: 4 kB / 0.9878 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.2218, allocations: 3.938 kB / 0.9878 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.2218, allocations: 0 / 0.9878 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.2219, allocations: 99.28 kB / 0.9879 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2219, allocations: 0 / 0.9879 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003109/0.2222, allocations: 16 kB / 0.9879 GB, free: 4.055 MB / 0.7136 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 (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.000144/0.2223, allocations: 107.2 kB / 0.988 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.2224, allocations: 23.92 kB / 0.9881 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2225, allocations: 7.938 kB / 0.9881 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-05/0.2225, allocations: 20.05 kB / 0.9881 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.2227, allocations: 0 / 0.9881 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.223, allocations: 231.2 kB / 0.9883 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.2232, allocations: 0.6809 MB / 0.989 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.078e-05/0.2233, allocations: 0 / 0.989 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.613e-05/0.2233, allocations: 15.5 kB / 0.989 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of SimCode: time 3.5e-07/0.2233, allocations: 0 / 0.989 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of Templates: time 0.002451/0.2257, allocations: 0.6489 MB / 0.9896 GB, free: 2.254 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)