Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009267/0.0009268, allocations: 172.3 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.4 MB / 0.578 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000735/0.000735, allocations: 92.78 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003097, allocations: 11.16 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.179, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007659/0.1798, allocations: 369.9 kB / 0.9013 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1815, allocations: 1.5 MB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.1815, allocations: 3.938 kB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.139e-05/0.1816, allocations: 0 / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.902e-05/0.1817, allocations: 7.938 kB / 0.9027 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005986/0.1823, allocations: 166.1 kB / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.334e-05/0.1823, allocations: 27.97 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.1824, allocations: 0 / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.165e-05/0.1824, allocations: 23.91 kB / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.912e-05/0.1825, allocations: 19.98 kB / 0.903 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1825, allocations: 3.938 kB / 0.903 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.1828, allocations: 239.6 kB / 0.9032 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.1828, allocations: 8 kB / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.1829, allocations: 41.56 kB / 0.9033 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.1831, allocations: 211.6 kB / 0.9035 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1832, allocations: 4 kB / 0.9035 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1832, allocations: 3.938 kB / 0.9035 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.1832, allocations: 0 / 0.9035 GB, free: 60.79 MB / 0.6042 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.0002754/0.1834, allocations: 390.3 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1835, allocations: 8.031 kB / 0.9038 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.631e-05/0.1835, allocations: 34.75 kB / 0.9039 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.1836, allocations: 4.938 kB / 0.9039 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.468e-05/0.1836, allocations: 168.3 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1836, allocations: 4.375 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.1837, allocations: 4.312 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.1838, allocations: 81.78 kB / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.1838, allocations: 4 kB / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1838, allocations: 0 / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1838, allocations: 0 / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.854e-05/0.1839, allocations: 39.89 kB / 0.9042 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.184, allocations: 173.6 kB / 0.9043 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.938e-05/0.1841, allocations: 58.55 kB / 0.9044 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.1841, allocations: 56.86 kB / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.1841, allocations: 4 kB / 0.9044 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.1842, allocations: 34.5 kB / 0.9045 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1842, allocations: 0 / 0.9045 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002616/0.1844, allocations: 187.2 kB / 0.9047 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.1845, allocations: 81.11 kB / 0.9047 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.803e-05/0.1845, allocations: 113.8 kB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.1846, allocations: 29.7 kB / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.167e-05/0.1846, allocations: 88.16 kB / 0.905 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.1846, allocations: 19.72 kB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.1846, allocations: 0 / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.1847, allocations: 326.8 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.122e-05/0.1847, allocations: 32.08 kB / 0.9053 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.723e-05/0.1848, allocations: 39.95 kB / 0.9054 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1849, allocations: 144.2 kB / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1849, allocations: 0 / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001423/0.185, allocations: 159.8 kB / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.1851, allocations: 40.72 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1851, allocations: 4 kB / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1851, allocations: 0 / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.1851, allocations: 0 / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1851, allocations: 0 / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.607e-05/0.1852, allocations: 7.938 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.1852, allocations: 11.98 kB / 0.9057 GB, free: 58.22 MB / 0.6042 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 6.393e-05/0.1853, allocations: 147.5 kB / 0.9058 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.1853, allocations: 11.84 kB / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.728e-06/0.1853, allocations: 8.375 kB / 0.9059 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1853, allocations: 0 / 0.9059 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1854, allocations: 7.938 kB / 0.9059 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1854, allocations: 0 / 0.9059 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.329e-05/0.1854, allocations: 165.6 kB / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1854, allocations: 0 / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-06/0.1854, allocations: 3.938 kB / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1854, allocations: 0 / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1855, allocations: 4 kB / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1855, allocations: 3.984 kB / 0.906 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1855, allocations: 0 / 0.906 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.1857, allocations: 198.7 kB / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.1857, allocations: 92.95 kB / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1857, allocations: 0 / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-05/0.1857, allocations: 11.98 kB / 0.9063 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.1858, allocations: 0 / 0.9063 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.1858, allocations: 4 kB / 0.9063 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.883e-05/0.1858, allocations: 95.27 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1858, allocations: 4.031 kB / 0.9064 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002653/0.1861, allocations: 71.98 kB / 0.9065 GB, free: 57.3 MB / 0.6042 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.0004904/0.1866, allocations: 0.7935 MB / 0.9073 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001843/0.1868, allocations: 195.3 kB / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1868, allocations: 0 / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.339e-05/0.1869, allocations: 151.5 kB / 0.9076 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.1871, allocations: 16.97 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.1875, allocations: 228.2 kB / 0.9078 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.1877, allocations: 0.6887 MB / 0.9085 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.223e-06/0.1877, allocations: 0 / 0.9085 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.1877, allocations: 11.44 kB / 0.9085 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/0.1877, allocations: 4.062 kB / 0.9085 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.1997, allocations: 2.857 MB / 0.9113 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/0.1999, allocations: 232.7 kB / 0.9115 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/1.779, allocations: 0 / 0.9115 GB, free: 52.15 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)