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.0009532/0.0009532, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002241, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007067/0.0007067, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009649/0.001672, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9344/0.9344, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08691/1.021, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001212/0.001212, allocations: 238.4 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009513/0.002163, allocations: 467.7 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.777/0.777, allocations: 138.7 MB / 384.3 MB, free: 344 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06816/0.8452, allocations: 42.41 MB / 426.7 MB, free: 5.812 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.072e-06/1.072e-06, allocations: 0 / 428.1 MB, free: 4.453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.025e-06/9.097e-06, allocations: 2.312 kB / 428.1 MB, free: 4.449 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.001621/0.00163, allocations: 1.573 MB / 429.7 MB, free: 2.863 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006092/0.00224, allocations: 0.6122 MB / 430.3 MB, free: 2.242 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.002277, allocations: 0 / 430.3 MB, free: 2.242 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.002292, allocations: 3.938 kB / 430.3 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.254e-05/0.002315, allocations: 11.92 kB / 430.3 MB, free: 2.227 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.002448, allocations: 51.81 kB / 430.3 MB, free: 2.176 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.052e-05/0.002509, allocations: 31.86 kB / 430.4 MB, free: 2.145 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.469e-05/0.002563, allocations: 11.92 kB / 430.4 MB, free: 2.133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.637e-05/0.00266, allocations: 35.86 kB / 430.4 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.657e-05/0.002696, allocations: 11.97 kB / 430.4 MB, free: 2.086 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.002707, allocations: 4 kB / 430.4 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.002807, allocations: 55.95 kB / 430.5 MB, free: 2.027 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.002818, allocations: 4 kB / 430.5 MB, free: 2.023 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.168e-05/0.002829, allocations: 7.938 kB / 430.5 MB, free: 2.016 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.874e-05/0.002928, allocations: 59.77 kB / 430.6 MB, free: 1.957 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.002936, allocations: 4 kB / 430.6 MB, free: 1.953 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002936, allocations: 0 / 430.6 MB, free: 1.953 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.002943, allocations: 0 / 430.6 MB, free: 1.953 MB / 410.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.0002607/0.003204, allocations: 264.4 kB / 430.8 MB, free: 1.672 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.472e-05/0.003229, allocations: 11.98 kB / 430.8 MB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.003352, allocations: 90.03 kB / 430.9 MB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.802e-05/0.00345, allocations: 117.7 kB / 431 MB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-06/0.003455, allocations: 4.375 kB / 431 MB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.619e-06/0.003465, allocations: 12.34 kB / 431 MB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.406e-05/0.003529, allocations: 46.95 kB / 431.1 MB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-06/0.003533, allocations: 4.188 kB / 431.1 MB, free: 1.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-06/0.003538, allocations: 384 / 431.1 MB, free: 1.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.003542, allocations: 3.938 kB / 431.1 MB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.715e-05/0.003559, allocations: 4 kB / 431.1 MB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.003705, allocations: 160.2 kB / 431.3 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.566e-05/0.003741, allocations: 18.58 kB / 431.3 MB, free: 1.133 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.083e-05/0.003752, allocations: 8.922 kB / 431.3 MB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002392/0.003991, allocations: 75.95 kB / 431.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.004009, allocations: 38.55 kB / 431.4 MB, free: 1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.00401, allocations: 0 / 431.4 MB, free: 1 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 8.675e-05/0.004097, allocations: 41.58 kB / 431.4 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.004123, allocations: 51.41 kB / 431.5 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.441e-05/0.004177, allocations: 114.7 kB / 431.6 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.004186, allocations: 25.7 kB / 431.6 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.004219, allocations: 92.11 kB / 431.7 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.004235, allocations: 4.078 kB / 431.7 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.004258, allocations: 21.72 kB / 431.7 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.706e-05/0.004335, allocations: 318.8 kB / 432.1 MB, free: 296 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.752e-06/0.004342, allocations: 0 / 432.1 MB, free: 296 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.004348, allocations: 4 kB / 432.1 MB, free: 292 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.193e-05/0.00437, allocations: 12.84 kB / 432.1 MB, free: 276 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.004371, allocations: 0 / 432.1 MB, free: 276 kB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.861e-05/0.00441, allocations: 41.62 kB / 432.1 MB, free: 228 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.004419, allocations: 4 kB / 432.1 MB, free: 224 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.004422, allocations: 0 / 432.1 MB, free: 224 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.046e-06/0.00443, allocations: 8.031 kB / 432.1 MB, free: 216 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.83e-05/0.004469, allocations: 8 kB / 432.1 MB, free: 208 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-06/0.004471, allocations: 3.984 kB / 432.1 MB, free: 204 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.089e-05/0.004482, allocations: 0 / 432.1 MB, free: 204 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-06/0.004485, allocations: 0 / 432.1 MB, free: 204 kB / 410.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.185e-05/0.004527, allocations: 109.8 kB / 432.2 MB, free: 84 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.004538, allocations: 0 / 432.2 MB, free: 84 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.289e-05/0.004591, allocations: 49.25 kB / 432.3 MB, free: 32 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.004593, allocations: 3.938 kB / 432.3 MB, free: 28 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.004594, allocations: 0 / 432.3 MB, free: 28 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.004596, allocations: 4.031 kB / 432.3 MB, free: 24 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1954/0.2, allocations: 65.81 kB / 432.4 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2, allocations: 0 / 432.4 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.147e-05/0.2001, allocations: 5.766 kB / 432.4 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.2001, allocations: 3.156 kB / 432.4 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2001, allocations: 1.406 kB / 432.4 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.2001, allocations: 0 / 432.4 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2001, allocations: 3.562 kB / 432.4 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2001, allocations: 2.328 kB / 432.4 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.2002, allocations: 128.8 kB / 432.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.2002, allocations: 5.812 kB / 432.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.803e-05/0.2003, allocations: 1.891 kB / 432.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.2003, allocations: 9.328 kB / 432.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.2003, allocations: 3.938 kB / 432.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.13e-05/0.2003, allocations: 14.42 kB / 432.5 MB, free: 2.055 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2003, allocations: 0 / 432.5 MB, free: 2.055 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002024/0.2005, allocations: 17.17 kB / 432.6 MB, free: 2.055 MB / 410.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.0001436/0.2007, allocations: 97.39 kB / 432.6 MB, free: 1.988 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.073e-05/0.2007, allocations: 15.62 kB / 432.7 MB, free: 1.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.2007, allocations: 1.406 kB / 432.7 MB, free: 1.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.128e-05/0.2007, allocations: 11.11 kB / 432.7 MB, free: 1.973 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.2009, allocations: 11.69 kB / 432.7 MB, free: 1.973 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007258/0.2016, allocations: 137.5 kB / 432.8 MB, free: 1.867 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.8e-05/0.2016, allocations: 58.86 kB / 432.9 MB, free: 1.797 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.35e-05/0.2017, allocations: 2.531 kB / 432.9 MB, free: 1.797 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.2017, allocations: 49.66 kB / 432.9 MB, free: 1.754 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.2017, allocations: 4.438 kB / 432.9 MB, free: 1.754 MB / 410.7 MB Notification: Performance of Templates: time 0.002257/0.204, allocations: 0.7613 MB / 433.7 MB, free: 1.734 MB / 410.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.388205408118665]