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.001345/0.001345, allocations: 76.67 kB / 20.51 MB, free: 1.129 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.001425/0.001425, allocations: 161.1 kB / 23.76 MB, free: 4.207 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.403/1.403, allocations: 177.2 MB / 204.1 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9192/0.9192, allocations: 113.9 MB / 374.5 MB, free: 12.91 MB / 350.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.002219/0.002219, allocations: 63.89 kB / 0.555 GB, free: 2.777 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1554, allocations: 89.14 MB / 0.6421 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.00262/0.158, allocations: 1.468 MB / 0.6435 GB, free: 8.105 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003883/0.1584, allocations: 139.5 kB / 0.6437 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.1584, allocations: 0 / 0.6437 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/0.1584, allocations: 4 kB / 0.6437 GB, free: 7.965 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.549e-05/0.1585, allocations: 3.938 kB / 0.6437 GB, free: 7.961 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.1587, allocations: 31.89 kB / 0.6437 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.383e-05/0.1588, allocations: 43.91 kB / 0.6437 GB, free: 7.887 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1589, allocations: 16 kB / 0.6437 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.1589, allocations: 15.92 kB / 0.6438 GB, free: 7.855 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.478e-05/0.159, allocations: 19.92 kB / 0.6438 GB, free: 7.836 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.159, allocations: 4 kB / 0.6438 GB, free: 7.832 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.61e-05/0.1591, allocations: 31.95 kB / 0.6438 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.1591, allocations: 11.94 kB / 0.6438 GB, free: 7.789 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.1591, allocations: 23.86 kB / 0.6439 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.1593, allocations: 67.67 kB / 0.6439 GB, free: 7.699 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1593, allocations: 0 / 0.6439 GB, free: 7.699 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1593, allocations: 0 / 0.6439 GB, free: 7.699 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1593, allocations: 4 kB / 0.6439 GB, free: 7.695 MB / 0.545 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.0004525/0.1597, allocations: 294.1 kB / 0.6442 GB, free: 7.375 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.1598, allocations: 8.031 kB / 0.6442 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.1609, allocations: 200.6 kB / 0.6444 GB, free: 7.172 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.161, allocations: 122.4 kB / 0.6445 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.161, allocations: 8.375 kB / 0.6445 GB, free: 7.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.161, allocations: 384 / 0.6445 GB, free: 7.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/0.1616, allocations: 198 kB / 0.6447 GB, free: 6.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1616, allocations: 4.125 kB / 0.6447 GB, free: 6.816 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1616, allocations: 3.938 kB / 0.6447 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1616, allocations: 0 / 0.6447 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009001/0.1625, allocations: 279.6 kB / 0.645 GB, free: 6.539 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008907/0.1634, allocations: 369.2 kB / 0.6453 GB, free: 6.145 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.1646, allocations: 286.1 kB / 0.6456 GB, free: 5.855 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.165, allocations: 104.8 kB / 0.6457 GB, free: 5.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.165, allocations: 0 / 0.6457 GB, free: 5.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.165, allocations: 34.56 kB / 0.6457 GB, free: 5.707 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.165, allocations: 0 / 0.6457 GB, free: 5.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001221/0.1663, allocations: 309.3 kB / 0.646 GB, free: 5.398 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.1663, allocations: 51.41 kB / 0.6461 GB, free: 5.336 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.559e-05/0.1664, allocations: 113.8 kB / 0.6462 GB, free: 5.215 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.1664, allocations: 29.64 kB / 0.6462 GB, free: 5.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.1665, allocations: 92.08 kB / 0.6463 GB, free: 5.086 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.1665, allocations: 11.89 kB / 0.6463 GB, free: 5.074 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.1665, allocations: 17.72 kB / 0.6463 GB, free: 5.051 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1667, allocations: 314.8 kB / 0.6466 GB, free: 4.734 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/0.167, allocations: 99.88 kB / 0.6467 GB, free: 4.637 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.1674, allocations: 91.88 kB / 0.6468 GB, free: 4.547 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007043/0.1681, allocations: 176.6 kB / 0.647 GB, free: 4.371 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1681, allocations: 0 / 0.647 GB, free: 4.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007814/0.1689, allocations: 217.4 kB / 0.6472 GB, free: 4.152 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1689, allocations: 4 kB / 0.6472 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1689, allocations: 7.922 kB / 0.6472 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.169, allocations: 0 / 0.6472 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.1692, allocations: 35.95 kB / 0.6472 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1692, allocations: 0 / 0.6472 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.1694, allocations: 27.95 kB / 0.6473 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.1694, allocations: 3.984 kB / 0.6473 GB, free: 4.074 MB / 0.545 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 9.323e-05/0.1695, allocations: 125.7 kB / 0.6474 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.1696, allocations: 4 kB / 0.6474 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.1696, allocations: 4 kB / 0.6474 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1696, allocations: 0 / 0.6474 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1696, allocations: 3.984 kB / 0.6474 GB, free: 3.922 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1696, allocations: 4 kB / 0.6474 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.1698, allocations: 145.2 kB / 0.6476 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1698, allocations: 0 / 0.6476 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.17, allocations: 35.95 kB / 0.6476 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.17, allocations: 0 / 0.6476 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1701, allocations: 3.984 kB / 0.6476 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1701, allocations: 0 / 0.6476 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1701, allocations: 4 kB / 0.6476 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008469/0.1709, allocations: 315.2 kB / 0.6479 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-06/0.1709, allocations: 0 / 0.6479 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1709, allocations: 4 kB / 0.6479 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.1712, allocations: 31.89 kB / 0.6479 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.1712, allocations: 3.984 kB / 0.6479 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.1712, allocations: 8 kB / 0.6479 GB, free: 3.332 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.1713, allocations: 83.28 kB / 0.648 GB, free: 3.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1713, allocations: 0 / 0.648 GB, free: 3.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002417/0.1715, allocations: 15.95 kB / 0.648 GB, free: 3.234 MB / 0.545 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.0001065/0.1716, allocations: 103.2 kB / 0.6481 GB, free: 3.125 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000797/0.1724, allocations: 191.8 kB / 0.6483 GB, free: 2.938 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1724, allocations: 0 / 0.6483 GB, free: 2.938 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.1728, allocations: 112.3 kB / 0.6484 GB, free: 2.828 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.173, allocations: 6.125 kB / 0.6484 GB, free: 2.824 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009168/0.174, allocations: 257.2 kB / 0.6487 GB, free: 2.547 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.87e-05/0.174, allocations: 79.33 kB / 0.6487 GB, free: 2.449 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.195e-05/0.1741, allocations: 15.98 kB / 0.6488 GB, free: 2.434 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.1742, allocations: 8.5 kB / 0.6488 GB, free: 2.426 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.1742, allocations: 8 kB / 0.6488 GB, free: 2.418 MB / 0.545 GB Notification: Performance of Templates: time 0.00331/0.1775, allocations: 0.9606 MB / 0.6497 GB, free: 1.473 MB / 0.545 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.268106126924977] Failed to read output from testmodel.py, exit status != 0: 0.18567475106101483 0.199765979 0.037460157 Calling exit ...