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.001381/0.001381, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.00142/0.00142, allocations: 216.9 kB / 23.01 MB, free: 4.566 MB / 14.72 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.365/1.365, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 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.0025/0.0025, allocations: 284.3 kB / 313.5 MB, free: 2.801 MB / 238.1 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.184/1.184, allocations: 180.6 MB / 0.5377 GB, free: 13.01 MB / 382.1 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.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002826, allocations: 97.75 kB / 0.7408 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1883, allocations: 95.39 MB / 0.834 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002617/0.191, allocations: 1.503 MB / 0.8354 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003955/0.1914, allocations: 144.4 kB / 0.8356 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.1914, allocations: 0 / 0.8356 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.97e-05/0.1914, allocations: 0 / 0.8356 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.1915, allocations: 11.94 kB / 0.8356 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.1917, allocations: 27.91 kB / 0.8356 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.1918, allocations: 47.83 kB / 0.8357 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1919, allocations: 19.92 kB / 0.8357 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.024e-05/0.192, allocations: 12 kB / 0.8357 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.431e-05/0.192, allocations: 23.86 kB / 0.8357 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.192, allocations: 4 kB / 0.8357 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-05/0.1921, allocations: 31.97 kB / 0.8357 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.1921, allocations: 4 kB / 0.8357 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.1922, allocations: 35.84 kB / 0.8358 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1923, allocations: 63.69 kB / 0.8358 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1923, allocations: 0 / 0.8358 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1923, allocations: 0 / 0.8358 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.1923, allocations: 0 / 0.8358 GB, free: 6.148 MB / 0.5762 GB 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.0004452/0.1928, allocations: 290.1 kB / 0.8361 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1928, allocations: 9.938 kB / 0.8361 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009992/0.1938, allocations: 216.5 kB / 0.8363 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1939, allocations: 114.5 kB / 0.8364 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1939, allocations: 384 / 0.8364 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.1939, allocations: 4.375 kB / 0.8364 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.1945, allocations: 194 kB / 0.8366 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1945, allocations: 4.125 kB / 0.8366 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1945, allocations: 3.938 kB / 0.8366 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1945, allocations: 0 / 0.8366 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007665/0.1953, allocations: 283.6 kB / 0.8369 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008685/0.1961, allocations: 408.2 kB / 0.8373 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.1971, allocations: 290.1 kB / 0.8376 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.1975, allocations: 96.8 kB / 0.8377 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.1975, allocations: 7.984 kB / 0.8377 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.1975, allocations: 30.56 kB / 0.8377 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1975, allocations: 4 kB / 0.8377 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.00107/0.1986, allocations: 305.3 kB / 0.838 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.1986, allocations: 51.41 kB / 0.838 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.1987, allocations: 121.8 kB / 0.8382 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.1987, allocations: 25.7 kB / 0.8382 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.1988, allocations: 92.5 kB / 0.8383 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1988, allocations: 15.97 kB / 0.8383 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.1989, allocations: 13.72 kB / 0.8383 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.199, allocations: 326.8 kB / 0.8386 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.1993, allocations: 99.75 kB / 0.8387 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.1996, allocations: 96.06 kB / 0.8388 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.2002, allocations: 176.7 kB / 0.839 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2002, allocations: 0 / 0.839 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006713/0.2009, allocations: 217.4 kB / 0.8392 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2009, allocations: 7.984 kB / 0.8392 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2009, allocations: 0 / 0.8392 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2009, allocations: 0 / 0.8392 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.2012, allocations: 31.95 kB / 0.8392 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2012, allocations: 0 / 0.8392 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.2014, allocations: 43.84 kB / 0.8393 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2014, allocations: 3.984 kB / 0.8393 GB, free: 2.449 MB / 0.5762 GB 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 8.878e-05/0.2015, allocations: 114.4 kB / 0.8394 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.2015, allocations: 4 kB / 0.8394 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.2015, allocations: 8 kB / 0.8394 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.2015, allocations: 3.984 kB / 0.8394 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2015, allocations: 4 kB / 0.8394 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2015, allocations: 4 kB / 0.8394 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.2018, allocations: 180.6 kB / 0.8396 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2018, allocations: 0 / 0.8396 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.202, allocations: 27.95 kB / 0.8396 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.202, allocations: 4 kB / 0.8396 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.202, allocations: 0 / 0.8396 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.202, allocations: 7.984 kB / 0.8396 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.202, allocations: 0 / 0.8396 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.2027, allocations: 320.8 kB / 0.8399 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.2027, allocations: 3.953 kB / 0.8399 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.2028, allocations: 8 kB / 0.8399 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.203, allocations: 27.95 kB / 0.8399 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.203, allocations: 7.984 kB / 0.84 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.203, allocations: 0 / 0.84 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.948e-05/0.2031, allocations: 91.27 kB / 0.84 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2031, allocations: 0 / 0.84 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000221/0.2033, allocations: 16.28 kB / 0.8401 GB, free: 1.559 MB / 0.5762 GB 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.0001102/0.2034, allocations: 107.1 kB / 0.8402 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006909/0.2041, allocations: 199.7 kB / 0.8403 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.2041, allocations: 3.938 kB / 0.8404 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003258/0.2044, allocations: 99.88 kB / 0.8404 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.2046, allocations: 11.94 kB / 0.8405 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008658/0.2055, allocations: 279.1 kB / 0.8407 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.2058, allocations: 0.6846 MB / 0.8414 GB, free: 124 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.2059, allocations: 19.42 kB / 0.8414 GB, free: 104 kB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.2059, allocations: 0 / 0.8414 GB, free: 104 kB / 0.5762 GB Notification: Performance of Templates: time 0.002581/0.2085, allocations: 1.179 MB / 0.8426 GB, free: 14.93 MB / 0.5919 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.936146950116381] Failed to read output from testmodel.py, exit status != 0: 0.2153309800196439 0.22941483999999995 0.034204145000000005 Calling exit ...