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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.806/1.806, allocations: 288.4 MB / 303.3 MB, free: 8.121 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.000996/0.000996, allocations: 184.5 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.451/1.451, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0009877/0.0009878, allocations: 86.38 kB / 0.744 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004254, allocations: 12.81 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2089, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007172/0.2097, allocations: 343.8 kB / 0.98 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.2114, allocations: 1.429 MB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.2115, allocations: 4 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.75e-05/0.2115, allocations: 0 / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.833e-05/0.2116, allocations: 0 / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006365/0.2122, allocations: 165.8 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.94e-05/0.2123, allocations: 27.95 kB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.2124, allocations: 4 kB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.839e-05/0.2124, allocations: 15.92 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.13e-05/0.2124, allocations: 19.98 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.2125, allocations: 4 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.2128, allocations: 231.6 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.2128, allocations: 4 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.2129, allocations: 29.64 kB / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.2131, allocations: 147.7 kB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2131, allocations: 0 / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2131, allocations: 4 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2131, allocations: 0 / 0.982 GB, free: 25.14 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.0003547/0.2135, allocations: 389.2 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2136, allocations: 20.02 kB / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.2136, allocations: 34.56 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.2136, allocations: 7.906 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.2137, allocations: 175 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2138, allocations: 0 / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.2138, allocations: 4 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.214, allocations: 77.58 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.214, allocations: 0 / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.214, allocations: 0 / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.214, allocations: 0 / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.745e-05/0.2141, allocations: 39.98 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.2142, allocations: 165.5 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.771e-05/0.2143, allocations: 70.53 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.2144, allocations: 52.86 kB / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.2144, allocations: 0 / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.2144, allocations: 34.5 kB / 0.983 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.2144, allocations: 4 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002796/0.2147, allocations: 187.5 kB / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.2148, allocations: 85.05 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.398e-05/0.2148, allocations: 109.8 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.2148, allocations: 29.7 kB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.496e-05/0.2149, allocations: 88.12 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.2149, allocations: 19.66 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.2149, allocations: 3.938 kB / 0.9835 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.386e-05/0.215, allocations: 326.8 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-05/0.215, allocations: 36.02 kB / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.1e-05/0.2151, allocations: 31.97 kB / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.659e-05/0.2151, allocations: 73.61 kB / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2151, allocations: 0 / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001469/0.2153, allocations: 147.2 kB / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.2153, allocations: 41.69 kB / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2153, allocations: 0 / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.2154, allocations: 0 / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.2154, allocations: 0 / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2154, allocations: 4 kB / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.2155, allocations: 12.05 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.2155, allocations: 4 kB / 0.9842 GB, free: 22.66 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 7.435e-05/0.2156, allocations: 147.5 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.2156, allocations: 15.91 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.518e-06/0.2156, allocations: 4.375 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2157, allocations: 0 / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2157, allocations: 0 / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2157, allocations: 3.984 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.942e-05/0.2158, allocations: 165.6 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2158, allocations: 12 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.2158, allocations: 0 / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2158, allocations: 0 / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.2158, allocations: 4 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2158, allocations: 3.938 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2158, allocations: 0 / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.216, allocations: 199.3 kB / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.216, allocations: 88.98 kB / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.216, allocations: 8.031 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.683e-05/0.2161, allocations: 4 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.2161, allocations: 4 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2161, allocations: 11.98 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.877e-05/0.2162, allocations: 91.25 kB / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2162, allocations: 0 / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002827/0.2164, allocations: 72 kB / 0.985 GB, free: 21.73 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.0005149/0.217, allocations: 0.804 MB / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.2172, allocations: 195.3 kB / 0.9859 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2172, allocations: 0 / 0.9859 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.316e-05/0.2173, allocations: 151.3 kB / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.2174, allocations: 9.5 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.2179, allocations: 228.5 kB / 0.9863 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.218, allocations: 0.6887 MB / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.902e-06/0.218, allocations: 0 / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.218, allocations: 15.42 kB / 0.987 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.218, allocations: 0 / 0.987 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.2312, allocations: 2.847 MB / 0.9898 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/0.2314, allocations: 222 kB / 0.99 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/1.76, allocations: 4 kB / 0.99 GB, free: 16.6 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)