Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001865/0.001865, allocations: 80.45 kB / 19.95 MB, free: 4.598 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.001967/0.001967, allocations: 173.2 kB / 23.24 MB, free: 1.316 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.62/1.62, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.324/3.324, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.556e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002807/0.002833, allocations: 1.495 MB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003991, allocations: 0.5726 MB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.004044, allocations: 0 / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.004074, allocations: 3.938 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.004122, allocations: 23.84 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.004416, allocations: 55.75 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.777e-05/0.004513, allocations: 27.88 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.004614, allocations: 7.984 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.004747, allocations: 27.91 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.004794, allocations: 7.984 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.004811, allocations: 4 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.004943, allocations: 51.91 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.004956, allocations: 3.984 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.004984, allocations: 19.92 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.005171, allocations: 71.84 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.005173, allocations: 0 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.51e-07/0.005174, allocations: 3.938 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.005178, allocations: 0 / 1.003 GB, free: 10.65 MB / 0.9636 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.0006944/0.005872, allocations: 282 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.005909, allocations: 9.344 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01671/0.02262, allocations: 2.439 MB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.02292, allocations: 149.7 kB / 1.006 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.02294, allocations: 4.375 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.02298, allocations: 384 / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00597/0.02895, allocations: 1.021 MB / 1.007 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.02896, allocations: 192 / 1.007 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.02899, allocations: 4.312 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.029, allocations: 3.938 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/0.04019, allocations: 1.857 MB / 1.009 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007032/0.04722, allocations: 1.384 MB / 1.01 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/0.05858, allocations: 1.876 MB / 1.012 GB, free: 1.527 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005597/0.06417, allocations: 0.9374 MB / 1.013 GB, free: 0.5859 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.0642, allocations: 0 / 1.013 GB, free: 0.5859 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.06425, allocations: 38.5 kB / 1.013 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.06425, allocations: 0 / 1.013 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.01643/0.08068, allocations: 2.749 MB / 1.016 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.08074, allocations: 55.41 kB / 1.016 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.08086, allocations: 105.8 kB / 1.016 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.0809, allocations: 33.73 kB / 1.016 GB, free: 13.56 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.08097, allocations: 84.14 kB / 1.016 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.08101, allocations: 7.891 kB / 1.016 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.08113, allocations: 29.69 kB / 1.016 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.08133, allocations: 314.8 kB / 1.016 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005542/0.08687, allocations: 0.9287 MB / 1.017 GB, free: 12.19 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005681/0.09255, allocations: 0.9326 MB / 1.018 GB, free: 11.25 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/0.1026, allocations: 1.683 MB / 1.02 GB, free: 9.566 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.1026, allocations: 3.938 kB / 1.02 GB, free: 9.562 MB / 0.9792 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01058/0.1132, allocations: 1.808 MB / 1.022 GB, free: 7.746 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.1133, allocations: 15.92 kB / 1.022 GB, free: 7.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1133, allocations: 0 / 1.022 GB, free: 7.73 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1133, allocations: 0 / 1.022 GB, free: 7.73 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/0.1163, allocations: 467.5 kB / 1.022 GB, free: 7.273 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1163, allocations: 8 kB / 1.022 GB, free: 7.266 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/0.1193, allocations: 447.5 kB / 1.023 GB, free: 6.828 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.1193, allocations: 7.984 kB / 1.023 GB, free: 6.82 MB / 0.9792 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 0.0001554/0.1195, allocations: 112.5 kB / 1.023 GB, free: 6.703 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.1195, allocations: 11.89 kB / 1.023 GB, free: 6.691 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.423e-05/0.1196, allocations: 11.62 kB / 1.023 GB, free: 6.676 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1196, allocations: 384 / 1.023 GB, free: 6.676 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1196, allocations: 4 kB / 1.023 GB, free: 6.672 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1196, allocations: 0 / 1.023 GB, free: 6.672 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.12, allocations: 242.2 kB / 1.023 GB, free: 6.402 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.12, allocations: 3.938 kB / 1.023 GB, free: 6.398 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003125/0.1232, allocations: 475.4 kB / 1.023 GB, free: 5.934 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1232, allocations: 4 kB / 1.023 GB, free: 5.93 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.1232, allocations: 11.92 kB / 1.023 GB, free: 5.918 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1232, allocations: 0 / 1.023 GB, free: 5.918 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1232, allocations: 0 / 1.023 GB, free: 5.918 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/0.1346, allocations: 1.892 MB / 1.025 GB, free: 4.008 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.1346, allocations: 19.97 kB / 1.025 GB, free: 3.988 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.1347, allocations: 3.938 kB / 1.025 GB, free: 3.984 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002975/0.1376, allocations: 443.5 kB / 1.026 GB, free: 3.551 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.1377, allocations: 3.984 kB / 1.026 GB, free: 3.547 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.1377, allocations: 7.984 kB / 1.026 GB, free: 3.539 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 7.682e-05/0.1378, allocations: 87.28 kB / 1.026 GB, free: 3.453 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1378, allocations: 0 / 1.026 GB, free: 3.453 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003178/0.1381, allocations: 36 kB / 1.026 GB, free: 3.418 MB / 0.9792 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.0001719/0.1383, allocations: 99.17 kB / 1.026 GB, free: 3.312 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01106/0.1494, allocations: 1.873 MB / 1.028 GB, free: 1.438 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1494, allocations: 4.062 kB / 1.028 GB, free: 1.434 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.005566/0.1549, allocations: 0.9365 MB / 1.029 GB, free: 0.4961 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.1552, allocations: 7.938 kB / 1.029 GB, free: 500 kB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005973/0.1612, allocations: 1.039 MB / 1.03 GB, free: 15.42 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.005e-05/0.1613, allocations: 71.14 kB / 1.03 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002969/0.1616, allocations: 31.91 kB / 1.03 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.1617, allocations: 32.45 kB / 1.03 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of SimCode: time 1.072e-06/0.1617, allocations: 0 / 1.03 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of Templates: time 0.006325/0.1681, allocations: 2.69 MB / 1.032 GB, free: 12.56 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.645107762888074]