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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008925/0.0008925, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009424/0.0009423, allocations: 194.1 kB / 16.14 MB, free: 6.707 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.238/1.238, allocations: 205.1 MB / 222 MB, free: 4.773 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.604/1.604, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001382/0.001382, allocations: 67.64 kB / 0.6709 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1794, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001583/0.1811, allocations: 0.6889 MB / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.1827, allocations: 1.515 MB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.796e-05/0.1827, allocations: 0 / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.235e-05/0.1828, allocations: 0 / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.453e-05/0.1828, allocations: 4 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.1833, allocations: 170.9 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.012e-05/0.1833, allocations: 31.92 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.223e-05/0.1834, allocations: 3.984 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.578e-05/0.1834, allocations: 8 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.332e-05/0.1835, allocations: 27.91 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.1835, allocations: 0 / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.1838, allocations: 239.6 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.1839, allocations: 11.94 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.1839, allocations: 11.92 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.1842, allocations: 219.5 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1842, allocations: 0 / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.91e-07/0.1842, allocations: 4 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.1842, allocations: 0 / 0.7856 GB, free: 10.95 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.0004124/0.1847, allocations: 409.3 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1847, allocations: 8.031 kB / 0.786 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.1847, allocations: 34.69 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.1848, allocations: 8.938 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.1849, allocations: 172.2 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1849, allocations: 4.359 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1849, allocations: 4.375 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1851, allocations: 77.78 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.1851, allocations: 0 / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1851, allocations: 3.984 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1851, allocations: 0 / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.026e-05/0.1852, allocations: 35.98 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.1854, allocations: 165.6 kB / 0.7865 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.812e-05/0.1855, allocations: 58.55 kB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.137e-05/0.1855, allocations: 52.86 kB / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/0.1855, allocations: 4 kB / 0.7866 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1856, allocations: 34.5 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1856, allocations: 0 / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002823/0.1859, allocations: 191.3 kB / 0.7869 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.1859, allocations: 85.11 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.036e-05/0.186, allocations: 121.7 kB / 0.7871 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.186, allocations: 25.7 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.1861, allocations: 96.16 kB / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.1861, allocations: 15.66 kB / 0.7872 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.1861, allocations: 25.7 kB / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.1862, allocations: 314.8 kB / 0.7875 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.1863, allocations: 35.97 kB / 0.7875 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.321e-05/0.1863, allocations: 35.97 kB / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1865, allocations: 144.8 kB / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1865, allocations: 0 / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001663/0.1866, allocations: 159.1 kB / 0.7879 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.1867, allocations: 41.77 kB / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1867, allocations: 0 / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.1867, allocations: 0 / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.1867, allocations: 0 / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1867, allocations: 3.984 kB / 0.7879 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.1868, allocations: 7.984 kB / 0.7879 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.1868, allocations: 8 kB / 0.7879 GB, free: 8.34 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 8.299e-05/0.1869, allocations: 147.5 kB / 0.7881 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.1869, allocations: 7.938 kB / 0.7881 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.197e-05/0.1869, allocations: 16.36 kB / 0.7881 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1869, allocations: 0 / 0.7881 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.187, allocations: 0 / 0.7881 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.187, allocations: 0 / 0.7881 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.136e-05/0.1871, allocations: 165.6 kB / 0.7882 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1871, allocations: 0 / 0.7882 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-06/0.1871, allocations: 3.938 kB / 0.7883 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1871, allocations: 0 / 0.7883 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1871, allocations: 7.984 kB / 0.7883 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1871, allocations: 0 / 0.7883 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1871, allocations: 0 / 0.7883 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.1873, allocations: 202.7 kB / 0.7885 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.1873, allocations: 92.89 kB / 0.7885 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.1874, allocations: 0 / 0.7885 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.273e-05/0.1874, allocations: 11.98 kB / 0.7886 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.1874, allocations: 4 kB / 0.7886 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.1875, allocations: 11.94 kB / 0.7886 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.1875, allocations: 91.27 kB / 0.7887 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1875, allocations: 4.031 kB / 0.7887 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002607/0.1878, allocations: 68 kB / 0.7887 GB, free: 7.414 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.0005952/0.1884, allocations: 0.7935 MB / 0.7895 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1886, allocations: 191.3 kB / 0.7897 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1886, allocations: 0 / 0.7897 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.1887, allocations: 159.4 kB / 0.7898 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.1889, allocations: 4 kB / 0.7898 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.1892, allocations: 236.2 kB / 0.7901 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.1894, allocations: 0.6887 MB / 0.7907 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.019e-06/0.1895, allocations: 0 / 0.7907 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/0.1895, allocations: 19.44 kB / 0.7908 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1895, allocations: 4.062 kB / 0.7908 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9703/1.16, allocations: 2.905 MB / 0.7936 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/1.16, allocations: 216.6 kB / 0.7938 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/3.452, allocations: 0 / 0.7938 GB, free: 2.168 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)