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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001147/0.001147, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.227/1.227, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002003/0.002003, allocations: 284.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8951/0.8951, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 91.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3708, allocations: 86.97 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002257/0.3731, allocations: 1.461 MB / 0.7685 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003436/0.3735, allocations: 144.4 kB / 0.7686 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.3735, allocations: 0 / 0.7686 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.3736, allocations: 3.938 kB / 0.7686 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.564e-05/0.3736, allocations: 7.938 kB / 0.7686 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.3738, allocations: 31.91 kB / 0.7687 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.329e-05/0.3739, allocations: 39.91 kB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.374, allocations: 23.98 kB / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.207e-05/0.3741, allocations: 23.92 kB / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.3741, allocations: 15.92 kB / 0.7688 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.3742, allocations: 4 kB / 0.7688 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.073e-05/0.3742, allocations: 35.97 kB / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.3743, allocations: 7.938 kB / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.3743, allocations: 23.86 kB / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.3744, allocations: 63.52 kB / 0.7689 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3744, allocations: 0 / 0.7689 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3744, allocations: 0 / 0.7689 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.3745, allocations: 7.938 kB / 0.7689 GB, free: 2.043 MB / 0.5294 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.0004124/0.3749, allocations: 362 kB / 0.7692 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.3749, allocations: 8.031 kB / 0.7693 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.376, allocations: 208.5 kB / 0.7695 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.3761, allocations: 176.2 kB / 0.7696 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3761, allocations: 8.375 kB / 0.7696 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.3761, allocations: 4.375 kB / 0.7696 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/0.3767, allocations: 190 kB / 0.7698 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3767, allocations: 4.125 kB / 0.7698 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.3767, allocations: 7.938 kB / 0.7698 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.3767, allocations: 4 kB / 0.7698 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008256/0.3776, allocations: 283.6 kB / 0.7701 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000842/0.3784, allocations: 437.1 kB / 0.7705 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.3795, allocations: 286.2 kB / 0.7708 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/0.3799, allocations: 100.8 kB / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.3799, allocations: 0 / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.38, allocations: 34.56 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.38, allocations: 0 / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001165/0.3811, allocations: 309.5 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.3812, allocations: 51.41 kB / 0.7713 GB, free: 15.44 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.362e-05/0.3813, allocations: 125.8 kB / 0.7714 GB, free: 15.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3813, allocations: 25.7 kB / 0.7714 GB, free: 15.28 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.3813, allocations: 88.14 kB / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.3814, allocations: 11.81 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.3814, allocations: 17.7 kB / 0.7715 GB, free: 15.15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.3815, allocations: 318.8 kB / 0.7718 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.3819, allocations: 95.88 kB / 0.7719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.3822, allocations: 103.8 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006656/0.3829, allocations: 172.6 kB / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3829, allocations: 0 / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007325/0.3837, allocations: 213.5 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3837, allocations: 4 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3837, allocations: 4.375 kB / 0.7724 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.3837, allocations: 0 / 0.7724 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.384, allocations: 35.94 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.384, allocations: 0 / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.3842, allocations: 35.83 kB / 0.7725 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.3842, allocations: 0 / 0.7725 GB, free: 14.17 MB / 0.545 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.859e-05/0.3843, allocations: 124.2 kB / 0.7726 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.3843, allocations: 15.84 kB / 0.7726 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.3844, allocations: 7.906 kB / 0.7726 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.3844, allocations: 4 kB / 0.7726 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3844, allocations: 0 / 0.7726 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.3844, allocations: 81.02 kB / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.3844, allocations: 0 / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.3847, allocations: 31.89 kB / 0.7727 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.3847, allocations: 11.92 kB / 0.7727 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009257/0.3856, allocations: 312.7 kB / 0.773 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007949/0.3864, allocations: 390.6 kB / 0.7734 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003615/0.3868, allocations: 103.8 kB / 0.7735 GB, free: 13.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.371e-05/0.3869, allocations: 95.27 kB / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of Backend: time 2.21e-07/0.3869, allocations: 0 / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007023/0.3876, allocations: 189.1 kB / 0.7738 GB, free: 12.78 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004043/0.388, allocations: 0.5804 MB / 0.7743 GB, free: 12.15 MB / 0.545 GB Notification: Performance of Templates: time 0.003432/0.3914, allocations: 1.69 MB / 0.776 GB, free: 10.48 MB / 0.545 GB 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)