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.001294/0.001294, allocations: 104 kB / 16.35 MB, free: 5.879 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.001061/0.001061, allocations: 198.1 kB / 17.29 MB, free: 5.516 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.384/1.384, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.811/1.811, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001567/0.001567, allocations: 66.88 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2577, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003012/0.2607, allocations: 1.426 MB / 0.7862 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004553/0.2612, allocations: 188.3 kB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.2613, allocations: 0 / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.2613, allocations: 3.938 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.942e-05/0.2614, allocations: 3.938 kB / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.2617, allocations: 43.89 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.732e-05/0.2618, allocations: 23.92 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.2619, allocations: 7.984 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.2619, allocations: 12 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.262, allocations: 11.92 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.262, allocations: 4 kB / 0.7865 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.728e-05/0.2621, allocations: 35.95 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.2621, allocations: 3.984 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.2621, allocations: 11.94 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.2622, allocations: 39.88 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2622, allocations: 0 / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2623, allocations: 0 / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2623, allocations: 0 / 0.7865 GB, free: 1.355 MB / 0.6544 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.0004727/0.2627, allocations: 355.3 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2628, allocations: 8.031 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.2628, allocations: 4.922 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.263, allocations: 168.3 kB / 0.787 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.263, allocations: 384 / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.263, allocations: 4.375 kB / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.2632, allocations: 54.17 kB / 0.7871 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2632, allocations: 192 / 0.7871 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2632, allocations: 11.88 kB / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2632, allocations: 0 / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.2634, allocations: 31.97 kB / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.2637, allocations: 245 kB / 0.7874 GB, free: 356 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.2638, allocations: 38.56 kB / 0.7874 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.433e-05/0.2639, allocations: 32.83 kB / 0.7874 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.571e-05/0.264, allocations: 85.05 kB / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.2641, allocations: 34.56 kB / 0.7876 GB, free: 124 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2641, allocations: 0 / 0.7876 GB, free: 124 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003423/0.2644, allocations: 81.64 kB / 0.7876 GB, free: 36 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3345/0.599, allocations: 55.53 kB / 0.7877 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.5991, allocations: 97.11 kB / 0.7878 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.5991, allocations: 28.17 kB / 0.7878 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.5992, allocations: 84.3 kB / 0.7879 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.5992, allocations: 4.219 kB / 0.7879 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.5992, allocations: 12.59 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.5993, allocations: 317.2 kB / 0.7882 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.5994, allocations: 16.83 kB / 0.7882 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.74e-05/0.5995, allocations: 19.19 kB / 0.7882 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.5996, allocations: 42.23 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5996, allocations: 0 / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002199/0.5999, allocations: 76.11 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.5999, allocations: 5.25 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5999, allocations: 0 / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.5999, allocations: 0 / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.6, allocations: 14.33 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.6001, allocations: 1 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.6001, allocations: 6.375 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.6001, allocations: 4.109 kB / 0.7884 GB, free: 48.33 MB / 0.6544 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 5.818e-05/0.6002, allocations: 117.2 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.6002, allocations: 0 / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.6004, allocations: 72.94 kB / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.6005, allocations: 2.156 kB / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6005, allocations: 2.75 kB / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.6005, allocations: 2.281 kB / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.6006, allocations: 160.5 kB / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6006, allocations: 0 / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.968e-05/0.6007, allocations: 6.156 kB / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.6007, allocations: 9.562 kB / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.6007, allocations: 3.938 kB / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6007, allocations: 0 / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6007, allocations: 0.5625 kB / 0.7888 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.6009, allocations: 160.3 kB / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.601, allocations: 80.14 kB / 0.789 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.601, allocations: 6 kB / 0.789 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.6011, allocations: 9.125 kB / 0.789 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.6011, allocations: 4.094 kB / 0.789 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.6011, allocations: 5.031 kB / 0.789 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.289e-05/0.6012, allocations: 82.06 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6012, allocations: 0 / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002369/0.6014, allocations: 9.188 kB / 0.7891 GB, free: 47.69 MB / 0.6544 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.0001518/0.6016, allocations: 113.6 kB / 0.7892 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.6018, allocations: 37.44 kB / 0.7892 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.6018, allocations: 0 / 0.7892 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.676e-05/0.6019, allocations: 21.08 kB / 0.7893 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.6022, allocations: 13.12 kB / 0.7893 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.6025, allocations: 98.55 kB / 0.7894 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.6026, allocations: 0.6773 MB / 0.79 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.234e-05/0.6027, allocations: 2.906 kB / 0.79 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.6027, allocations: 12.38 kB / 0.79 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.6027, allocations: 0 / 0.79 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.002691/0.6054, allocations: 0.5743 MB / 0.7906 GB, free: 46.81 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)