Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001921/0.001921, allocations: 104.3 kB / 20.45 MB, free: 1.383 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.001683/0.001683, allocations: 205.9 kB / 23.74 MB, free: 4.543 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.019/1.019, allocations: 149.9 MB / 463.8 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: IBPSA 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.002139/0.002139, allocations: 72.02 kB / 0.6423 GB, free: 9.645 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1936, allocations: 89.17 MB / 0.7294 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.003447/0.1971, allocations: 1.471 MB / 0.7308 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004577/0.1975, allocations: 139.6 kB / 0.731 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.1976, allocations: 0 / 0.731 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.913e-05/0.1976, allocations: 7.938 kB / 0.731 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.067e-05/0.1977, allocations: 7.922 kB / 0.731 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.1979, allocations: 31.91 kB / 0.731 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.198, allocations: 39.91 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.1982, allocations: 23.92 kB / 0.7311 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.572e-05/0.1982, allocations: 15.98 kB / 0.7311 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.525e-05/0.1983, allocations: 19.86 kB / 0.7311 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1983, allocations: 4 kB / 0.7311 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.71e-05/0.1984, allocations: 35.97 kB / 0.7311 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.1984, allocations: 4 kB / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.1984, allocations: 19.92 kB / 0.7312 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.1986, allocations: 67.73 kB / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1986, allocations: 0 / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1986, allocations: 0 / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.1986, allocations: 0 / 0.7312 GB, free: 14.65 MB / 0.5606 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.0004914/0.1991, allocations: 290.1 kB / 0.7315 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1991, allocations: 8.031 kB / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.2002, allocations: 212.5 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2003, allocations: 110.5 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.2004, allocations: 4.375 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.2004, allocations: 4.375 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.2009, allocations: 194 kB / 0.732 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.201, allocations: 4.188 kB / 0.732 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.201, allocations: 3.938 kB / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.201, allocations: 7.984 kB / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009315/0.2019, allocations: 279.6 kB / 0.7323 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009487/0.2029, allocations: 373 kB / 0.7326 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.204, allocations: 286.2 kB / 0.7329 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.2044, allocations: 100.8 kB / 0.733 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.2044, allocations: 0 / 0.733 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.2044, allocations: 30.56 kB / 0.733 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2044, allocations: 0 / 0.733 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.001219/0.2057, allocations: 309.3 kB / 0.7333 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.2057, allocations: 55.41 kB / 0.7334 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.2058, allocations: 105.8 kB / 0.7335 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.2058, allocations: 29.64 kB / 0.7335 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.2059, allocations: 100.1 kB / 0.7336 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.2059, allocations: 3.953 kB / 0.7336 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.206, allocations: 21.7 kB / 0.7336 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2061, allocations: 314.8 kB / 0.7339 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.2065, allocations: 95.88 kB / 0.734 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.2069, allocations: 95.88 kB / 0.7341 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006707/0.2075, allocations: 172.6 kB / 0.7343 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2075, allocations: 0 / 0.7343 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007533/0.2083, allocations: 221.3 kB / 0.7345 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2083, allocations: 4 kB / 0.7345 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2083, allocations: 0 / 0.7345 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2083, allocations: 4 kB / 0.7345 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.2086, allocations: 31.95 kB / 0.7345 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2086, allocations: 4 kB / 0.7345 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.2088, allocations: 35.88 kB / 0.7346 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.2088, allocations: 0 / 0.7346 GB, free: 11.04 MB / 0.5606 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 0.0001088/0.2089, allocations: 121.8 kB / 0.7347 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.2089, allocations: 0 / 0.7347 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.209, allocations: 11.98 kB / 0.7347 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.209, allocations: 0 / 0.7347 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.209, allocations: 0 / 0.7347 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.209, allocations: 4 kB / 0.7347 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.2092, allocations: 153.1 kB / 0.7349 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2092, allocations: 0 / 0.7349 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.2094, allocations: 31.95 kB / 0.7349 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2094, allocations: 4 kB / 0.7349 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2094, allocations: 3.984 kB / 0.7349 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2094, allocations: 0 / 0.7349 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2094, allocations: 3.938 kB / 0.7349 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000813/0.2102, allocations: 315.6 kB / 0.7352 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-06/0.2103, allocations: 4 kB / 0.7352 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.2103, allocations: 4 kB / 0.7352 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.2105, allocations: 23.95 kB / 0.7352 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.2105, allocations: 7.984 kB / 0.7352 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.2105, allocations: 4 kB / 0.7352 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.984e-05/0.2106, allocations: 91.58 kB / 0.7353 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2106, allocations: 0 / 0.7353 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002381/0.2108, allocations: 15.95 kB / 0.7353 GB, free: 10.19 MB / 0.5606 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.0001204/0.211, allocations: 91.25 kB / 0.7354 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007802/0.2117, allocations: 199.7 kB / 0.7356 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2117, allocations: 0 / 0.7356 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003672/0.2121, allocations: 103.8 kB / 0.7357 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.2124, allocations: 10.2 kB / 0.7357 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009567/0.2133, allocations: 283 kB / 0.736 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.68e-05/0.2134, allocations: 71.33 kB / 0.7361 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.026e-05/0.2135, allocations: 15.44 kB / 0.7361 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.2135, allocations: 0 / 0.7361 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of Templates: time 0.002847/0.2163, allocations: 1.161 MB / 0.7372 GB, free: 8.211 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.316602731123567] Failed to read output from testmodel.py, exit status != 0: 0.22504827799275517 0.23945500500000003 0.037797099 Calling exit ...