Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.734/2.734, allocations: 287.9 MB / 302.9 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001446/0.001446, allocations: 173.1 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.356/2.356, allocations: 205.4 MB / 0.6301 GB, free: 10.32 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 98.84 kB / 0.7434 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004652, allocations: 13.75 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2001, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0006101/0.2007, allocations: 341.8 kB / 0.9791 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.2025, allocations: 1.428 MB / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.2025, allocations: 0 / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.73e-05/0.2026, allocations: 3.938 kB / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.651e-05/0.2026, allocations: 4 kB / 0.9805 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.2032, allocations: 144.5 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.981e-05/0.2033, allocations: 23.95 kB / 0.9807 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.398e-05/0.2033, allocations: 3.938 kB / 0.9807 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.934e-05/0.2034, allocations: 19.92 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.698e-05/0.2034, allocations: 19.92 kB / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.2035, allocations: 0 / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.2038, allocations: 215.8 kB / 0.9809 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.2039, allocations: 11.92 kB / 0.9809 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.2039, allocations: 29.64 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.2041, allocations: 147.8 kB / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.463e-06/0.2041, allocations: 0 / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.841e-06/0.2041, allocations: 0 / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.424e-06/0.2041, allocations: 0 / 0.9811 GB, free: 25.79 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.0002786/0.2044, allocations: 385.2 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2045, allocations: 8.031 kB / 0.9815 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.2045, allocations: 11.91 kB / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.165e-05/0.2046, allocations: 178.9 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.2046, allocations: 4 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.2047, allocations: 3.938 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.2048, allocations: 73.66 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.182e-06/0.2048, allocations: 0 / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2049, allocations: 0 / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.001e-06/0.2049, allocations: 4 kB / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.809e-05/0.205, allocations: 35.97 kB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.2051, allocations: 165.6 kB / 0.9819 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.191e-05/0.2052, allocations: 66.48 kB / 0.982 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.004e-06/0.2052, allocations: 4.031 kB / 0.982 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.2052, allocations: 30.56 kB / 0.982 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.92e-06/0.2052, allocations: 0 / 0.982 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.00036/0.2056, allocations: 268.3 kB / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.2057, allocations: 81.11 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.2057, allocations: 113.9 kB / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.2058, allocations: 33.64 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.2058, allocations: 84.14 kB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.2058, allocations: 23.64 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-06/0.2059, allocations: 0 / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.2059, allocations: 322.8 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.559e-05/0.206, allocations: 35.97 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.967e-05/0.2061, allocations: 35.97 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.917e-05/0.2062, allocations: 65.67 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.268e-06/0.2062, allocations: 4.031 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002181/0.2064, allocations: 156 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.2065, allocations: 39.72 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.41e-06/0.2065, allocations: 0 / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2065, allocations: 0 / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.907e-06/0.2065, allocations: 0 / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.628e-06/0.2065, allocations: 3.984 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.2067, allocations: 11.98 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.2067, allocations: 4 kB / 0.9832 GB, free: 23.31 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 9.27e-05/0.2068, allocations: 159.5 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.2068, allocations: 11.84 kB / 0.9834 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.478e-05/0.2069, allocations: 8.375 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.617e-06/0.2069, allocations: 3.984 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.519e-06/0.2069, allocations: 0 / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2069, allocations: 3.938 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.007e-05/0.207, allocations: 169.6 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.466e-06/0.207, allocations: 0 / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-06/0.207, allocations: 0 / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.674e-06/0.207, allocations: 4 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.207, allocations: 0 / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.081e-06/0.2071, allocations: 4 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2071, allocations: 4 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.2073, allocations: 194.7 kB / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.2074, allocations: 85.05 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.2074, allocations: 4 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.224e-05/0.2075, allocations: 4 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.2075, allocations: 4 kB / 0.9839 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.2075, allocations: 16.02 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.407e-05/0.2076, allocations: 95.2 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.36e-07/0.2076, allocations: 0 / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003767/0.208, allocations: 68 kB / 0.984 GB, free: 22.39 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.0003036/0.2083, allocations: 159.2 kB / 0.9842 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.2086, allocations: 203.3 kB / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.619e-06/0.2086, allocations: 0 / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.2087, allocations: 151.4 kB / 0.9845 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.2089, allocations: 12 kB / 0.9845 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.2092, allocations: 190.6 kB / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.2093, allocations: 0.6809 MB / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.762e-06/0.2093, allocations: 7.984 kB / 0.9854 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.026e-06/0.2093, allocations: 7.438 kB / 0.9854 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of SimCode: time 1.584e-06/0.2093, allocations: 0 / 0.9854 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.004993/0.2143, allocations: 1.898 MB / 0.9873 GB, free: 19 MB / 0.6198 GB