Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009151/0.0009151, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0008678/0.000868, allocations: 186.5 kB / 16.25 MB, free: 6.637 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.135/1.135, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.487/1.487, allocations: 292.3 MB / 0.5485 GB, free: 13.62 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.001243/0.001243, allocations: 77.55 kB / 0.671 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1606, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00162/0.1623, allocations: 0.6782 MB / 0.7835 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1638, allocations: 1.468 MB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.1638, allocations: 0 / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.993e-05/0.1639, allocations: 3.938 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.944e-05/0.1639, allocations: 7.984 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.1645, allocations: 187.7 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.517e-05/0.1646, allocations: 35.98 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.1646, allocations: 3.984 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.154e-05/0.1646, allocations: 15.94 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.031e-05/0.1647, allocations: 35.77 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.1647, allocations: 8 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.165, allocations: 239.7 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.165, allocations: 11.98 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.1651, allocations: 15.86 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.1653, allocations: 215.5 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1653, allocations: 0 / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1653, allocations: 0 / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.1653, allocations: 0 / 0.7857 GB, free: 10.94 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003152/0.1657, allocations: 405.2 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.639e-05/0.1657, allocations: 12.03 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.1657, allocations: 4.938 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.025e-05/0.1658, allocations: 172.2 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1658, allocations: 4.359 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.1659, allocations: 4.375 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.166, allocations: 73.97 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.166, allocations: 0 / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.166, allocations: 0 / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-06/0.166, allocations: 4 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.076e-05/0.1661, allocations: 35.92 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.1662, allocations: 165.7 kB / 0.7866 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.303e-05/0.1663, allocations: 66.55 kB / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.1663, allocations: 48.86 kB / 0.7867 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-06/0.1663, allocations: 0 / 0.7867 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.1664, allocations: 34.5 kB / 0.7867 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.1664, allocations: 4 kB / 0.7867 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002541/0.1666, allocations: 195.5 kB / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.1667, allocations: 85.14 kB / 0.787 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.643e-05/0.1667, allocations: 113.8 kB / 0.7871 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1668, allocations: 29.69 kB / 0.7871 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/0.1668, allocations: 88.14 kB / 0.7872 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.1668, allocations: 19.66 kB / 0.7872 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1669, allocations: 21.7 kB / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.941e-05/0.1669, allocations: 314.8 kB / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-05/0.167, allocations: 39.97 kB / 0.7876 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.167, allocations: 35.97 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1672, allocations: 144.2 kB / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1672, allocations: 0 / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001562/0.1673, allocations: 155.3 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.1674, allocations: 37.64 kB / 0.7879 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.1674, allocations: 3.938 kB / 0.7879 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1674, allocations: 0 / 0.7879 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.1674, allocations: 7.922 kB / 0.7879 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.1674, allocations: 0 / 0.7879 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.337e-05/0.1675, allocations: 15.97 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.1675, allocations: 4 kB / 0.7879 GB, free: 8.375 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.582e-05/0.1676, allocations: 147.5 kB / 0.7881 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.1676, allocations: 11.92 kB / 0.7881 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.401e-05/0.1676, allocations: 12.36 kB / 0.7881 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1676, allocations: 0 / 0.7881 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1677, allocations: 0 / 0.7881 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.1677, allocations: 0 / 0.7881 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.319e-05/0.1677, allocations: 165.6 kB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1677, allocations: 4 kB / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-06/0.1678, allocations: 3.984 kB / 0.7883 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1678, allocations: 3.938 kB / 0.7883 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1678, allocations: 4 kB / 0.7883 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1678, allocations: 0 / 0.7883 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1678, allocations: 0 / 0.7883 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.168, allocations: 202.7 kB / 0.7885 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.168, allocations: 88.89 kB / 0.7886 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.168, allocations: 4 kB / 0.7886 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.322e-05/0.1681, allocations: 12.02 kB / 0.7886 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.1681, allocations: 4 kB / 0.7886 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.1681, allocations: 8 kB / 0.7886 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.1682, allocations: 91.27 kB / 0.7887 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1682, allocations: 0 / 0.7887 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002625/0.1684, allocations: 71.98 kB / 0.7887 GB, free: 7.449 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000242/0.1687, allocations: 159.2 kB / 0.7889 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.1689, allocations: 203.2 kB / 0.7891 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1689, allocations: 0 / 0.7891 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.169, allocations: 151.3 kB / 0.7892 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.1692, allocations: 7.984 kB / 0.7892 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.1694, allocations: 180.9 kB / 0.7894 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.1696, allocations: 0.6885 MB / 0.7901 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.799e-06/0.1696, allocations: 4.125 kB / 0.7901 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-06/0.1696, allocations: 7.438 kB / 0.7901 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.1696, allocations: 0 / 0.7901 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of Templates: time 0.003586/0.1732, allocations: 2.038 MB / 0.7921 GB, free: 3.949 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)