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.324/1.324, allocations: 252 MB / 267 MB, free: 10.99 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.0009652/0.0009653, allocations: 179.5 kB / 326.6 MB, free: 2.23 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.519/1.519, allocations: 205.4 MB / 0.5776 GB, free: 20.52 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.0007273/0.0007273, allocations: 88.42 kB / 0.6823 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002985, allocations: 15.19 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1757, allocations: 106.3 MB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0006065/0.1763, allocations: 366.1 kB / 0.9007 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1778, allocations: 1.426 MB / 0.9021 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.1778, allocations: 0 / 0.9021 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.286e-05/0.1779, allocations: 0 / 0.9021 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.497e-05/0.1779, allocations: 8 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.1784, allocations: 151.7 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.879e-05/0.1784, allocations: 23.92 kB / 0.9022 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.1785, allocations: 7.984 kB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.667e-05/0.1785, allocations: 15.98 kB / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.1786, allocations: 23.91 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1786, allocations: 4 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.1789, allocations: 223.6 kB / 0.9025 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.1789, allocations: 11.98 kB / 0.9025 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.1789, allocations: 29.7 kB / 0.9025 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1791, allocations: 143.8 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1791, allocations: 3.938 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1791, allocations: 0 / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.1791, allocations: 0 / 0.9027 GB, free: 61.89 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.0002896/0.1794, allocations: 393.2 kB / 0.903 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1795, allocations: 8.031 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.1795, allocations: 42.5 kB / 0.9031 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.1795, allocations: 7.953 kB / 0.9031 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.6e-05/0.1796, allocations: 171 kB / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1796, allocations: 4 kB / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1797, allocations: 0 / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.1798, allocations: 73.66 kB / 0.9033 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.1798, allocations: 0 / 0.9033 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.1798, allocations: 0 / 0.9033 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1798, allocations: 0 / 0.9033 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.013e-05/0.1799, allocations: 39.91 kB / 0.9034 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.18, allocations: 177.6 kB / 0.9035 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.076e-05/0.1801, allocations: 58.55 kB / 0.9036 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.1801, allocations: 52.86 kB / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.1802, allocations: 4 kB / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.1802, allocations: 30.56 kB / 0.9037 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1802, allocations: 0 / 0.9037 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002619/0.1804, allocations: 191.1 kB / 0.9039 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1805, allocations: 85.14 kB / 0.904 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.1806, allocations: 113.8 kB / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.1806, allocations: 25.7 kB / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.1806, allocations: 88.12 kB / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.1806, allocations: 23.66 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.1807, allocations: 0 / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.215e-05/0.1807, allocations: 318.8 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.085e-05/0.1807, allocations: 35.98 kB / 0.9045 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.645e-05/0.1808, allocations: 40.12 kB / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.459e-05/0.1809, allocations: 73.66 kB / 0.9046 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1809, allocations: 0 / 0.9046 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001349/0.181, allocations: 147.9 kB / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.181, allocations: 37.69 kB / 0.9048 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.181, allocations: 0 / 0.9048 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.1811, allocations: 0 / 0.9048 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.1811, allocations: 0 / 0.9048 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1811, allocations: 0 / 0.9048 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.939e-05/0.1812, allocations: 15.89 kB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.1812, allocations: 12.06 kB / 0.9048 GB, free: 59.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.51e-05/0.1813, allocations: 155.4 kB / 0.905 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.1813, allocations: 4 kB / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.009e-05/0.1813, allocations: 8.375 kB / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1813, allocations: 0 / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1813, allocations: 3.938 kB / 0.905 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1813, allocations: 0 / 0.905 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.238e-05/0.1814, allocations: 173.6 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1814, allocations: 0 / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1814, allocations: 0 / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1814, allocations: 4 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1814, allocations: 4 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1814, allocations: 0 / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1814, allocations: 0 / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.1816, allocations: 210.5 kB / 0.9054 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.1816, allocations: 85.02 kB / 0.9055 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.1817, allocations: 7.984 kB / 0.9055 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.25e-05/0.1817, allocations: 4 kB / 0.9055 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.1817, allocations: 4.031 kB / 0.9055 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.1817, allocations: 15.98 kB / 0.9055 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.891e-05/0.1818, allocations: 87.28 kB / 0.9056 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1818, allocations: 0 / 0.9056 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002443/0.182, allocations: 71.98 kB / 0.9056 GB, free: 58.48 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 (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.000513/0.1825, allocations: 0.8027 MB / 0.9064 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.1828, allocations: 195.3 kB / 0.9066 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1828, allocations: 0 / 0.9066 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.913e-05/0.1829, allocations: 151.3 kB / 0.9068 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.183, allocations: 4 kB / 0.9068 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.1834, allocations: 232.3 kB / 0.907 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.368e-05/0.1835, allocations: 0.6848 MB / 0.9077 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.589e-06/0.1835, allocations: 0 / 0.9077 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.1835, allocations: 13.06 kB / 0.9077 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.1835, allocations: 0 / 0.9077 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01141/0.1949, allocations: 2.855 MB / 0.9105 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00012/0.1951, allocations: 209.9 kB / 0.9107 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/1.843, allocations: 0 / 0.9107 GB, free: 53.37 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)