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.001236/0.001236, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001285/0.001285, allocations: 183.9 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.234/1.234, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 286 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8905/0.8905, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 95.86 kB / 0.6821 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3717, allocations: 86.98 MB / 0.7671 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002306/0.3741, allocations: 1.453 MB / 0.7685 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003516/0.3744, allocations: 148.4 kB / 0.7686 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.3745, allocations: 0 / 0.7686 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.855e-05/0.3745, allocations: 3.938 kB / 0.7686 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.451e-05/0.3746, allocations: 7.938 kB / 0.7686 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.3748, allocations: 31.91 kB / 0.7687 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.633e-05/0.3749, allocations: 35.92 kB / 0.7687 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.3751, allocations: 27.97 kB / 0.7687 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.088e-05/0.3751, allocations: 15.92 kB / 0.7687 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.3752, allocations: 23.92 kB / 0.7688 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.3752, allocations: 4 kB / 0.7688 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.962e-05/0.3753, allocations: 27.97 kB / 0.7688 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.3753, allocations: 11.94 kB / 0.7688 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.3753, allocations: 27.86 kB / 0.7688 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.3755, allocations: 63.52 kB / 0.7689 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3755, allocations: 3.938 kB / 0.7689 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3755, allocations: 3.938 kB / 0.7689 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.3755, allocations: 0 / 0.7689 GB, free: 1.945 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.0004106/0.3759, allocations: 358 kB / 0.7692 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.376, allocations: 8.031 kB / 0.7692 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.377, allocations: 212.5 kB / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.3771, allocations: 172.2 kB / 0.7696 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3771, allocations: 8.375 kB / 0.7696 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.3772, allocations: 384 / 0.7696 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/0.3777, allocations: 202 kB / 0.7698 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3777, allocations: 192 / 0.7698 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.3778, allocations: 7.875 kB / 0.7698 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3778, allocations: 0 / 0.7698 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008266/0.3786, allocations: 283.5 kB / 0.7701 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/0.3795, allocations: 437.2 kB / 0.7705 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.3806, allocations: 290.2 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.3809, allocations: 104.7 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.3809, allocations: 4 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.381, allocations: 30.56 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.381, allocations: 0 / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001139/0.3821, allocations: 309.3 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.3822, allocations: 51.41 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.961e-05/0.3822, allocations: 117.8 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.3823, allocations: 25.7 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.3823, allocations: 92.12 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.3823, allocations: 11.81 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.3824, allocations: 21.7 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.3825, allocations: 318.8 kB / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.3829, allocations: 95.81 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.3832, allocations: 95.88 kB / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006523/0.3839, allocations: 176.6 kB / 0.7722 GB, free: 14.37 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3839, allocations: 0 / 0.7722 GB, free: 14.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000709/0.3846, allocations: 209.5 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3846, allocations: 8.375 kB / 0.7724 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3846, allocations: 0 / 0.7724 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3846, allocations: 0 / 0.7724 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.3849, allocations: 32.28 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3849, allocations: 7.875 kB / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.3851, allocations: 39.88 kB / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3851, allocations: 4 kB / 0.7725 GB, free: 14.07 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.907e-05/0.3852, allocations: 116.2 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.3852, allocations: 3.906 kB / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/0.3853, allocations: 23.81 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3853, allocations: 0 / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3853, allocations: 0 / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.3853, allocations: 89.02 kB / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.3854, allocations: 0 / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.3856, allocations: 27.89 kB / 0.7727 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.3856, allocations: 11.98 kB / 0.7727 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009157/0.3866, allocations: 312.7 kB / 0.773 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007861/0.3874, allocations: 386.5 kB / 0.7734 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003497/0.3877, allocations: 99.86 kB / 0.7735 GB, free: 12.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.3878, allocations: 95.27 kB / 0.7736 GB, free: 12.87 MB / 0.545 GB Notification: Performance of Backend: time 3.61e-07/0.3878, allocations: 0 / 0.7736 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007066/0.3885, allocations: 193.1 kB / 0.7738 GB, free: 12.68 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004288/0.3889, allocations: 0.5804 MB / 0.7743 GB, free: 12.05 MB / 0.545 GB Notification: Performance of Templates: time 0.003799/0.3927, allocations: 1.683 MB / 0.776 GB, free: 10.38 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)