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.001022/0.001022, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 189.7 kB / 16.62 MB, free: 6.613 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.262/1.262, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.68/1.68, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001368/0.001368, allocations: 69.75 kB / 0.6722 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2086, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002499/0.2111, allocations: 1.433 MB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003833/0.2115, allocations: 184.3 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.2116, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.315e-05/0.2116, allocations: 3.938 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.361e-05/0.2117, allocations: 11.86 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.2119, allocations: 39.91 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.975e-05/0.212, allocations: 27.92 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.89e-05/0.2121, allocations: 4 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.71e-05/0.2121, allocations: 7.984 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.722e-05/0.2122, allocations: 15.92 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.2122, allocations: 4 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.37e-05/0.2123, allocations: 35.95 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.2123, allocations: 0 / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.2123, allocations: 11.94 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.2124, allocations: 43.86 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2125, allocations: 0 / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2125, allocations: 4 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.2125, allocations: 0 / 0.7859 GB, free: 10.91 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.000409/0.2129, allocations: 347.3 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2129, allocations: 12.03 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.213, allocations: 0.9375 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.2131, allocations: 172.3 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.2131, allocations: 384 / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.2131, allocations: 4.375 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.2133, allocations: 54.17 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.2133, allocations: 192 / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.2133, allocations: 3.938 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2133, allocations: 0 / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.2135, allocations: 35.95 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.2138, allocations: 245 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.2139, allocations: 46.47 kB / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.522e-05/0.214, allocations: 32.78 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.234e-05/0.2141, allocations: 77.11 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.2141, allocations: 34.56 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2141, allocations: 4 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000336/0.2145, allocations: 81.64 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.2145, allocations: 51.41 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.487e-05/0.2146, allocations: 101.8 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.2146, allocations: 25.7 kB / 0.7872 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.2146, allocations: 84.14 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.2147, allocations: 12.03 kB / 0.7873 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.2147, allocations: 17.7 kB / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2148, allocations: 310.8 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/0.2149, allocations: 19.92 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.891e-05/0.215, allocations: 15.98 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.2151, allocations: 40.88 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2151, allocations: 0 / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001902/0.2153, allocations: 69.61 kB / 0.7877 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2154, allocations: 8 kB / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2154, allocations: 0 / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2154, allocations: 3.984 kB / 0.7877 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.933e-05/0.2155, allocations: 4 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2155, allocations: 0 / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.2155, allocations: 19.86 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.2155, allocations: 4 kB / 0.7877 GB, free: 8.77 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 6.717e-05/0.2156, allocations: 114.4 kB / 0.7879 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.2157, allocations: 0 / 0.7879 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.2159, allocations: 76.77 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2159, allocations: 0 / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2159, allocations: 8.266 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2159, allocations: 3.938 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.2161, allocations: 161.6 kB / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2161, allocations: 4 kB / 0.7881 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.548e-05/0.2161, allocations: 7.984 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2161, allocations: 0 / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.2162, allocations: 0 / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2162, allocations: 3.938 kB / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2162, allocations: 4 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.2164, allocations: 171.4 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.2164, allocations: 77.11 kB / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.2165, allocations: 0 / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.2165, allocations: 7.984 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.2166, allocations: 4 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.2166, allocations: 4 kB / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.2166, allocations: 87.3 kB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2166, allocations: 0 / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002274/0.2169, allocations: 11.91 kB / 0.7885 GB, free: 7.938 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.0001498/0.217, allocations: 111.2 kB / 0.7886 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.2172, allocations: 43.89 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2173, allocations: 0 / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.552e-05/0.2173, allocations: 20.05 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.2176, allocations: 7.938 kB / 0.7886 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.2179, allocations: 108.4 kB / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.2181, allocations: 0.6768 MB / 0.7894 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.446e-05/0.2181, allocations: 4 kB / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.2182, allocations: 7.438 kB / 0.7894 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2182, allocations: 0 / 0.7894 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of Templates: time 0.002542/0.2207, allocations: 0.5705 MB / 0.79 GB, free: 6.336 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)