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.0009296/0.00093, allocations: 104.7 kB / 16.29 MB, free: 6.027 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.0009035/0.0009035, allocations: 185.5 kB / 17.22 MB, free: 5.633 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.169/1.169, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.599/1.599, allocations: 292.3 MB / 0.5495 GB, free: 17.66 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.001287/0.001287, allocations: 71.91 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1727, allocations: 114.6 MB / 0.7841 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002149/0.1749, allocations: 1.426 MB / 0.7855 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.1752, allocations: 192.2 kB / 0.7856 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.1752, allocations: 0 / 0.7856 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.1753, allocations: 4 kB / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.595e-05/0.1753, allocations: 7.938 kB / 0.7857 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.1755, allocations: 35.89 kB / 0.7857 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.371e-05/0.1756, allocations: 23.92 kB / 0.7857 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.678e-05/0.1757, allocations: 4 kB / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.304e-05/0.1757, allocations: 11.98 kB / 0.7857 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.349e-05/0.1758, allocations: 15.92 kB / 0.7857 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.1758, allocations: 0 / 0.7857 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-05/0.1758, allocations: 35.97 kB / 0.7858 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.1759, allocations: 7.984 kB / 0.7858 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.1759, allocations: 7.938 kB / 0.7858 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.082e-05/0.176, allocations: 43.88 kB / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.176, allocations: 0 / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.176, allocations: 0 / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.176, allocations: 0 / 0.7858 GB, free: 2.059 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.0003535/0.1764, allocations: 343.7 kB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.1764, allocations: 8.031 kB / 0.7862 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.222e-05/0.1764, allocations: 8.938 kB / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.595e-05/0.1765, allocations: 176.3 kB / 0.7863 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1765, allocations: 384 / 0.7863 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.1765, allocations: 8.312 kB / 0.7864 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.1767, allocations: 50.23 kB / 0.7864 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.1767, allocations: 4.125 kB / 0.7864 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1767, allocations: 3.938 kB / 0.7864 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1767, allocations: 3.938 kB / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.1769, allocations: 39.95 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/0.1771, allocations: 240.9 kB / 0.7867 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.1772, allocations: 46.47 kB / 0.7867 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.249e-05/0.1773, allocations: 24.91 kB / 0.7868 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.539e-05/0.1774, allocations: 77.11 kB / 0.7868 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.1774, allocations: 38.55 kB / 0.7869 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1774, allocations: 0 / 0.7869 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002857/0.1777, allocations: 77.66 kB / 0.7869 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.1777, allocations: 51.41 kB / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.1778, allocations: 109.8 kB / 0.7871 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1778, allocations: 25.83 kB / 0.7871 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.1779, allocations: 84.14 kB / 0.7872 GB, free: 456 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.1779, allocations: 11.91 kB / 0.7872 GB, free: 444 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.1779, allocations: 13.7 kB / 0.7872 GB, free: 424 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.178, allocations: 314.8 kB / 0.7875 GB, free: 100 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.142e-05/0.1781, allocations: 15.98 kB / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.04e-05/0.1781, allocations: 11.98 kB / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.1783, allocations: 48.88 kB / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1783, allocations: 0 / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.2882/0.4665, allocations: 64.39 kB / 0.7877 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.4666, allocations: 4.719 kB / 0.7877 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4666, allocations: 1.219 kB / 0.7877 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.4666, allocations: 1.719 kB / 0.7877 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.644e-05/0.4667, allocations: 10.42 kB / 0.7877 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.4667, allocations: 4.75 kB / 0.7877 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.4668, allocations: 10.48 kB / 0.7877 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.4668, allocations: 0 / 0.7877 GB, free: 48.53 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 4.764e-05/0.4668, allocations: 114.3 kB / 0.7878 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.4669, allocations: 8.078 kB / 0.7878 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.4671, allocations: 74.45 kB / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4671, allocations: 0 / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4671, allocations: 0 / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.4671, allocations: 1 kB / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.4672, allocations: 161.7 kB / 0.788 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4672, allocations: 3.719 kB / 0.788 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.4673, allocations: 12.39 kB / 0.788 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4673, allocations: 0 / 0.788 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.4673, allocations: 1.562 kB / 0.788 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4673, allocations: 0 / 0.788 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4673, allocations: 3.344 kB / 0.788 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.4675, allocations: 168.8 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.4675, allocations: 82.52 kB / 0.7883 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.4675, allocations: 0 / 0.7883 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-05/0.4676, allocations: 11.84 kB / 0.7883 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.4677, allocations: 2.719 kB / 0.7883 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.4677, allocations: 2.531 kB / 0.7883 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.275e-05/0.4677, allocations: 89.66 kB / 0.7884 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.4677, allocations: 0 / 0.7884 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002354/0.4679, allocations: 11.75 kB / 0.7884 GB, free: 47.9 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.0001126/0.4681, allocations: 108.1 kB / 0.7885 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001755/0.4682, allocations: 35.98 kB / 0.7885 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4683, allocations: 0 / 0.7885 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.794e-05/0.4683, allocations: 21.19 kB / 0.7886 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.4686, allocations: 15.67 kB / 0.7886 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002017/0.4688, allocations: 99.12 kB / 0.7887 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.897e-05/0.4689, allocations: 0.6756 MB / 0.7893 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.933e-05/0.4689, allocations: 4.594 kB / 0.7893 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.4689, allocations: 7.438 kB / 0.7893 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of SimCode: time 7.21e-07/0.4689, allocations: 0 / 0.7893 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.002231/0.4712, allocations: 0.5723 MB / 0.7899 GB, free: 47.02 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)