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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8402/0.8402, allocations: 143.4 MB / 159.2 MB, free: 4.941 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 198 kB / 191.9 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 447.3 MB, free: 5.887 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 111.2 kB / 0.517 GB, free: 3.73 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001863/0.001863, allocations: 272.8 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 83.88 kB / 0.6885 GB, free: 3.855 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3532, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002583/0.3558, allocations: 1.528 MB / 0.7694 GB, free: 26.15 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003866/0.3562, allocations: 147.5 kB / 0.7696 GB, free: 26.01 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.3563, allocations: 1.594 kB / 0.7696 GB, free: 26.01 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 4.622e-05/0.3563, allocations: 0 / 0.7696 GB, free: 26.01 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.3564, allocations: 7.938 kB / 0.7696 GB, free: 26 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.3566, allocations: 23.12 kB / 0.7696 GB, free: 25.98 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.307e-05/0.3567, allocations: 47.78 kB / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3568, allocations: 22.67 kB / 0.7697 GB, free: 25.91 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.144e-05/0.3569, allocations: 19.92 kB / 0.7697 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.983e-05/0.3569, allocations: 15.92 kB / 0.7697 GB, free: 25.88 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.3569, allocations: 4 kB / 0.7697 GB, free: 25.88 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.484e-05/0.357, allocations: 31.97 kB / 0.7697 GB, free: 25.84 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.357, allocations: 7.922 kB / 0.7697 GB, free: 25.84 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.3571, allocations: 19.92 kB / 0.7697 GB, free: 25.82 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.3572, allocations: 55.81 kB / 0.7698 GB, free: 25.76 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3572, allocations: 0 / 0.7698 GB, free: 25.76 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.3572, allocations: 0 / 0.7698 GB, free: 25.76 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.3572, allocations: 0 / 0.7698 GB, free: 25.76 MB / 458.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.0003957/0.3576, allocations: 363.4 kB / 0.7701 GB, free: 25.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3577, allocations: 12.03 kB / 0.7702 GB, free: 25.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.3587, allocations: 208.5 kB / 0.7704 GB, free: 25.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.3588, allocations: 176.4 kB / 0.7705 GB, free: 24.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.3588, allocations: 384 / 0.7705 GB, free: 24.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.3589, allocations: 4.375 kB / 0.7705 GB, free: 24.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/0.3594, allocations: 190 kB / 0.7707 GB, free: 24.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3594, allocations: 4.125 kB / 0.7707 GB, free: 24.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3594, allocations: 3.938 kB / 0.7707 GB, free: 24.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3595, allocations: 4 kB / 0.7707 GB, free: 24.72 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007588/0.3602, allocations: 279.6 kB / 0.771 GB, free: 24.45 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007966/0.361, allocations: 445 kB / 0.7714 GB, free: 23.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.362, allocations: 286.2 kB / 0.7717 GB, free: 23.67 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.3624, allocations: 104.8 kB / 0.7718 GB, free: 23.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.3624, allocations: 0 / 0.7718 GB, free: 23.57 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.3624, allocations: 34.56 kB / 0.7718 GB, free: 23.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3624, allocations: 0 / 0.7718 GB, free: 23.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.00107/0.3635, allocations: 309.4 kB / 0.7721 GB, free: 23.21 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.3635, allocations: 55.41 kB / 0.7722 GB, free: 23.15 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.657e-05/0.3636, allocations: 125.7 kB / 0.7723 GB, free: 23.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.3637, allocations: 25.7 kB / 0.7723 GB, free: 22.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.3637, allocations: 92.12 kB / 0.7724 GB, free: 22.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.3637, allocations: 15.81 kB / 0.7724 GB, free: 22.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.3638, allocations: 25.7 kB / 0.7724 GB, free: 22.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.3639, allocations: 314.8 kB / 0.7727 GB, free: 22.53 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.3642, allocations: 99.88 kB / 0.7728 GB, free: 22.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.3645, allocations: 95.86 kB / 0.7729 GB, free: 22.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006002/0.3651, allocations: 176.6 kB / 0.7731 GB, free: 22.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3651, allocations: 0 / 0.7731 GB, free: 22.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006726/0.3658, allocations: 213.4 kB / 0.7733 GB, free: 21.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3658, allocations: 8 kB / 0.7733 GB, free: 21.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3658, allocations: 0 / 0.7733 GB, free: 21.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3659, allocations: 0 / 0.7733 GB, free: 21.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.3661, allocations: 35.95 kB / 0.7733 GB, free: 21.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3662, allocations: 0 / 0.7733 GB, free: 21.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.3663, allocations: 35.88 kB / 0.7734 GB, free: 21.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.3664, allocations: 0 / 0.7734 GB, free: 21.87 MB / 458.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 7.8e-05/0.3665, allocations: 121.8 kB / 0.7735 GB, free: 21.74 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.3665, allocations: 7.906 kB / 0.7735 GB, free: 21.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.3665, allocations: 7.891 kB / 0.7735 GB, free: 21.72 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3666, allocations: 8 kB / 0.7735 GB, free: 21.71 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3666, allocations: 0 / 0.7735 GB, free: 21.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3666, allocations: 0 / 0.7735 GB, free: 21.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.3668, allocations: 209.5 kB / 0.7737 GB, free: 21.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3668, allocations: 0 / 0.7737 GB, free: 21.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.367, allocations: 35.95 kB / 0.7737 GB, free: 21.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.367, allocations: 4 kB / 0.7738 GB, free: 21.42 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.367, allocations: 3.984 kB / 0.7738 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.367, allocations: 0 / 0.7738 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.367, allocations: 0 / 0.7738 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.3682, allocations: 0.9696 MB / 0.7747 GB, free: 20.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.3683, allocations: 85.09 kB / 0.7748 GB, free: 20.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.3683, allocations: 0 / 0.7748 GB, free: 20.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.3685, allocations: 35.89 kB / 0.7748 GB, free: 20.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.3685, allocations: 7.938 kB / 0.7748 GB, free: 20.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.3686, allocations: 384 / 0.7748 GB, free: 20.24 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.64e-05/0.3686, allocations: 103.1 kB / 0.7749 GB, free: 20.14 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3686, allocations: 0 / 0.7749 GB, free: 20.14 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003123/0.3689, allocations: 15.91 kB / 0.7749 GB, free: 20.12 MB / 458.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.0001188/0.369, allocations: 99.77 kB / 0.775 GB, free: 20.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006952/0.3697, allocations: 191.8 kB / 0.7752 GB, free: 19.83 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3698, allocations: 8 kB / 0.7752 GB, free: 19.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.3701, allocations: 99.86 kB / 0.7753 GB, free: 19.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.3704, allocations: 15.33 kB / 0.7753 GB, free: 19.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008599/0.3712, allocations: 373.8 kB / 0.7757 GB, free: 19.31 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.3713, allocations: 0.6887 MB / 0.7764 GB, free: 18.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.614e-05/0.3714, allocations: 20.23 kB / 0.7764 GB, free: 18.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.3715, allocations: 11.44 kB / 0.7764 GB, free: 18.57 MB / 458.7 MB Notification: Performance of SimCode: time 3.9e-07/0.3715, allocations: 0 / 0.7764 GB, free: 18.57 MB / 458.7 MB Notification: Performance of Templates: time 0.002341/0.3738, allocations: 0.8675 MB / 0.7772 GB, free: 17.7 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile (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)