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.001805/0.001805, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002133/0.002133, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.003174/0.003174, allocations: 241.3 kB / 259.8 MB, free: 12.85 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 1.227/1.227, allocations: 138.4 MB / 454.7 MB, free: 1.457 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.473e-06/1.473e-06, allocations: 0 / 0.5543 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.601e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002859/0.002885, allocations: 1.479 MB / 0.5558 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.004106, allocations: 0.5969 MB / 0.5564 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.004157, allocations: 0 / 0.5564 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.004182, allocations: 3.938 kB / 0.5564 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.901e-05/0.004241, allocations: 7.969 kB / 0.5564 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.004552, allocations: 63.69 kB / 0.5564 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.83e-05/0.004651, allocations: 31.92 kB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.681e-05/0.004728, allocations: 4 kB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.004886, allocations: 27.86 kB / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/0.004937, allocations: 15.97 kB / 0.5565 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.004952, allocations: 0 / 0.5565 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.005083, allocations: 47.95 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.005102, allocations: 11.94 kB / 0.5566 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.005125, allocations: 3.984 kB / 0.5566 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.005316, allocations: 83.72 kB / 0.5567 GB, free: 14.42 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.005319, allocations: 0 / 0.5567 GB, free: 14.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005319, allocations: 4 kB / 0.5567 GB, free: 14.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.005323, allocations: 0 / 0.5567 GB, free: 14.41 MB / 490.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.0005362/0.00586, allocations: 380.1 kB / 0.557 GB, free: 14.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.005898, allocations: 8.75 kB / 0.557 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.006048, allocations: 8.938 kB / 0.557 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.006238, allocations: 132.4 kB / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.006249, allocations: 384 / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.006257, allocations: 384 / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.006389, allocations: 42.25 kB / 0.5572 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.006397, allocations: 192 / 0.5572 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.006405, allocations: 4.375 kB / 0.5572 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.006412, allocations: 3.938 kB / 0.5572 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/0.006491, allocations: 19.98 kB / 0.5572 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.006851, allocations: 259.8 kB / 0.5575 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.948e-05/0.006951, allocations: 35.06 kB / 0.5575 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/0.006999, allocations: 15.73 kB / 0.5575 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005747/0.007574, allocations: 83.91 kB / 0.5576 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.007621, allocations: 37.33 kB / 0.5576 GB, free: 13.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.007622, allocations: 0 / 0.5576 GB, free: 13.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002495/0.007871, allocations: 73.55 kB / 0.5577 GB, free: 13.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.007916, allocations: 51.41 kB / 0.5578 GB, free: 13.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.00806, allocations: 177.9 kB / 0.5579 GB, free: 12.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.008081, allocations: 25.7 kB / 0.558 GB, free: 12.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/0.008167, allocations: 134.9 kB / 0.5581 GB, free: 12.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.008183, allocations: 4.078 kB / 0.5581 GB, free: 12.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.008231, allocations: 31.3 kB / 0.5581 GB, free: 12.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002555/0.008486, allocations: 496.1 kB / 0.5586 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.81e-05/0.008524, allocations: 8 kB / 0.5586 GB, free: 12.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.372e-05/0.008568, allocations: 11.98 kB / 0.5586 GB, free: 12.22 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.045e-05/0.008648, allocations: 27.69 kB / 0.5586 GB, free: 12.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.00865, allocations: 0 / 0.5586 GB, free: 12.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001222/0.008772, allocations: 53.62 kB / 0.5587 GB, free: 12.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.008789, allocations: 7.938 kB / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.008792, allocations: 4.094 kB / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.008806, allocations: 0 / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.008869, allocations: 7.984 kB / 0.5587 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.008873, allocations: 0 / 0.5587 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.008907, allocations: 7.953 kB / 0.5587 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.008913, allocations: 0 / 0.5587 GB, free: 12.1 MB / 490.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 0.0002554/0.009168, allocations: 156.6 kB / 0.5589 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.009199, allocations: 7.938 kB / 0.5589 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.009369, allocations: 65.23 kB / 0.5589 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.009371, allocations: 4.031 kB / 0.5589 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.009373, allocations: 0 / 0.5589 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.009376, allocations: 0 / 0.5589 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.00956, allocations: 124.6 kB / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.009561, allocations: 0 / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.009602, allocations: 4 kB / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.009604, allocations: 0 / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.009614, allocations: 3.938 kB / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.009615, allocations: 0 / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.009616, allocations: 0 / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.009841, allocations: 211.9 kB / 0.5593 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.009848, allocations: 0 / 0.5593 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.009863, allocations: 3.938 kB / 0.5593 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/0.009918, allocations: 4 kB / 0.5593 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.00995, allocations: 3.938 kB / 0.5593 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.009954, allocations: 0 / 0.5593 GB, free: 11.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.033e-05/0.01004, allocations: 135.2 kB / 0.5594 GB, free: 11.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01004, allocations: 0 / 0.5594 GB, free: 11.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002359/0.01028, allocations: 15.94 kB / 0.5594 GB, free: 11.31 MB / 490.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 0.0001912/0.01047, allocations: 119.1 kB / 0.5595 GB, free: 11.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.01061, allocations: 35.67 kB / 0.5596 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01061, allocations: 0 / 0.5596 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.568e-05/0.01066, allocations: 11.69 kB / 0.5596 GB, free: 11.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.01087, allocations: 14.8 kB / 0.5596 GB, free: 11.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.0112, allocations: 129.2 kB / 0.5597 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.034e-05/0.01127, allocations: 63.34 kB / 0.5598 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.522e-05/0.01129, allocations: 8.125 kB / 0.5598 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.01132, allocations: 8.5 kB / 0.5598 GB, free: 10.87 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01132, allocations: 0 / 0.5598 GB, free: 10.87 MB / 490.7 MB Notification: Performance of Templates: time 0.003583/0.0149, allocations: 0.7045 MB / 0.5605 GB, free: 10.17 MB / 490.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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.902746423962526]