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.001103/0.001103, allocations: 106.5 kB / 16.52 MB, free: 6.656 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.00108/0.00108, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7289/0.7289, allocations: 115.3 MB / 406.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 67.89 kB / 493.6 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3189, allocations: 76.17 MB / 0.5564 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002151/0.3211, allocations: 1.519 MB / 0.5579 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003215/0.3214, allocations: 138.8 kB / 0.558 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.3214, allocations: 0.5312 kB / 0.558 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.3215, allocations: 6.844 kB / 0.558 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.631e-05/0.3216, allocations: 5.406 kB / 0.558 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.3217, allocations: 27.89 kB / 0.558 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.016e-05/0.3218, allocations: 34.03 kB / 0.5581 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/0.3219, allocations: 25.78 kB / 0.5581 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.558e-05/0.3219, allocations: 15.22 kB / 0.5581 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.24e-05/0.322, allocations: 18.89 kB / 0.5581 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.322, allocations: 2.594 kB / 0.5581 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.578e-05/0.3221, allocations: 31.84 kB / 0.5582 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.3221, allocations: 11.11 kB / 0.5582 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.3221, allocations: 18.42 kB / 0.5582 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.431e-05/0.3222, allocations: 43.34 kB / 0.5582 GB, free: 35.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3222, allocations: 0 / 0.5582 GB, free: 35.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3222, allocations: 2.5 kB / 0.5582 GB, free: 35.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.3222, allocations: 0 / 0.5582 GB, free: 35.04 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.0003565/0.3226, allocations: 372.2 kB / 0.5586 GB, free: 34.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3226, allocations: 13.62 kB / 0.5586 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.3237, allocations: 219.8 kB / 0.5588 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.285e-05/0.3238, allocations: 164 kB / 0.559 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.3238, allocations: 1.625 kB / 0.559 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.3238, allocations: 5.969 kB / 0.559 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/0.3243, allocations: 190.2 kB / 0.5591 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.3243, allocations: 192 / 0.5591 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.3244, allocations: 5.031 kB / 0.5592 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3244, allocations: 1.766 kB / 0.5592 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008103/0.3252, allocations: 283.8 kB / 0.5594 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008194/0.326, allocations: 437.2 kB / 0.5598 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.3271, allocations: 286.9 kB / 0.5601 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.3274, allocations: 101.3 kB / 0.5602 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.3275, allocations: 2.438 kB / 0.5602 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.3275, allocations: 45.48 kB / 0.5603 GB, free: 33.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3275, allocations: 0 / 0.5603 GB, free: 33.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001068/0.3286, allocations: 310.4 kB / 0.5606 GB, free: 33.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.954e-05/0.3286, allocations: 53.2 kB / 0.5606 GB, free: 33.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.3287, allocations: 118.2 kB / 0.5607 GB, free: 33.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.3287, allocations: 29.7 kB / 0.5607 GB, free: 33.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.663e-05/0.3287, allocations: 91.73 kB / 0.5608 GB, free: 33.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.3287, allocations: 6.188 kB / 0.5608 GB, free: 33.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.3288, allocations: 19.72 kB / 0.5609 GB, free: 33.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.3288, allocations: 326.3 kB / 0.5612 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.3292, allocations: 97.16 kB / 0.5613 GB, free: 33.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.3295, allocations: 96.52 kB / 0.5614 GB, free: 33.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000616/0.3301, allocations: 172.7 kB / 0.5615 GB, free: 33.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3302, allocations: 1.812 kB / 0.5615 GB, free: 33.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007115/0.3309, allocations: 214.2 kB / 0.5617 GB, free: 33.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3309, allocations: 6.344 kB / 0.5617 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3309, allocations: 0 / 0.5617 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3309, allocations: 2.172 kB / 0.5617 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.3312, allocations: 37.86 kB / 0.5618 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.3312, allocations: 0.625 kB / 0.5618 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.3314, allocations: 32.42 kB / 0.5618 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3314, allocations: 6.406 kB / 0.5618 GB, free: 33.07 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.508e-05/0.3315, allocations: 117.2 kB / 0.5619 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.3315, allocations: 11.69 kB / 0.5619 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.3316, allocations: 7.281 kB / 0.5619 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3316, allocations: 2.562 kB / 0.5619 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3316, allocations: 0.5156 kB / 0.5619 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3316, allocations: 1.438 kB / 0.5619 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.3318, allocations: 211.9 kB / 0.5621 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3318, allocations: 2 kB / 0.5621 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.332, allocations: 33.02 kB / 0.5622 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.332, allocations: 3.047 kB / 0.5622 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.332, allocations: 1.828 kB / 0.5622 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.332, allocations: 1.531 kB / 0.5622 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.332, allocations: 1.25 kB / 0.5622 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007013/0.3327, allocations: 311.7 kB / 0.5625 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.3328, allocations: 93.23 kB / 0.5626 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.3328, allocations: 4.656 kB / 0.5626 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.333, allocations: 27.17 kB / 0.5626 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.3331, allocations: 2.641 kB / 0.5626 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.3331, allocations: 4.156 kB / 0.5626 GB, free: 32.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.85e-05/0.3331, allocations: 93.09 kB / 0.5627 GB, free: 32.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.3331, allocations: 0.9688 kB / 0.5627 GB, free: 32.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.3334, allocations: 19.53 kB / 0.5627 GB, free: 32.37 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.014e-05/0.3335, allocations: 101 kB / 0.5628 GB, free: 32.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007078/0.3342, allocations: 195.6 kB / 0.563 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3342, allocations: 0 / 0.563 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.3345, allocations: 103.1 kB / 0.5631 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.3348, allocations: 6.125 kB / 0.5631 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008635/0.3357, allocations: 293 kB / 0.5634 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.3358, allocations: 0.6869 MB / 0.5641 GB, free: 31.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.3359, allocations: 11.39 kB / 0.5641 GB, free: 31.36 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3359, allocations: 2.062 kB / 0.5641 GB, free: 31.36 MB / 446.1 MB Notification: Performance of Templates: time 0.002648/0.3385, allocations: 1.166 MB / 0.5652 GB, free: 31.32 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)