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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 116.2 kB / 17.81 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 187.8 kB / 20.74 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8319/0.8319, allocations: 128.4 MB / 432.4 MB, free: 13.53 MB / 350.1 MB " [Timeout remaining time 179] 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=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: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.91 kB / 0.5987 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.364, allocations: 83.27 MB / 0.68 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002142/0.3661, allocations: 1.457 MB / 0.6815 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003639/0.3665, allocations: 147 kB / 0.6816 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.3665, allocations: 1.375 kB / 0.6816 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.259e-05/0.3665, allocations: 3.938 kB / 0.6816 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.875e-05/0.3666, allocations: 5.25 kB / 0.6816 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.3668, allocations: 44.02 kB / 0.6817 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.964e-05/0.3669, allocations: 37.05 kB / 0.6817 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.367, allocations: 25.34 kB / 0.6817 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.947e-05/0.367, allocations: 13.25 kB / 0.6817 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.007e-05/0.3671, allocations: 18.27 kB / 0.6817 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.3671, allocations: 4.188 kB / 0.6817 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-05/0.3672, allocations: 32.97 kB / 0.6818 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.3672, allocations: 10.36 kB / 0.6818 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.3672, allocations: 20.31 kB / 0.6818 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.3674, allocations: 71.72 kB / 0.6819 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3674, allocations: 0 / 0.6819 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3674, allocations: 0 / 0.6819 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.3674, allocations: 1.062 kB / 0.6819 GB, free: 5.574 MB / 0.4981 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.0003676/0.3677, allocations: 363.8 kB / 0.6822 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.3678, allocations: 9.25 kB / 0.6822 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.3688, allocations: 213.5 kB / 0.6824 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.042e-05/0.3689, allocations: 170.7 kB / 0.6826 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3689, allocations: 6.531 kB / 0.6826 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.3689, allocations: 6.547 kB / 0.6826 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/0.3695, allocations: 200 kB / 0.6828 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3695, allocations: 4.188 kB / 0.6828 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3695, allocations: 3.938 kB / 0.6828 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3695, allocations: 1.281 kB / 0.6828 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008103/0.3703, allocations: 279.7 kB / 0.6831 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007763/0.3711, allocations: 432 kB / 0.6835 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.3722, allocations: 284 kB / 0.6838 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/0.3725, allocations: 100.5 kB / 0.6839 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.3725, allocations: 1.312 kB / 0.6839 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.3726, allocations: 43.7 kB / 0.6839 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3726, allocations: 0 / 0.6839 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001148/0.3737, allocations: 307 kB / 0.6842 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.3737, allocations: 51.41 kB / 0.6842 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.228e-05/0.3738, allocations: 116.7 kB / 0.6843 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.3738, allocations: 26.86 kB / 0.6844 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.3738, allocations: 90.59 kB / 0.6845 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.3739, allocations: 17.25 kB / 0.6845 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.3739, allocations: 17.38 kB / 0.6845 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.212e-05/0.3739, allocations: 328.3 kB / 0.6848 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.3743, allocations: 95.03 kB / 0.6849 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.3746, allocations: 91.53 kB / 0.685 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/0.3753, allocations: 172.5 kB / 0.6852 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3753, allocations: 0 / 0.6852 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007564/0.376, allocations: 220.4 kB / 0.6854 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.376, allocations: 5.219 kB / 0.6854 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3761, allocations: 0 / 0.6854 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3761, allocations: 1.344 kB / 0.6854 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.3763, allocations: 34.12 kB / 0.6854 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3763, allocations: 1.469 kB / 0.6854 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.3765, allocations: 29.73 kB / 0.6854 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.3765, allocations: 9.281 kB / 0.6854 GB, free: 2.785 MB / 0.4981 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 7.905e-05/0.3766, allocations: 122.5 kB / 0.6856 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.3766, allocations: 2.031 kB / 0.6856 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.3767, allocations: 10.53 kB / 0.6856 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3767, allocations: 1.5 kB / 0.6856 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3767, allocations: 0 / 0.6856 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3767, allocations: 4.328 kB / 0.6856 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.3769, allocations: 220.7 kB / 0.6858 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3769, allocations: 1.406 kB / 0.6858 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.3771, allocations: 33.62 kB / 0.6858 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3771, allocations: 1.312 kB / 0.6858 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3771, allocations: 0 / 0.6858 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3771, allocations: 1.406 kB / 0.6858 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3771, allocations: 3.984 kB / 0.6858 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/0.3779, allocations: 314.8 kB / 0.6861 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.3779, allocations: 86.16 kB / 0.6862 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.378, allocations: 1.281 kB / 0.6862 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.3782, allocations: 29.95 kB / 0.6862 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.3782, allocations: 6.188 kB / 0.6862 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3782, allocations: 5.078 kB / 0.6862 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.445e-05/0.3783, allocations: 93.77 kB / 0.6863 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.3783, allocations: 3.938 kB / 0.6863 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002375/0.3785, allocations: 12.09 kB / 0.6864 GB, free: 1.941 MB / 0.4981 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.0001046/0.3786, allocations: 97.81 kB / 0.6864 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007585/0.3794, allocations: 197.6 kB / 0.6866 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3794, allocations: 1.25 kB / 0.6866 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.3797, allocations: 101.1 kB / 0.6867 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.38, allocations: 8.781 kB / 0.6867 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008436/0.3808, allocations: 288.1 kB / 0.687 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.3809, allocations: 0.6914 MB / 0.6877 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.896e-05/0.381, allocations: 13.97 kB / 0.6877 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.381, allocations: 288 / 0.6877 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of Templates: time 0.002349/0.3833, allocations: 1.172 MB / 0.6888 GB, free: 168 kB / 0.4981 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.562897613970563] Failed to read output from testmodel.py, exit status != 0: 0.3910478020552546 0.403556222 0.033482521 Calling exit ...