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.0006814/0.0006814, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008965/0.001578, allocations: 435.8 kB / 10.33 MB, free: 368 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.001083/0.001083, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008825/0.001965, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9578/0.9578, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08355/1.041, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.001244/0.001244, allocations: 236.3 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009554/0.002199, allocations: 470.9 kB / 244.7 MB, free: 14.18 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.7361/0.7361, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07902/0.8151, allocations: 42.4 MB / 426.5 MB, free: 5.945 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.613e-06/1.613e-06, allocations: 0 / 427.8 MB, free: 4.613 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.267e-05, allocations: 2.312 kB / 427.8 MB, free: 4.609 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002708/0.00273, allocations: 1.565 MB / 429.4 MB, free: 3.031 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009053/0.003636, allocations: 0.6083 MB / 430 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.68e-05/0.003682, allocations: 0 / 430 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.003706, allocations: 3.938 kB / 430 MB, free: 2.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.234e-05/0.003739, allocations: 15.88 kB / 430 MB, free: 2.395 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.003924, allocations: 55.8 kB / 430 MB, free: 2.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.004015, allocations: 31.86 kB / 430.1 MB, free: 2.309 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.8e-05/0.004093, allocations: 11.92 kB / 430.1 MB, free: 2.297 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.004221, allocations: 27.91 kB / 430.1 MB, free: 2.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.803e-05/0.004269, allocations: 8 kB / 430.1 MB, free: 2.262 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.004285, allocations: 4 kB / 430.1 MB, free: 2.258 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.004427, allocations: 55.95 kB / 430.2 MB, free: 2.203 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.004441, allocations: 11.94 kB / 430.2 MB, free: 2.191 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.641e-05/0.004457, allocations: 4 kB / 430.2 MB, free: 2.188 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.004612, allocations: 67.69 kB / 430.3 MB, free: 2.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.54e-05/0.004628, allocations: 0 / 430.3 MB, free: 2.121 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004628, allocations: 0 / 430.3 MB, free: 2.121 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.004646, allocations: 0 / 430.3 MB, free: 2.121 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.0003758/0.005021, allocations: 268.4 kB / 430.5 MB, free: 1.836 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.005054, allocations: 11.98 kB / 430.5 MB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.005213, allocations: 90.03 kB / 430.6 MB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.005347, allocations: 113.7 kB / 430.7 MB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.005355, allocations: 4.375 kB / 430.7 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-06/0.005361, allocations: 384 / 430.7 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/0.005452, allocations: 58.94 kB / 430.8 MB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.005459, allocations: 192 / 430.8 MB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.005466, allocations: 384 / 430.8 MB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.005474, allocations: 7.922 kB / 430.8 MB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.667e-05/0.005501, allocations: 7.938 kB / 430.8 MB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.005696, allocations: 148.2 kB / 431 MB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.16e-05/0.005748, allocations: 22.58 kB / 431 MB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.005764, allocations: 8.922 kB / 431 MB, free: 1.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003283/0.006092, allocations: 75.95 kB / 431.1 MB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.006115, allocations: 30.56 kB / 431.1 MB, free: 1.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.006116, allocations: 0 / 431.1 MB, free: 1.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001249/0.006241, allocations: 49.56 kB / 431.1 MB, free: 1.125 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.006283, allocations: 55.34 kB / 431.2 MB, free: 1.059 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.895e-05/0.006352, allocations: 118.6 kB / 431.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.006364, allocations: 29.83 kB / 431.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.006399, allocations: 92.11 kB / 431.4 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.006415, allocations: 3.953 kB / 431.4 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.006442, allocations: 9.719 kB / 431.4 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.006549, allocations: 318.8 kB / 431.8 MB, free: 472 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-06/0.006557, allocations: 0 / 431.8 MB, free: 472 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-06/0.006567, allocations: 7.984 kB / 431.8 MB, free: 464 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.998e-05/0.006597, allocations: 16.8 kB / 431.8 MB, free: 444 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.006599, allocations: 0 / 431.8 MB, free: 444 kB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.29e-05/0.006652, allocations: 41.75 kB / 431.8 MB, free: 396 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.006664, allocations: 4 kB / 431.8 MB, free: 392 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006668, allocations: 0 / 431.8 MB, free: 392 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.006678, allocations: 3.938 kB / 431.8 MB, free: 388 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.683e-05/0.006734, allocations: 4 kB / 431.8 MB, free: 384 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.006739, allocations: 4 kB / 431.8 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.006756, allocations: 0 / 431.8 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.006761, allocations: 3.984 kB / 431.8 MB, free: 376 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 5.239e-05/0.006813, allocations: 105.8 kB / 431.9 MB, free: 260 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.006833, allocations: 4 kB / 432 MB, free: 256 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.727e-05/0.00691, allocations: 53.28 kB / 432 MB, free: 200 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.006913, allocations: 3.938 kB / 432 MB, free: 196 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.006915, allocations: 0 / 432 MB, free: 196 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.006917, allocations: 0 / 432 MB, free: 196 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.007023, allocations: 69.88 kB / 432.1 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.007024, allocations: 4 kB / 432.1 MB, free: 104 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.007049, allocations: 4 kB / 432.1 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-06/0.007055, allocations: 3.984 kB / 432.1 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.007057, allocations: 0 / 432.1 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.007062, allocations: 4 kB / 432.1 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.007065, allocations: 7.969 kB / 432.1 MB, free: 84 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007066, allocations: 4 kB / 432.1 MB, free: 80 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.195/0.2021, allocations: 125.5 kB / 432.2 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.2021, allocations: 1.375 kB / 432.2 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.237e-05/0.2022, allocations: 2.594 kB / 432.2 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.2022, allocations: 4.875 kB / 432.2 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.2022, allocations: 3.484 kB / 432.2 MB, free: 2.207 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.204e-05/0.2022, allocations: 13.91 kB / 432.3 MB, free: 2.199 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2022, allocations: 0 / 432.3 MB, free: 2.199 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.2024, allocations: 18.14 kB / 432.3 MB, free: 2.199 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.0001504/0.2025, allocations: 100.1 kB / 432.4 MB, free: 2.133 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.726e-05/0.2026, allocations: 12.72 kB / 432.4 MB, free: 2.125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.2026, allocations: 1.812 kB / 432.4 MB, free: 2.125 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.308e-05/0.2026, allocations: 14.45 kB / 432.4 MB, free: 2.117 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001076/0.2027, allocations: 7.25 kB / 432.4 MB, free: 2.117 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/0.2033, allocations: 139.7 kB / 432.5 MB, free: 2.012 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.461e-05/0.2033, allocations: 55.06 kB / 432.6 MB, free: 1.941 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.139e-05/0.2034, allocations: 3.062 kB / 432.6 MB, free: 1.941 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.2034, allocations: 50.97 kB / 432.6 MB, free: 1.898 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2034, allocations: 1.188 kB / 432.6 MB, free: 1.898 MB / 410.7 MB Notification: Performance of Templates: time 0.00219/0.2056, allocations: 0.7568 MB / 433.4 MB, free: 1.879 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.4066359167918563]