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.001219/0.001219, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.00147, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.589/1.589, allocations: 205.1 MB / 222.4 MB, free: 4.641 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.719/1.719, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001438/0.001438, allocations: 72.75 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2097, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001943/0.2117, allocations: 0.6251 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.2135, allocations: 1.475 MB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.2136, allocations: 0 / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.626e-05/0.2136, allocations: 3.938 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.18e-05/0.2137, allocations: 4 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006212/0.2143, allocations: 215.5 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.471e-05/0.2144, allocations: 35.97 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.2144, allocations: 8.219 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.792e-05/0.2145, allocations: 7.984 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.2145, allocations: 27.91 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.2145, allocations: 0 / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.2149, allocations: 247.6 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.2149, allocations: 7.984 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.215, allocations: 15.88 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.2153, allocations: 207.6 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2153, allocations: 4 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2153, allocations: 0 / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.2153, allocations: 3.938 kB / 0.7863 GB, free: 10.48 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.0003603/0.2157, allocations: 405 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2157, allocations: 12.03 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.699e-05/0.2157, allocations: 30.75 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.2158, allocations: 4.938 kB / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.616e-05/0.2159, allocations: 184.1 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.2159, allocations: 384 / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.2159, allocations: 8.375 kB / 0.7869 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.216, allocations: 73.78 kB / 0.787 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.216, allocations: 3.938 kB / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.2161, allocations: 0 / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.2161, allocations: 0 / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.851e-05/0.2161, allocations: 43.95 kB / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.2163, allocations: 157.7 kB / 0.7872 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.068e-05/0.2163, allocations: 66.48 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.228e-05/0.2164, allocations: 56.86 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.2164, allocations: 0 / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.2165, allocations: 34.5 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.2165, allocations: 0 / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002742/0.2168, allocations: 191.2 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.2168, allocations: 81.11 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.272e-05/0.2169, allocations: 117.8 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.2169, allocations: 25.7 kB / 0.7877 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.2169, allocations: 88.17 kB / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.217, allocations: 19.66 kB / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.217, allocations: 21.7 kB / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.675e-05/0.2171, allocations: 318.8 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.245e-05/0.2172, allocations: 35.97 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.412e-05/0.2172, allocations: 35.97 kB / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.2174, allocations: 148.3 kB / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2174, allocations: 0 / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001684/0.2175, allocations: 163.1 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.2176, allocations: 41.69 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2176, allocations: 0 / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.2176, allocations: 0 / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.2176, allocations: 0 / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2176, allocations: 0.625 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.2177, allocations: 12 kB / 0.7886 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.2178, allocations: 11.98 kB / 0.7886 GB, free: 7.867 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.539e-05/0.2179, allocations: 143.5 kB / 0.7887 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.2179, allocations: 11.97 kB / 0.7887 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.173e-05/0.2179, allocations: 8.375 kB / 0.7887 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.2179, allocations: 4 kB / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2179, allocations: 0 / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.2179, allocations: 0 / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.731e-05/0.218, allocations: 169.5 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.218, allocations: 0 / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-06/0.218, allocations: 3.938 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.218, allocations: 0 / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2181, allocations: 4 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2181, allocations: 0 / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2181, allocations: 7.938 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.2183, allocations: 198.7 kB / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.2183, allocations: 92.89 kB / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.2183, allocations: 0 / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.521e-05/0.2184, allocations: 11.98 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.2184, allocations: 0 / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.2184, allocations: 4 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.343e-05/0.2185, allocations: 99.3 kB / 0.7893 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2185, allocations: 0 / 0.7893 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002792/0.2188, allocations: 75.98 kB / 0.7894 GB, free: 6.941 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.0006577/0.2194, allocations: 0.782 MB / 0.7901 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.2197, allocations: 207.2 kB / 0.7903 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2197, allocations: 4.094 kB / 0.7903 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.2198, allocations: 151.4 kB / 0.7905 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.22, allocations: 4 kB / 0.7905 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.2204, allocations: 227.5 kB / 0.7907 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.2206, allocations: 0.6846 MB / 0.7914 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.42e-06/0.2206, allocations: 64 / 0.7914 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.2206, allocations: 15.44 kB / 0.7914 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2206, allocations: 4 kB / 0.7914 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.2385, allocations: 3.08 MB / 0.7944 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/7.102, allocations: 15.75 kB / 0.7944 GB, free: 1.758 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)