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.001213/0.001213, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001458/0.001458, allocations: 173 kB / 23.49 MB, free: 1.059 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.026/1.026, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.001667/0.001667, allocations: 233.2 kB / 260.5 MB, free: 12.89 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.7881/0.7881, allocations: 138.4 MB / 455.4 MB, free: 30.09 MB / 410.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.503e-06/1.503e-06, allocations: 0 / 0.555 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.575e-05, allocations: 4.281 kB / 0.555 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.00211/0.002136, allocations: 1.507 MB / 0.5565 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008843/0.00302, allocations: 0.6005 MB / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.003089, allocations: 0 / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.003119, allocations: 0 / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.51e-05/0.003174, allocations: 7.938 kB / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.003499, allocations: 67.67 kB / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.003606, allocations: 27.94 kB / 0.5572 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.003706, allocations: 11.92 kB / 0.5572 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.003845, allocations: 19.97 kB / 0.5572 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.471e-05/0.00389, allocations: 11.98 kB / 0.5572 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.003906, allocations: 4 kB / 0.5572 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.004027, allocations: 55.89 kB / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.004041, allocations: 7.922 kB / 0.5573 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.004066, allocations: 11.94 kB / 0.5573 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.004222, allocations: 67.8 kB / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.004226, allocations: 0 / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.004227, allocations: 0 / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.004232, allocations: 8 kB / 0.5574 GB, free: 14.12 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.0005294/0.004762, allocations: 372.5 kB / 0.5577 GB, free: 13.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.342e-05/0.004835, allocations: 9.938 kB / 0.5577 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.005081, allocations: 12.89 kB / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.005342, allocations: 136.5 kB / 0.5579 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.005359, allocations: 384 / 0.5579 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.005372, allocations: 384 / 0.5579 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.005545, allocations: 58.88 kB / 0.5579 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.005555, allocations: 192 / 0.5579 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.005566, allocations: 384 / 0.5579 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.005578, allocations: 7.938 kB / 0.5579 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.005614, allocations: 7.984 kB / 0.558 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.005904, allocations: 247.8 kB / 0.5582 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.481e-05/0.005968, allocations: 35.06 kB / 0.5582 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.005999, allocations: 11.62 kB / 0.5582 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003138/0.006312, allocations: 87.95 kB / 0.5583 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.006339, allocations: 41.33 kB / 0.5584 GB, free: 12.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.006341, allocations: 0 / 0.5584 GB, free: 12.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001759/0.006516, allocations: 37.66 kB / 0.5584 GB, free: 12.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.006556, allocations: 63.33 kB / 0.5585 GB, free: 12.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.439e-05/0.00665, allocations: 173.9 kB / 0.5586 GB, free: 12.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.006662, allocations: 25.7 kB / 0.5586 GB, free: 12.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.006713, allocations: 130.9 kB / 0.5588 GB, free: 12.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.006734, allocations: 7.953 kB / 0.5588 GB, free: 12.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.006761, allocations: 19.31 kB / 0.5588 GB, free: 12.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.006903, allocations: 0.4963 MB / 0.5593 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.00692, allocations: 0 / 0.5593 GB, free: 11.97 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.309e-05/0.006933, allocations: 4 kB / 0.5593 GB, free: 11.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.326e-05/0.006966, allocations: 11.69 kB / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006968, allocations: 0 / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.44e-05/0.007033, allocations: 41.69 kB / 0.5593 GB, free: 11.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.007055, allocations: 11.94 kB / 0.5593 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.007061, allocations: 0 / 0.5593 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.007077, allocations: 0 / 0.5593 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.007148, allocations: 8.031 kB / 0.5594 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.007156, allocations: 4 kB / 0.5594 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.007173, allocations: 3.984 kB / 0.5594 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.00718, allocations: 4 kB / 0.5594 GB, free: 11.87 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 8.142e-05/0.007261, allocations: 152.6 kB / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.007281, allocations: 11.89 kB / 0.5595 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.007394, allocations: 45.31 kB / 0.5596 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.007396, allocations: 0 / 0.5596 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.007401, allocations: 0 / 0.5596 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.007404, allocations: 0 / 0.5596 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.007508, allocations: 124.7 kB / 0.5597 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.00751, allocations: 0 / 0.5597 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/0.007534, allocations: 4 kB / 0.5597 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.007536, allocations: 0 / 0.5597 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.007546, allocations: 7.922 kB / 0.5597 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007547, allocations: 0 / 0.5597 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.00755, allocations: 3.938 kB / 0.5597 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.007655, allocations: 184 kB / 0.5599 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.007665, allocations: 15.88 kB / 0.5599 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.007678, allocations: 7.938 kB / 0.5599 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.995e-05/0.007708, allocations: 4.031 kB / 0.5599 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.00774, allocations: 3.938 kB / 0.5599 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.007745, allocations: 8 kB / 0.5599 GB, free: 11.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.406e-05/0.007789, allocations: 127.2 kB / 0.56 GB, free: 11.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.007789, allocations: 0 / 0.56 GB, free: 11.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001728/0.007962, allocations: 12 kB / 0.56 GB, free: 11.11 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.0002145/0.008176, allocations: 119.2 kB / 0.5602 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.008283, allocations: 19.62 kB / 0.5602 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.008285, allocations: 0 / 0.5602 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.02e-05/0.008306, allocations: 19.73 kB / 0.5602 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.00849, allocations: 2.812 kB / 0.5602 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/0.009144, allocations: 137.2 kB / 0.5603 GB, free: 10.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.837e-05/0.009183, allocations: 59.34 kB / 0.5604 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.911e-05/0.009202, allocations: 0 / 0.5604 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.009228, allocations: 16.44 kB / 0.5604 GB, free: 10.68 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/0.009229, allocations: 0 / 0.5604 GB, free: 10.68 MB / 490.7 MB Notification: Performance of Templates: time 0.00275/0.01198, allocations: 0.7128 MB / 0.5611 GB, free: 9.973 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: 3.8951975288800895]