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.001133/0.001133, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.00115/0.00115, allocations: 184 kB / 17.22 MB, free: 5.625 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.183/1.183, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.624/1.624, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001306/0.001306, allocations: 75.89 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1712, allocations: 114.6 MB / 0.7841 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001524/0.1727, allocations: 0.6164 MB / 0.7847 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1742, allocations: 1.463 MB / 0.7861 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.965e-05/0.1743, allocations: 8 kB / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.199e-05/0.1743, allocations: 0 / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.62e-05/0.1744, allocations: 0 / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005827/0.175, allocations: 207.5 kB / 0.7863 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.088e-05/0.175, allocations: 39.91 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.1751, allocations: 11.92 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.61e-05/0.1751, allocations: 16 kB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.943e-05/0.1751, allocations: 23.91 kB / 0.7864 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.1752, allocations: 0 / 0.7864 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.1755, allocations: 259.6 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.1755, allocations: 0 / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.1756, allocations: 19.88 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.1758, allocations: 219.5 kB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1759, allocations: 0 / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1759, allocations: 0 / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.1759, allocations: 0 / 0.7869 GB, free: 0.9219 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003269/0.1762, allocations: 405.4 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.1762, allocations: 8.031 kB / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.1763, allocations: 8.844 kB / 0.7873 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.524e-05/0.1764, allocations: 176.2 kB / 0.7875 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1764, allocations: 384 / 0.7875 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.1764, allocations: 4.375 kB / 0.7875 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.1765, allocations: 73.97 kB / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.1765, allocations: 0 / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1766, allocations: 3.938 kB / 0.7875 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.1766, allocations: 4 kB / 0.7875 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.167e-05/0.1766, allocations: 39.97 kB / 0.7876 GB, free: 120 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.289/0.4657, allocations: 155.2 kB / 0.7877 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.4658, allocations: 64.8 kB / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.4659, allocations: 49.28 kB / 0.7878 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.4659, allocations: 2.875 kB / 0.7878 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.4659, allocations: 38.25 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.155e-06/0.4659, allocations: 0.7188 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002643/0.4662, allocations: 188.2 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.4662, allocations: 81.86 kB / 0.7881 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.668e-05/0.4663, allocations: 118.6 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.4663, allocations: 29.14 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.012e-05/0.4663, allocations: 86.7 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.4664, allocations: 29.28 kB / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.4664, allocations: 22.39 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.09e-05/0.4665, allocations: 317.9 kB / 0.7887 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.317e-05/0.4665, allocations: 37.44 kB / 0.7887 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.4666, allocations: 34.23 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.629e-05/0.4667, allocations: 148.8 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4667, allocations: 0 / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001316/0.4668, allocations: 151.6 kB / 0.7891 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.4668, allocations: 35.14 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4668, allocations: 0 / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.4669, allocations: 1.5 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.4669, allocations: 2.906 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.4669, allocations: 4.5 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.467, allocations: 16.08 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.467, allocations: 5.25 kB / 0.7891 GB, free: 47.74 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 (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 5.839e-05/0.4671, allocations: 145.8 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.4671, allocations: 7.875 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.173e-05/0.4671, allocations: 10.19 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4671, allocations: 0 / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4671, allocations: 7.641 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.4672, allocations: 1.594 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.604e-05/0.4672, allocations: 162.7 kB / 0.7894 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4672, allocations: 1.844 kB / 0.7894 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.4672, allocations: 2.625 kB / 0.7894 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.4672, allocations: 0 / 0.7894 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.4672, allocations: 5.438 kB / 0.7895 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4673, allocations: 2.766 kB / 0.7895 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4673, allocations: 4.531 kB / 0.7895 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.4674, allocations: 197.7 kB / 0.7896 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.4674, allocations: 89.36 kB / 0.7897 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.4675, allocations: 4.5 kB / 0.7897 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.868e-05/0.4675, allocations: 2.625 kB / 0.7897 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.4675, allocations: 18.39 kB / 0.7898 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.4675, allocations: 5.25 kB / 0.7898 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.636e-05/0.4676, allocations: 90.47 kB / 0.7898 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4676, allocations: 2.625 kB / 0.7899 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002897/0.4679, allocations: 69.02 kB / 0.7899 GB, free: 47.12 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 (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.0002437/0.4681, allocations: 166.9 kB / 0.7901 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001922/0.4683, allocations: 196.5 kB / 0.7903 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4683, allocations: 0 / 0.7903 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.406e-05/0.4684, allocations: 156.4 kB / 0.7904 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.4686, allocations: 9.688 kB / 0.7904 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002109/0.4688, allocations: 152.9 kB / 0.7906 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.164e-05/0.4689, allocations: 0.685 MB / 0.7912 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.629e-06/0.4689, allocations: 0.5 kB / 0.7912 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-06/0.4689, allocations: 11.72 kB / 0.7912 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.4689, allocations: 0 / 0.7912 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.003419/0.4723, allocations: 2.033 MB / 0.7932 GB, free: 46.06 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)