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.001389/0.001389, allocations: 76.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.001333/0.001333, allocations: 176.9 kB / 23.36 MB, free: 1.125 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 0.9936/0.9936, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.002621/0.002621, allocations: 241.9 kB / 260.5 MB, free: 12.69 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.7066/0.7066, allocations: 138.4 MB / 402.2 MB, free: 0.543 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.723e-06/1.723e-06, allocations: 0 / 462.3 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.393e-05, allocations: 7.344 kB / 462.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.003229/0.003253, allocations: 1.521 MB / 463.8 MB, free: 15.89 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004697/0.003723, allocations: 142.8 kB / 464 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.003759, allocations: 2.438 kB / 464 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.991e-05/0.003809, allocations: 4.594 kB / 464 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.003883, allocations: 3.734 kB / 464 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.004154, allocations: 35.23 kB / 464 MB, free: 15.78 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.004269, allocations: 42.27 kB / 464.1 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.00438, allocations: 15.58 kB / 464.1 MB, free: 15.76 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.00445, allocations: 24.84 kB / 464.1 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.378e-05/0.004504, allocations: 15.86 kB / 464.1 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.004525, allocations: 4.969 kB / 464.1 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.00463, allocations: 34 kB / 464.2 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.004657, allocations: 15.64 kB / 464.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.00468, allocations: 9.438 kB / 464.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.004833, allocations: 66.19 kB / 464.2 MB, free: 15.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004835, allocations: 0.625 kB / 464.2 MB, free: 15.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.004836, allocations: 0.8438 kB / 464.2 MB, free: 15.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.00484, allocations: 0 / 464.2 MB, free: 15.7 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.0003568/0.005197, allocations: 258.4 kB / 464.5 MB, free: 15.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.005234, allocations: 10.03 kB / 464.5 MB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005363/0.00577, allocations: 77.03 kB / 464.6 MB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.005879, allocations: 120.2 kB / 464.7 MB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.005893, allocations: 2.469 kB / 464.7 MB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.005917, allocations: 4.969 kB / 464.7 MB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.006203, allocations: 109.8 kB / 464.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.006212, allocations: 1.406 kB / 464.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.006229, allocations: 6.953 kB / 464.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.006238, allocations: 0.8906 kB / 464.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.53e-05/0.006324, allocations: 29.95 kB / 464.9 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.006872, allocations: 208.2 kB / 465.1 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.007177, allocations: 70.33 kB / 465.1 MB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.75e-05/0.007225, allocations: 22.78 kB / 465.1 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.007244, allocations: 1.953 kB / 465.1 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.007271, allocations: 34.67 kB / 465.2 MB, free: 15.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.007273, allocations: 0 / 465.2 MB, free: 15.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002351/0.007508, allocations: 55.62 kB / 465.2 MB, free: 14.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.007553, allocations: 52.56 kB / 465.3 MB, free: 14.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.408e-05/0.007647, allocations: 114 kB / 465.4 MB, free: 14.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.007669, allocations: 26.27 kB / 465.4 MB, free: 14.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.007721, allocations: 89.83 kB / 465.5 MB, free: 14.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.007755, allocations: 18.41 kB / 465.5 MB, free: 14.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.007814, allocations: 14.88 kB / 465.5 MB, free: 14.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.007949, allocations: 318.9 kB / 465.9 MB, free: 14.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.00799, allocations: 6.672 kB / 465.9 MB, free: 14.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.008023, allocations: 6.812 kB / 465.9 MB, free: 14.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.701e-05/0.0081, allocations: 23.81 kB / 465.9 MB, free: 14.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.008103, allocations: 0 / 465.9 MB, free: 14.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001335/0.008237, allocations: 45.39 kB / 465.9 MB, free: 14.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.008258, allocations: 9.75 kB / 465.9 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.008264, allocations: 4.625 kB / 466 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.00828, allocations: 1.969 kB / 466 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.008419, allocations: 17.64 kB / 466 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.008423, allocations: 5.406 kB / 466 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.641e-05/0.008509, allocations: 18.73 kB / 466 MB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.008522, allocations: 0.7031 kB / 466 MB, free: 14.28 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 8.149e-05/0.008604, allocations: 110.1 kB / 466.1 MB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.008639, allocations: 4.141 kB / 466.1 MB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.008682, allocations: 15.28 kB / 466.1 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.008685, allocations: 0 / 466.1 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.008689, allocations: 2.531 kB / 466.1 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008692, allocations: 1.453 kB / 466.1 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.00886, allocations: 81.16 kB / 466.2 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.008863, allocations: 1.406 kB / 466.2 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.008972, allocations: 20.45 kB / 466.2 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.008976, allocations: 0.6562 kB / 466.2 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.008987, allocations: 1.797 kB / 466.2 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.008991, allocations: 1.062 kB / 466.2 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.008994, allocations: 3.938 kB / 466.2 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.00917, allocations: 144.5 kB / 466.4 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.009182, allocations: 5.828 kB / 466.4 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.009199, allocations: 3.797 kB / 466.4 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.009311, allocations: 16.91 kB / 466.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.009346, allocations: 7.094 kB / 466.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.009356, allocations: 1.797 kB / 466.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.315e-05/0.009379, allocations: 11.84 kB / 466.4 MB, free: 13.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009379, allocations: 0 / 466.4 MB, free: 13.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.009606, allocations: 12.56 kB / 466.4 MB, free: 13.92 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 0.0001366/0.009743, allocations: 79.02 kB / 466.5 MB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.009875, allocations: 35.52 kB / 466.5 MB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.009881, allocations: 4 kB / 466.5 MB, free: 13.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.424e-05/0.009935, allocations: 17.2 kB / 466.6 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.0002043/0.01014, allocations: 8.25 kB / 466.6 MB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.01062, allocations: 153.6 kB / 466.7 MB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.826e-05/0.01067, allocations: 60.03 kB / 466.8 MB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.632e-05/0.01073, allocations: 6.75 kB / 466.8 MB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.494e-05/0.01083, allocations: 52.47 kB / 466.8 MB, free: 13.59 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01083, allocations: 1.031 kB / 466.8 MB, free: 13.59 MB / 426.7 MB Notification: Performance of Templates: time 0.003478/0.01431, allocations: 0.973 MB / 467.8 MB, free: 12.98 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.621958269737661]