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.001165/0.001165, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001445/0.001445, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.074/1.074, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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.00196/0.00196, allocations: 254.4 kB / 260.5 MB, free: 12.67 MB / 250.7 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 0.761/0.761, allocations: 138.4 MB / 402.2 MB, free: 0.5469 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 462.4 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.778e-05, allocations: 3.125 kB / 462.4 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002354/0.002371, allocations: 1.572 MB / 463.9 MB, free: 15.87 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003503/0.002722, allocations: 141.4 kB / 464.1 MB, free: 15.78 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.002753, allocations: 0 / 464.1 MB, free: 15.78 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.189e-05/0.002794, allocations: 6.875 kB / 464.1 MB, free: 15.78 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.692e-05/0.002861, allocations: 3.562 kB / 464.1 MB, free: 15.78 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.003059, allocations: 27.81 kB / 464.1 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.003162, allocations: 46.19 kB / 464.2 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.49e-05/0.003257, allocations: 13.47 kB / 464.2 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.895e-05/0.003316, allocations: 23.73 kB / 464.2 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.00336, allocations: 20.19 kB / 464.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.003375, allocations: 8.219 kB / 464.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.381e-05/0.003469, allocations: 35.23 kB / 464.3 MB, free: 15.72 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.003485, allocations: 9.047 kB / 464.3 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.003505, allocations: 13.05 kB / 464.3 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.003628, allocations: 62.22 kB / 464.3 MB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00363, allocations: 0.7031 kB / 464.3 MB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 4e-07/0.00363, allocations: 0 / 464.3 MB, free: 15.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.003634, allocations: 3.938 kB / 464.3 MB, free: 15.68 MB / 426.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.00029/0.003924, allocations: 253.5 kB / 464.6 MB, free: 15.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.003954, allocations: 10.53 kB / 464.6 MB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003536/0.004308, allocations: 77.61 kB / 464.7 MB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.004418, allocations: 128.6 kB / 464.8 MB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.004432, allocations: 1.562 kB / 464.8 MB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.004448, allocations: 7.484 kB / 464.8 MB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.004674, allocations: 106.8 kB / 464.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.004682, allocations: 2.156 kB / 464.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.004694, allocations: 384 / 464.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.004701, allocations: 3.812 kB / 464.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.428e-05/0.004765, allocations: 28.73 kB / 464.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.005184, allocations: 207.3 kB / 465.1 MB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.005393, allocations: 76.72 kB / 465.2 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.005426, allocations: 13.08 kB / 465.2 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.005445, allocations: 1.578 kB / 465.2 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.005471, allocations: 33.69 kB / 465.3 MB, free: 15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.005472, allocations: 0.75 kB / 465.3 MB, free: 15 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001662/0.005638, allocations: 59.08 kB / 465.3 MB, free: 14.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.005674, allocations: 55.72 kB / 465.4 MB, free: 14.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.262e-05/0.005747, allocations: 109.8 kB / 465.5 MB, free: 14.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.005762, allocations: 26.77 kB / 465.5 MB, free: 14.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.005806, allocations: 92.14 kB / 465.6 MB, free: 14.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.005844, allocations: 17.8 kB / 465.6 MB, free: 14.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.005883, allocations: 14.56 kB / 465.6 MB, free: 14.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.005978, allocations: 314.5 kB / 465.9 MB, free: 14.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-05/0.006005, allocations: 7.641 kB / 466 MB, free: 14.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.481e-05/0.00603, allocations: 7.344 kB / 466 MB, free: 14.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.64e-05/0.006087, allocations: 22.47 kB / 466 MB, free: 14.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006088, allocations: 0 / 466 MB, free: 14.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.911e-05/0.006177, allocations: 54.39 kB / 466 MB, free: 14.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.006193, allocations: 9.844 kB / 466 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.006198, allocations: 0.7969 kB / 466 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.006211, allocations: 5.375 kB / 466.1 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.006317, allocations: 20.44 kB / 466.1 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.00632, allocations: 1.469 kB / 466.1 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.006372, allocations: 12.91 kB / 466.1 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.006382, allocations: 2.078 kB / 466.1 MB, free: 14.27 MB / 426.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.829e-05/0.006451, allocations: 113.4 kB / 466.2 MB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.006471, allocations: 4.281 kB / 466.2 MB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.928e-05/0.00651, allocations: 15.3 kB / 466.2 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.006513, allocations: 0.7031 kB / 466.2 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.006517, allocations: 1.281 kB / 466.2 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.006521, allocations: 2.75 kB / 466.2 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.006637, allocations: 76.12 kB / 466.3 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.00664, allocations: 0.7031 kB / 466.3 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.202e-05/0.006712, allocations: 19.39 kB / 466.3 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.006713, allocations: 1.281 kB / 466.3 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.006722, allocations: 2.547 kB / 466.3 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.006724, allocations: 0.6094 kB / 466.3 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.006726, allocations: 6.031 kB / 466.3 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.006874, allocations: 152 kB / 466.5 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.006882, allocations: 6.422 kB / 466.5 MB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.006894, allocations: 1.703 kB / 466.5 MB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/0.006961, allocations: 16.19 kB / 466.5 MB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.006989, allocations: 7.531 kB / 466.5 MB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.006994, allocations: 0.6562 kB / 466.5 MB, free: 13.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.71e-05/0.007012, allocations: 13.56 kB / 466.5 MB, free: 13.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007012, allocations: 0 / 466.5 MB, free: 13.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001286/0.00714, allocations: 14.16 kB / 466.5 MB, free: 13.91 MB / 426.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 7.057e-05/0.007211, allocations: 77.09 kB / 466.6 MB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.918e-05/0.0073, allocations: 29.34 kB / 466.6 MB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.007302, allocations: 1.562 kB / 466.6 MB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/0.007338, allocations: 18.05 kB / 466.7 MB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.007469, allocations: 9.594 kB / 466.7 MB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.00779, allocations: 158 kB / 466.8 MB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.714e-05/0.007828, allocations: 60.56 kB / 466.9 MB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.841e-05/0.007866, allocations: 6.547 kB / 466.9 MB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.007936, allocations: 62 kB / 466.9 MB, free: 13.57 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.007936, allocations: 2.344 kB / 466.9 MB, free: 13.57 MB / 426.7 MB Notification: Performance of Templates: time 0.002289/0.01023, allocations: 0.9649 MB / 467.9 MB, free: 12.91 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7229079981334507]