Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.736/1.736, allocations: 288.4 MB / 303.4 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 173.7 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009248/0.0009247, allocations: 100.5 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004633/0.0004634, allocations: 13.28 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2126, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007126/0.2133, allocations: 347.7 kB / 0.9799 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.2151, allocations: 1.429 MB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.2152, allocations: 0 / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.678e-05/0.2153, allocations: 4 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.188e-05/0.2153, allocations: 4 kB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.2159, allocations: 151.7 kB / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.625e-05/0.2159, allocations: 31.95 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.216, allocations: 0 / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.216, allocations: 19.92 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.2161, allocations: 23.97 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.2161, allocations: 0 / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.2164, allocations: 231.6 kB / 0.9818 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.2165, allocations: 7.984 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.2165, allocations: 33.64 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.2167, allocations: 147.7 kB / 0.982 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2167, allocations: 0 / 0.982 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2167, allocations: 0 / 0.982 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2167, allocations: 0 / 0.982 GB, free: 25.21 MB / 0.6198 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.0003322/0.217, allocations: 385.2 kB / 0.9823 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2171, allocations: 12.03 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.2171, allocations: 7.906 kB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.133e-05/0.2172, allocations: 175 kB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.2172, allocations: 0 / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.2172, allocations: 4 kB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.2174, allocations: 69.66 kB / 0.9826 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2174, allocations: 0 / 0.9826 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2174, allocations: 0 / 0.9826 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2174, allocations: 0 / 0.9826 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.148e-05/0.2175, allocations: 43.91 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.2176, allocations: 165.6 kB / 0.9828 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.22e-05/0.2177, allocations: 66.56 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.2177, allocations: 48.86 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.419e-06/0.2177, allocations: 0 / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.2178, allocations: 34.56 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 7.41e-07/0.2178, allocations: 0 / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002708/0.2181, allocations: 195.3 kB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.2181, allocations: 85.12 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.91e-05/0.2182, allocations: 114.1 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.2182, allocations: 25.7 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.2182, allocations: 88.14 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.2183, allocations: 27.64 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.2183, allocations: 3.938 kB / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.581e-05/0.2183, allocations: 318.8 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.664e-05/0.2184, allocations: 35.97 kB / 0.9838 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.002e-05/0.2184, allocations: 44.22 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.415e-05/0.2185, allocations: 65.75 kB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2185, allocations: 4 kB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001478/0.2187, allocations: 155.2 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.2187, allocations: 33.7 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2187, allocations: 3.984 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2187, allocations: 0 / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.2188, allocations: 4 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2188, allocations: 0 / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.2189, allocations: 4 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.2189, allocations: 8.062 kB / 0.9841 GB, free: 22.78 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.287e-05/0.219, allocations: 159.5 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.219, allocations: 11.91 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.015e-05/0.219, allocations: 4.375 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.219, allocations: 0 / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2191, allocations: 0 / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.2191, allocations: 0 / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.03e-05/0.2192, allocations: 173.6 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2192, allocations: 7.969 kB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.2192, allocations: 4 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2192, allocations: 0 / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.2192, allocations: 4 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.2192, allocations: 0 / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2192, allocations: 0 / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.2194, allocations: 202.6 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.2194, allocations: 81.06 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.2195, allocations: 4 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.401e-05/0.2195, allocations: 12.02 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.2195, allocations: 4 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.2195, allocations: 4 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.95e-05/0.2196, allocations: 91.27 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2196, allocations: 0 / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000282/0.2199, allocations: 71.98 kB / 0.9849 GB, free: 21.86 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002678/0.2201, allocations: 163.2 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.2204, allocations: 195.3 kB / 0.9852 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2204, allocations: 4.062 kB / 0.9852 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.924e-05/0.2205, allocations: 151.3 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.2206, allocations: 14.17 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.2209, allocations: 174.6 kB / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.221, allocations: 0.6886 MB / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.801e-06/0.221, allocations: 0 / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.923e-06/0.221, allocations: 11.5 kB / 0.9862 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.221, allocations: 4 kB / 0.9862 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.003577/0.2246, allocations: 1.953 MB / 0.9881 GB, free: 18.43 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)