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.001128/0.001128, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.00138/0.00138, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.792/1.792, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0005731/0.0005732, allocations: 12.91 kB / 0.6737 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2832, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001786/0.2851, allocations: 1.152 MB / 0.7884 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003909/0.2855, allocations: 180.4 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.2856, allocations: 0 / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.2856, allocations: 3.938 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.809e-05/0.2856, allocations: 4 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.2859, allocations: 27.98 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.213e-05/0.286, allocations: 23.92 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.762e-05/0.2861, allocations: 11.92 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.5e-05/0.2861, allocations: 3.984 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.2862, allocations: 11.94 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.2862, allocations: 0 / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.582e-05/0.2863, allocations: 31.95 kB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.2863, allocations: 4 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.2863, allocations: 29.7 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.199e-05/0.2864, allocations: 27.94 kB / 0.7887 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.2865, allocations: 4 kB / 0.7887 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2865, allocations: 3.938 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2865, allocations: 0 / 0.7888 GB, free: 10.43 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.0004661/0.2869, allocations: 343.5 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.287, allocations: 12.03 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.287, allocations: 0 / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.2872, allocations: 171 kB / 0.7893 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.2872, allocations: 7.984 kB / 0.7893 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.2872, allocations: 0 / 0.7893 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.2874, allocations: 61.61 kB / 0.7893 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.2874, allocations: 0 / 0.7893 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2875, allocations: 0 / 0.7893 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.2875, allocations: 0 / 0.7893 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.2876, allocations: 51.95 kB / 0.7894 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.288, allocations: 244.9 kB / 0.7896 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.2881, allocations: 50.48 kB / 0.7897 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.432e-05/0.2882, allocations: 28.91 kB / 0.7897 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.2883, allocations: 81.05 kB / 0.7898 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.2884, allocations: 34.56 kB / 0.7898 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.2884, allocations: 0 / 0.7898 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003604/0.2888, allocations: 101.5 kB / 0.7899 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.2888, allocations: 51.41 kB / 0.7899 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.008e-05/0.2889, allocations: 110 kB / 0.79 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.2889, allocations: 25.7 kB / 0.7901 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.289, allocations: 84.08 kB / 0.7901 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.289, allocations: 11.91 kB / 0.7902 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.289, allocations: 0 / 0.7902 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2892, allocations: 318.8 kB / 0.7905 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.5e-05/0.2893, allocations: 19.98 kB / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.695e-05/0.2893, allocations: 25.05 kB / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.945e-05/0.2894, allocations: 23.98 kB / 0.7905 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2894, allocations: 0 / 0.7905 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001843/0.2896, allocations: 77.72 kB / 0.7906 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2896, allocations: 4 kB / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2897, allocations: 0 / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2897, allocations: 0 / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.2898, allocations: 15.98 kB / 0.7906 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.2898, allocations: 32 / 0.7906 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.2899, allocations: 11.94 kB / 0.7906 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.2899, allocations: 3.984 kB / 0.7906 GB, free: 8.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.29, allocations: 122.4 kB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.29, allocations: 0 / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.2903, allocations: 80.78 kB / 0.7908 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2903, allocations: 3.938 kB / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2903, allocations: 0 / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2903, allocations: 4 kB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.2905, allocations: 165.5 kB / 0.791 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2905, allocations: 0 / 0.791 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.2906, allocations: 8 kB / 0.791 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2906, allocations: 4.031 kB / 0.791 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.2906, allocations: 7.984 kB / 0.791 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2906, allocations: 0 / 0.791 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2906, allocations: 3.938 kB / 0.791 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.2909, allocations: 179.4 kB / 0.7912 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.2909, allocations: 77.11 kB / 0.7913 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.2909, allocations: 256 / 0.7913 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.291, allocations: 8 kB / 0.7913 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.2911, allocations: 11.98 kB / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.2911, allocations: 0 / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.567e-05/0.2911, allocations: 79.28 kB / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2911, allocations: 4.031 kB / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002495/0.2914, allocations: 12 kB / 0.7914 GB, free: 7.414 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001899/0.2916, allocations: 111.2 kB / 0.7915 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.2918, allocations: 51.91 kB / 0.7915 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2918, allocations: 0 / 0.7915 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.813e-05/0.2919, allocations: 23.97 kB / 0.7916 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.2922, allocations: 11.95 kB / 0.7916 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.2925, allocations: 104.8 kB / 0.7917 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.2928, allocations: 0.6848 MB / 0.7923 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.529e-05/0.2928, allocations: 0 / 0.7923 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.2928, allocations: 7.438 kB / 0.7923 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2928, allocations: 0 / 0.7923 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of Templates: time 0.002893/0.2957, allocations: 0.5026 MB / 0.7928 GB, free: 5.863 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: