Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.001201, allocations: 106 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.00125/0.00125, allocations: 183.1 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.196/1.196, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.592/1.592, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001337/0.001337, allocations: 67.91 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1819, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001637/0.1835, allocations: 0.6058 MB / 0.7847 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003339/0.1839, allocations: 155.5 kB / 0.7848 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.913e-05/0.1839, allocations: 0 / 0.7848 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.187e-05/0.184, allocations: 0 / 0.7848 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 1.516e-05/0.184, allocations: 0 / 0.7848 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.1842, allocations: 51.81 kB / 0.7849 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.04e-05/0.1843, allocations: 15.94 kB / 0.7849 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.1843, allocations: 4 kB / 0.7849 GB, free: 3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.764e-05/0.1844, allocations: 11.97 kB / 0.7849 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.1844, allocations: 11.94 kB / 0.7849 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.1844, allocations: 0 / 0.7849 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.076e-05/0.1845, allocations: 31.97 kB / 0.7849 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.1845, allocations: 3.984 kB / 0.7849 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.1845, allocations: 7.938 kB / 0.785 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.009e-05/0.1846, allocations: 27.95 kB / 0.785 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1846, allocations: 0 / 0.785 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1846, allocations: 4 kB / 0.785 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1847, allocations: 4 kB / 0.785 GB, free: 2.898 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003288/0.185, allocations: 331.6 kB / 0.7853 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.185, allocations: 8.031 kB / 0.7853 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.1851, allocations: 4.938 kB / 0.7853 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.1852, allocations: 168.5 kB / 0.7855 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1852, allocations: 384 / 0.7855 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.1852, allocations: 4.375 kB / 0.7855 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.265e-05/0.1853, allocations: 50.25 kB / 0.7855 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1853, allocations: 192 / 0.7855 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1853, allocations: 7.875 kB / 0.7855 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1853, allocations: 3.938 kB / 0.7855 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.015e-05/0.1854, allocations: 11.98 kB / 0.7856 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.1855, allocations: 161.7 kB / 0.7857 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.919e-05/0.1856, allocations: 46.5 kB / 0.7858 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/0.1857, allocations: 16.98 kB / 0.7858 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.606e-05/0.1858, allocations: 97.06 kB / 0.7859 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.1858, allocations: 34.5 kB / 0.7859 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.1858, allocations: 0 / 0.7859 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.001092/0.1869, allocations: 484.4 kB / 0.7864 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.1869, allocations: 51.41 kB / 0.7864 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.137e-05/0.187, allocations: 101.8 kB / 0.7865 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.187, allocations: 25.7 kB / 0.7865 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.563e-05/0.1871, allocations: 84.14 kB / 0.7866 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.1871, allocations: 19.66 kB / 0.7866 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.1871, allocations: 25.7 kB / 0.7866 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.1872, allocations: 310.8 kB / 0.7869 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.719e-05/0.1873, allocations: 15.98 kB / 0.787 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.26e-05/0.1873, allocations: 16.06 kB / 0.787 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.927e-05/0.1874, allocations: 36.91 kB / 0.787 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1874, allocations: 4 kB / 0.787 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001033/0.1875, allocations: 73.59 kB / 0.7871 GB, free: 448 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1875, allocations: 11.92 kB / 0.7871 GB, free: 436 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1875, allocations: 0 / 0.7871 GB, free: 436 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.1875, allocations: 0 / 0.7871 GB, free: 436 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.1876, allocations: 12 kB / 0.7871 GB, free: 424 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1876, allocations: 0 / 0.7871 GB, free: 424 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.1876, allocations: 4 kB / 0.7871 GB, free: 420 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1876, allocations: 0 / 0.7871 GB, free: 420 kB / 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 (8): * Single equations (assignments): 8 * 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.374e-05/0.1877, allocations: 125.8 kB / 0.7872 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.1877, allocations: 3.938 kB / 0.7872 GB, free: 280 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.1879, allocations: 81.64 kB / 0.7873 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1879, allocations: 0 / 0.7873 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1879, allocations: 0 / 0.7873 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1879, allocations: 0 / 0.7873 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2913/0.4792, allocations: 165.6 kB / 0.7875 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4793, allocations: 0 / 0.7875 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.4794, allocations: 15.62 kB / 0.7875 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4794, allocations: 6.344 kB / 0.7875 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4794, allocations: 2.422 kB / 0.7875 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.4794, allocations: 4.344 kB / 0.7875 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4794, allocations: 0 / 0.7875 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.4796, allocations: 119.6 kB / 0.7876 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.4797, allocations: 79.98 kB / 0.7877 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.4797, allocations: 0 / 0.7877 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.76e-05/0.4797, allocations: 3.219 kB / 0.7877 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.4798, allocations: 6.734 kB / 0.7877 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.4798, allocations: 7 kB / 0.7877 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.755e-05/0.4798, allocations: 79.31 kB / 0.7878 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4798, allocations: 0.6562 kB / 0.7878 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002125/0.48, allocations: 29.45 kB / 0.7878 GB, free: 48.25 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0001717/0.4802, allocations: 131.2 kB / 0.7879 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.4803, allocations: 46.11 kB / 0.788 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4803, allocations: 0.5938 kB / 0.788 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.811e-05/0.4803, allocations: 22.2 kB / 0.788 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.4805, allocations: 8.344 kB / 0.788 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.4807, allocations: 135.2 kB / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.572e-05/0.4808, allocations: 0.6817 MB / 0.7888 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.275e-05/0.4809, allocations: 11.98 kB / 0.7888 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/0.4809, allocations: 10.38 kB / 0.7888 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/0.4809, allocations: 0 / 0.7888 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.002465/0.4834, allocations: 0.8723 MB / 0.7897 GB, free: 47.36 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)