Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.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.0006778/0.0006778, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009456/0.001623, 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.0006889/0.0006889, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00095/0.001639, 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.9356/0.9356, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08394/1.02, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.001627/0.001627, allocations: 223 kB / 244.4 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.002947, allocations: 487.2 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.7096/0.7096, allocations: 138.7 MB / 384.3 MB, free: 384 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06938/0.7789, allocations: 42.4 MB / 426.7 MB, free: 5.836 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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 428.1 MB, free: 4.477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.716e-06/1.019e-05, allocations: 6.312 kB / 428.1 MB, free: 4.469 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.001664/0.001675, allocations: 1.565 MB / 429.7 MB, free: 2.891 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001976/0.001872, allocations: 144.3 kB / 429.8 MB, free: 2.746 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.0019, allocations: 0 / 429.8 MB, free: 2.746 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.001933, allocations: 7.922 kB / 429.8 MB, free: 2.738 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.934e-05/0.001972, allocations: 3.938 kB / 429.8 MB, free: 2.734 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.221e-05/0.002065, allocations: 27.91 kB / 429.8 MB, free: 2.707 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.117e-05/0.002146, allocations: 51.8 kB / 429.9 MB, free: 2.656 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.418e-05/0.00224, allocations: 15.97 kB / 429.9 MB, free: 2.641 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.379e-05/0.002304, allocations: 31.92 kB / 429.9 MB, free: 2.609 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.257e-05/0.002346, allocations: 11.98 kB / 429.9 MB, free: 2.598 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.002359, allocations: 4 kB / 429.9 MB, free: 2.594 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.859e-05/0.002448, allocations: 39.95 kB / 430 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.002466, allocations: 11.94 kB / 430 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.437e-05/0.00248, allocations: 4 kB / 430 MB, free: 2.539 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.002583, allocations: 47.84 kB / 430 MB, free: 2.492 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.002594, allocations: 0 / 430 MB, free: 2.492 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.002594, allocations: 0 / 430 MB, free: 2.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.002606, allocations: 4 kB / 430.1 MB, free: 2.488 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003275/0.002933, allocations: 268.4 kB / 430.3 MB, free: 2.199 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.002963, allocations: 8.031 kB / 430.3 MB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003741/0.003337, allocations: 161.9 kB / 430.5 MB, free: 2.016 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.604e-05/0.003413, allocations: 109.8 kB / 430.6 MB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.003422, allocations: 384 / 430.6 MB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.003436, allocations: 8.375 kB / 430.6 MB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.003598, allocations: 102.8 kB / 430.7 MB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.003604, allocations: 192 / 430.7 MB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.003614, allocations: 4.375 kB / 430.7 MB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.00362, allocations: 4.375 kB / 430.7 MB, free: 1.758 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.034e-05/0.00368, allocations: 31.86 kB / 430.7 MB, free: 1.727 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.004048, allocations: 212.2 kB / 430.9 MB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.004208, allocations: 66.52 kB / 431 MB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.004234, allocations: 16.86 kB / 431 MB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.00425, allocations: 8 kB / 431 MB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.004268, allocations: 34.5 kB / 431.1 MB, free: 1.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.004269, allocations: 0 / 431.1 MB, free: 1.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001469/0.004416, allocations: 57.61 kB / 431.1 MB, free: 1.297 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.004448, allocations: 55.41 kB / 431.2 MB, free: 1.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.937e-05/0.004507, allocations: 110.8 kB / 431.3 MB, free: 1.109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.004523, allocations: 29.7 kB / 431.3 MB, free: 1.074 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.004555, allocations: 88.03 kB / 431.4 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.004577, allocations: 15.94 kB / 431.4 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.004609, allocations: 13.7 kB / 431.4 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.004684, allocations: 314.8 kB / 431.7 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.004704, allocations: 4 kB / 431.7 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.313e-05/0.004727, allocations: 11.98 kB / 431.8 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.974e-05/0.004767, allocations: 24.78 kB / 431.8 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004769, allocations: 4 kB / 431.8 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.593e-05/0.004835, allocations: 45.97 kB / 431.8 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.004847, allocations: 11.84 kB / 431.8 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.004851, allocations: 48 / 431.8 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.004864, allocations: 3.984 kB / 431.8 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/0.004963, allocations: 23.97 kB / 431.9 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.004967, allocations: 0 / 431.9 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.00501, allocations: 15.98 kB / 431.9 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.005018, allocations: 0 / 431.9 MB, free: 492 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 (3): * Single equations (assignments): 3 * 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 6.283e-05/0.005081, allocations: 117.8 kB / 432 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.0051, allocations: 7.984 kB / 432 MB, free: 356 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.005129, allocations: 11.94 kB / 432 MB, free: 344 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005131, allocations: 0 / 432 MB, free: 344 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.005132, allocations: 3.938 kB / 432 MB, free: 340 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.005135, allocations: 4 kB / 432 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.509e-05/0.00523, allocations: 77.84 kB / 432.1 MB, free: 240 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005231, allocations: 0 / 432.1 MB, free: 240 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.005294, allocations: 19.97 kB / 432.1 MB, free: 220 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.005302, allocations: 15.92 kB / 432.1 MB, free: 204 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.005303, allocations: 0 / 432.1 MB, free: 204 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.005311, allocations: 3.938 kB / 432.1 MB, free: 200 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005311, allocations: 0 / 432.1 MB, free: 200 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.005313, allocations: 0 / 432.1 MB, free: 200 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.005413, allocations: 143.5 kB / 432.3 MB, free: 40 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.005424, allocations: 0 / 432.3 MB, free: 40 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.789e-05/0.005482, allocations: 23.91 kB / 432.3 MB, free: 16 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.005508, allocations: 3.938 kB / 432.3 MB, free: 12 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.005512, allocations: 4 kB / 432.3 MB, free: 8 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1828/0.1884, allocations: 13.41 kB / 432.3 MB, free: 2.645 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1884, allocations: 1.125 kB / 432.3 MB, free: 2.645 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.1885, allocations: 11.62 kB / 432.3 MB, free: 2.645 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 (3): * Single equations (assignments): 3 * 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.0001178/0.1886, allocations: 74.27 kB / 432.4 MB, free: 2.578 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.1888, allocations: 23.77 kB / 432.4 MB, free: 2.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/0.1888, allocations: 1.375 kB / 432.4 MB, free: 2.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.1888, allocations: 20.67 kB / 432.4 MB, free: 2.562 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.189, allocations: 43.7 kB / 432.5 MB, free: 2.531 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.1895, allocations: 158.8 kB / 432.6 MB, free: 2.426 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.316e-05/0.1895, allocations: 61.88 kB / 432.7 MB, free: 2.355 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.85e-05/0.1895, allocations: 5.25 kB / 432.7 MB, free: 2.355 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.1896, allocations: 58.3 kB / 432.8 MB, free: 2.312 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1896, allocations: 0 / 432.8 MB, free: 2.312 MB / 410.7 MB Notification: Performance of Templates: time 0.002333/0.1919, allocations: 0.9749 MB / 433.7 MB, free: 2.281 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.350602585822344]