Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000969/0.000969, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 177.4 kB / 23.36 MB, free: 1.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.152/1.152, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.005366/0.005366, allocations: 245.1 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7679/0.7679, allocations: 138.4 MB / 402.2 MB, free: 0.5352 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 462.4 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.42e-05, allocations: 3.297 kB / 462.4 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002001/0.002015, allocations: 1.572 MB / 463.9 MB, free: 15.87 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009212/0.002936, allocations: 0.605 MB / 464.5 MB, free: 15.49 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.002979, allocations: 1.719 kB / 464.5 MB, free: 15.49 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.002995, allocations: 4.641 kB / 464.5 MB, free: 15.48 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.86e-05/0.003034, allocations: 7 kB / 464.5 MB, free: 15.48 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.003238, allocations: 61.45 kB / 464.6 MB, free: 15.45 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.003341, allocations: 33.48 kB / 464.6 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.003399, allocations: 3.875 kB / 464.6 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.003513, allocations: 24.97 kB / 464.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.497e-05/0.003548, allocations: 10.05 kB / 464.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.00356, allocations: 6.547 kB / 464.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.003682, allocations: 56.77 kB / 464.7 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.003695, allocations: 11.39 kB / 464.8 MB, free: 15.4 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.308e-05/0.003708, allocations: 4.203 kB / 464.8 MB, free: 15.4 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.003832, allocations: 75.55 kB / 464.8 MB, free: 15.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.003833, allocations: 0.75 kB / 464.8 MB, free: 15.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003834, allocations: 0 / 464.8 MB, free: 15.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.003837, allocations: 1.594 kB / 464.8 MB, free: 15.37 MB / 426.7 MB 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.0002156/0.004052, allocations: 256.2 kB / 465.1 MB, free: 15.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.004083, allocations: 10.78 kB / 465.1 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.466e-05/0.004178, allocations: 16.38 kB / 465.1 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.004332, allocations: 118.4 kB / 465.2 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-06/0.004338, allocations: 7.062 kB / 465.2 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.952e-06/0.004344, allocations: 1.5 kB / 465.2 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.182e-05/0.004416, allocations: 52.53 kB / 465.3 MB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.248e-06/0.00442, allocations: 1.469 kB / 465.3 MB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-06/0.004424, allocations: 0.9375 kB / 465.3 MB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.004428, allocations: 4.5 kB / 465.3 MB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.004447, allocations: 5.312 kB / 465.3 MB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.00458, allocations: 148 kB / 465.4 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.928e-05/0.004609, allocations: 24.62 kB / 465.5 MB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.135e-05/0.004621, allocations: 8.25 kB / 465.5 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.004879, allocations: 71.78 kB / 465.5 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.004897, allocations: 36.66 kB / 465.6 MB, free: 14.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.004898, allocations: 0.75 kB / 465.6 MB, free: 14.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 7.411e-05/0.004972, allocations: 44.44 kB / 465.6 MB, free: 14.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.004992, allocations: 53.62 kB / 465.7 MB, free: 14.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.401e-05/0.005046, allocations: 113.6 kB / 465.8 MB, free: 14.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.005054, allocations: 26.86 kB / 465.8 MB, free: 14.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.005081, allocations: 83.92 kB / 465.9 MB, free: 14.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.125e-05/0.005092, allocations: 5.297 kB / 465.9 MB, free: 14.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.005116, allocations: 22.5 kB / 465.9 MB, free: 14.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.109e-05/0.005197, allocations: 314.1 kB / 466.2 MB, free: 14.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-06/0.005204, allocations: 3.234 kB / 466.2 MB, free: 14.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/0.005211, allocations: 5.438 kB / 466.2 MB, free: 14.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.899e-05/0.00523, allocations: 11.44 kB / 466.2 MB, free: 14.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005232, allocations: 7.469 kB / 466.3 MB, free: 14.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.881e-05/0.005271, allocations: 34.81 kB / 466.3 MB, free: 14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.00528, allocations: 7.188 kB / 466.3 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-06/0.005283, allocations: 0 / 466.3 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/0.005289, allocations: 5.094 kB / 466.3 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.155e-05/0.005321, allocations: 6.219 kB / 466.3 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.005325, allocations: 5.172 kB / 466.3 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.367e-05/0.005338, allocations: 5.875 kB / 466.3 MB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-06/0.005341, allocations: 0.75 kB / 466.3 MB, free: 13.98 MB / 426.7 MB 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 4.691e-05/0.005388, allocations: 110 kB / 466.4 MB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.005402, allocations: 2.938 kB / 466.4 MB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.539e-05/0.005468, allocations: 52.56 kB / 466.5 MB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.005472, allocations: 6.969 kB / 466.5 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.005474, allocations: 1.984 kB / 466.5 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.005476, allocations: 0 / 466.5 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.863e-05/0.005555, allocations: 70.25 kB / 466.6 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.005556, allocations: 2.219 kB / 466.6 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/0.005571, allocations: 5.078 kB / 466.6 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.72e-07/0.005572, allocations: 1.219 kB / 466.6 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.005576, allocations: 0.6094 kB / 466.6 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005577, allocations: 2.094 kB / 466.6 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.005578, allocations: 0.7031 kB / 466.6 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.714e-05/0.005645, allocations: 138.8 kB / 466.7 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-06/0.005652, allocations: 3.406 kB / 466.7 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-06/0.005659, allocations: 2.141 kB / 466.7 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3e-05/0.005689, allocations: 6.172 kB / 466.7 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.005707, allocations: 6.672 kB / 466.7 MB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.005709, allocations: 1.062 kB / 466.7 MB, free: 13.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.844e-05/0.005727, allocations: 18.7 kB / 466.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005727, allocations: 0 / 466.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001269/0.005854, allocations: 17.64 kB / 466.8 MB, free: 13.59 MB / 426.7 MB 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 8.815e-05/0.005942, allocations: 94.19 kB / 466.9 MB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 3.957e-05/0.005982, allocations: 11.09 kB / 466.9 MB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.005983, allocations: 2.312 kB / 466.9 MB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.321e-05/0.005997, allocations: 12.86 kB / 466.9 MB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.139e-05/0.006088, allocations: 7.875 kB / 466.9 MB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.006393, allocations: 136.2 kB / 467 MB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.036e-05/0.006423, allocations: 56.3 kB / 467.1 MB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.332e-05/0.006437, allocations: 1.156 kB / 467.1 MB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.006465, allocations: 51.25 kB / 467.1 MB, free: 13.25 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.006465, allocations: 1 kB / 467.1 MB, free: 13.25 MB / 426.7 MB Notification: Performance of Templates: time 0.001925/0.00839, allocations: 0.769 MB / 467.9 MB, free: 12.94 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.737749584019184]