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.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 102.1 kB / 16.94 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 191.6 kB / 17.86 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 241.6 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8084/0.8084, allocations: 125.4 MB / 417.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 79.86 kB / 0.4948 GB, free: 4.449 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3473, allocations: 78.55 MB / 0.5715 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002489/0.3499, allocations: 1.454 MB / 0.5729 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003759/0.3503, allocations: 147 kB / 0.5731 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.3503, allocations: 1.125 kB / 0.5731 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.199e-05/0.3503, allocations: 5.266 kB / 0.5731 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.21e-05/0.3504, allocations: 6.828 kB / 0.5731 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.3507, allocations: 32.81 kB / 0.5731 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.3508, allocations: 40.33 kB / 0.5731 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.3509, allocations: 23.97 kB / 0.5732 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.444e-05/0.351, allocations: 16.25 kB / 0.5732 GB, free: 30.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.774e-05/0.351, allocations: 18.06 kB / 0.5732 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3511, allocations: 3.719 kB / 0.5732 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.3512, allocations: 39.61 kB / 0.5732 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.3512, allocations: 11.05 kB / 0.5733 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.3512, allocations: 21.69 kB / 0.5733 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.3514, allocations: 57.27 kB / 0.5733 GB, free: 30.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3514, allocations: 5.734 kB / 0.5733 GB, free: 30.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3514, allocations: 0.7188 kB / 0.5733 GB, free: 30.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3514, allocations: 0 / 0.5733 GB, free: 30.17 MB / 446.1 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.0004234/0.3518, allocations: 365.7 kB / 0.5737 GB, free: 29.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3519, allocations: 10.09 kB / 0.5737 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.353, allocations: 210.9 kB / 0.5739 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.07e-05/0.3531, allocations: 173 kB / 0.5741 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3531, allocations: 2.375 kB / 0.5741 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.3531, allocations: 6.531 kB / 0.5741 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.3537, allocations: 189.5 kB / 0.5743 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3538, allocations: 3.969 kB / 0.5743 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.3538, allocations: 3.938 kB / 0.5743 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3538, allocations: 0 / 0.5743 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008926/0.3547, allocations: 281.8 kB / 0.5745 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008848/0.3556, allocations: 448 kB / 0.575 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.3567, allocations: 289.3 kB / 0.5752 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.3571, allocations: 107.2 kB / 0.5753 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.3572, allocations: 1.938 kB / 0.5753 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.3572, allocations: 32.67 kB / 0.5754 GB, free: 29.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.512e-06/0.3572, allocations: 1.156 kB / 0.5754 GB, free: 29.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001205/0.3584, allocations: 314.5 kB / 0.5757 GB, free: 28.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.3584, allocations: 52.69 kB / 0.5757 GB, free: 28.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.318e-05/0.3585, allocations: 122.6 kB / 0.5758 GB, free: 28.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.3585, allocations: 26.61 kB / 0.5759 GB, free: 28.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.3586, allocations: 92.52 kB / 0.5759 GB, free: 28.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.3586, allocations: 5.297 kB / 0.576 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.3587, allocations: 20.59 kB / 0.576 GB, free: 28.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.089e-05/0.3587, allocations: 320.6 kB / 0.5763 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.3591, allocations: 97.95 kB / 0.5764 GB, free: 28.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.3595, allocations: 92.42 kB / 0.5765 GB, free: 28.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006961/0.3602, allocations: 176.4 kB / 0.5766 GB, free: 28.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3602, allocations: 0 / 0.5766 GB, free: 28.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007562/0.361, allocations: 214 kB / 0.5768 GB, free: 28.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.361, allocations: 7.25 kB / 0.5768 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.361, allocations: 0.5625 kB / 0.5768 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.361, allocations: 0 / 0.5768 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.3613, allocations: 34.8 kB / 0.5769 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3613, allocations: 0.625 kB / 0.5769 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.3615, allocations: 33.25 kB / 0.5769 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3616, allocations: 2.312 kB / 0.5769 GB, free: 28.21 MB / 446.1 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.75e-05/0.3616, allocations: 120.3 kB / 0.577 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.3617, allocations: 5.812 kB / 0.577 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.3617, allocations: 6.328 kB / 0.577 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3617, allocations: 1.719 kB / 0.577 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3617, allocations: 0 / 0.577 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3617, allocations: 0 / 0.577 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.3619, allocations: 215.4 kB / 0.5772 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3619, allocations: 6.625 kB / 0.5772 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.3622, allocations: 39.5 kB / 0.5773 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3622, allocations: 0 / 0.5773 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3622, allocations: 1.891 kB / 0.5773 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.3622, allocations: 2.344 kB / 0.5773 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3622, allocations: 0 / 0.5773 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007528/0.363, allocations: 319.2 kB / 0.5776 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.363, allocations: 78.48 kB / 0.5777 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.363, allocations: 1.375 kB / 0.5777 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.3633, allocations: 25.7 kB / 0.5777 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.3633, allocations: 6.641 kB / 0.5777 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.3633, allocations: 1.375 kB / 0.5777 GB, free: 27.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.954e-05/0.3634, allocations: 103.1 kB / 0.5778 GB, free: 27.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3634, allocations: 3.938 kB / 0.5778 GB, free: 27.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.3636, allocations: 13.78 kB / 0.5778 GB, free: 27.43 MB / 446.1 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 9.034e-05/0.3637, allocations: 98.31 kB / 0.5779 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007496/0.3645, allocations: 197.5 kB / 0.5781 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3645, allocations: 0.6562 kB / 0.5781 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.3648, allocations: 101.2 kB / 0.5782 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.3651, allocations: 9.922 kB / 0.5782 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008952/0.366, allocations: 290 kB / 0.5785 GB, free: 26.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.3661, allocations: 0.689 MB / 0.5792 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.956e-05/0.3662, allocations: 13.95 kB / 0.5792 GB, free: 26.26 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3662, allocations: 0 / 0.5792 GB, free: 26.26 MB / 446.1 MB Notification: Performance of Templates: time 0.002584/0.3688, allocations: 1.169 MB / 0.5803 GB, free: 25.7 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.makefile (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)