Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001765/0.001765, allocations: 196.8 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 70.66 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2673, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002804/0.2702, allocations: 1.493 MB / 0.785 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000466/0.2706, allocations: 200.3 kB / 0.7852 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.2707, allocations: 0 / 0.7852 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.2708, allocations: 3.938 kB / 0.7852 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.2708, allocations: 0 / 0.7852 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.2711, allocations: 35.86 kB / 0.7852 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.358e-05/0.2712, allocations: 15.98 kB / 0.7852 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2713, allocations: 12 kB / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.25e-05/0.2714, allocations: 11.97 kB / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.192e-05/0.2714, allocations: 11.94 kB / 0.7852 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.2714, allocations: 0 / 0.7852 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.055e-05/0.2715, allocations: 35.95 kB / 0.7853 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.2716, allocations: 8 kB / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.2716, allocations: 11.88 kB / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.544e-05/0.2717, allocations: 31.94 kB / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2717, allocations: 0 / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2717, allocations: 0 / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.2717, allocations: 3.938 kB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005139/0.2722, allocations: 347.7 kB / 0.7857 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2723, allocations: 8.031 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.2723, allocations: 4.938 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.2725, allocations: 164.3 kB / 0.7858 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.2725, allocations: 4.375 kB / 0.7858 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.2725, allocations: 4.312 kB / 0.7858 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.2727, allocations: 55.28 kB / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2727, allocations: 4.188 kB / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.2727, allocations: 3.938 kB / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2727, allocations: 0 / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.2729, allocations: 39.89 kB / 0.7859 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.2733, allocations: 249 kB / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.2734, allocations: 42.5 kB / 0.7862 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.002e-05/0.2735, allocations: 20.91 kB / 0.7862 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.2736, allocations: 81.09 kB / 0.7863 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.2737, allocations: 30.56 kB / 0.7863 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2737, allocations: 0 / 0.7863 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003659/0.274, allocations: 89.58 kB / 0.7864 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.2741, allocations: 55.41 kB / 0.7865 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/0.2742, allocations: 97.86 kB / 0.7866 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.2742, allocations: 25.7 kB / 0.7866 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.2742, allocations: 88.14 kB / 0.7867 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.2743, allocations: 7.891 kB / 0.7867 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.2743, allocations: 9.719 kB / 0.7867 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2744, allocations: 323 kB / 0.787 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/0.2745, allocations: 11.98 kB / 0.787 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.896e-05/0.2746, allocations: 19.97 kB / 0.787 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.2747, allocations: 36.83 kB / 0.7871 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2747, allocations: 3.938 kB / 0.7871 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000184/0.2749, allocations: 73.66 kB / 0.7871 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2749, allocations: 4 kB / 0.7872 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.275, allocations: 0 / 0.7872 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.275, allocations: 0 / 0.7872 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.669e-05/0.2751, allocations: 8 kB / 0.7872 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.2751, allocations: 7.969 kB / 0.7872 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.2751, allocations: 12.09 kB / 0.7872 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.2751, allocations: 0 / 0.7872 GB, free: 9.875 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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 8.596e-05/0.2752, allocations: 122.5 kB / 0.7873 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.2753, allocations: 4 kB / 0.7873 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.2755, allocations: 76.7 kB / 0.7874 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2755, allocations: 3.938 kB / 0.7874 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2755, allocations: 3.938 kB / 0.7874 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2755, allocations: 0 / 0.7874 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.2757, allocations: 161.6 kB / 0.7875 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2757, allocations: 4.031 kB / 0.7875 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.2757, allocations: 11.98 kB / 0.7876 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.2758, allocations: 0 / 0.7876 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.2758, allocations: 0 / 0.7876 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2758, allocations: 0 / 0.7876 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2758, allocations: 0 / 0.7876 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.276, allocations: 171.4 kB / 0.7877 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.2761, allocations: 81.11 kB / 0.7878 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.2761, allocations: 3.984 kB / 0.7878 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.2762, allocations: 4 kB / 0.7878 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.2762, allocations: 0 / 0.7878 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.2762, allocations: 0 / 0.7878 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.248e-05/0.2763, allocations: 83.27 kB / 0.7879 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2763, allocations: 0 / 0.7879 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000235/0.2765, allocations: 23.91 kB / 0.7879 GB, free: 9.035 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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.0001736/0.2767, allocations: 103.3 kB / 0.788 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.2769, allocations: 39.95 kB / 0.788 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2769, allocations: 0 / 0.788 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.173e-05/0.277, allocations: 23.92 kB / 0.7881 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.2773, allocations: 3.938 kB / 0.7881 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.2776, allocations: 139.3 kB / 0.7882 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.2779, allocations: 0.6807 MB / 0.7889 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.278, allocations: 7.438 kB / 0.7889 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.278, allocations: 0 / 0.7889 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of Templates: time 0.002102/0.2801, allocations: 0.664 MB / 0.7895 GB, free: 7.305 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)