Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008311/0.0008311, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.005141/0.005141, allocations: 173.7 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001542/0.001542, allocations: 254.6 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8714/0.8714, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004237, allocations: 19.61 kB / 0.5988 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.194, allocations: 88.53 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0008311/0.1949, allocations: 341.3 kB / 0.6856 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.1969, allocations: 1.46 MB / 0.687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.1969, allocations: 0 / 0.687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.907e-05/0.197, allocations: 0.625 kB / 0.687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.498e-05/0.197, allocations: 0.5625 kB / 0.687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005932/0.1976, allocations: 172.8 kB / 0.6872 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.973e-05/0.1977, allocations: 31.97 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.1977, allocations: 4 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.401e-05/0.1978, allocations: 19.92 kB / 0.6872 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.753e-05/0.1978, allocations: 20.41 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1979, allocations: 4.75 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.1982, allocations: 239.6 kB / 0.6875 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.568e-05/0.1983, allocations: 12.64 kB / 0.6875 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.1983, allocations: 41.56 kB / 0.6875 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.1986, allocations: 212.6 kB / 0.6877 GB, free: 12.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1986, allocations: 0 / 0.6877 GB, free: 12.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1986, allocations: 0.7188 kB / 0.6877 GB, free: 12.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1986, allocations: 3.938 kB / 0.6877 GB, free: 12.4 MB / 494.1 MB 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.0003642/0.199, allocations: 394 kB / 0.6881 GB, free: 11.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.199, allocations: 8.688 kB / 0.6881 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.1991, allocations: 31.56 kB / 0.6881 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.1991, allocations: 8.844 kB / 0.6882 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.1992, allocations: 172.3 kB / 0.6883 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1993, allocations: 7.75 kB / 0.6883 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.1993, allocations: 4.375 kB / 0.6883 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.1994, allocations: 77.78 kB / 0.6884 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.1995, allocations: 0 / 0.6884 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1995, allocations: 7.984 kB / 0.6884 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1995, allocations: 0 / 0.6884 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.382e-05/0.1995, allocations: 27.98 kB / 0.6884 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.1997, allocations: 174.3 kB / 0.6886 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.393e-05/0.1998, allocations: 67.06 kB / 0.6887 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.012e-05/0.1999, allocations: 54.73 kB / 0.6887 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.453e-06/0.1999, allocations: 0 / 0.6887 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.1999, allocations: 34.5 kB / 0.6887 GB, free: 11.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 7.31e-07/0.1999, allocations: 8 kB / 0.6888 GB, free: 11.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002818/0.2002, allocations: 183.2 kB / 0.6889 GB, free: 10.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.2003, allocations: 81.11 kB / 0.689 GB, free: 10.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.326e-05/0.2004, allocations: 118.1 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.2004, allocations: 25.7 kB / 0.6891 GB, free: 10.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.2004, allocations: 88.12 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.2005, allocations: 23.66 kB / 0.6893 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.2005, allocations: 9.719 kB / 0.6893 GB, free: 10.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.2006, allocations: 322.8 kB / 0.6896 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-05/0.2007, allocations: 40 kB / 0.6896 GB, free: 10.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.197e-05/0.2007, allocations: 27.98 kB / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.2009, allocations: 144.2 kB / 0.6898 GB, free: 10.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2009, allocations: 0 / 0.6898 GB, free: 10.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001996/0.2011, allocations: 163.3 kB / 0.6899 GB, free: 9.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.2011, allocations: 33.69 kB / 0.69 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2011, allocations: 4 kB / 0.69 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.2011, allocations: 0 / 0.69 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.2012, allocations: 0 / 0.69 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.2012, allocations: 64 / 0.69 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.192e-05/0.2013, allocations: 11.98 kB / 0.69 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.2013, allocations: 12 kB / 0.69 GB, free: 9.82 MB / 494.1 MB 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.981e-05/0.2014, allocations: 144.8 kB / 0.6901 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.2014, allocations: 11.84 kB / 0.6901 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.339e-05/0.2014, allocations: 4.375 kB / 0.6901 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2014, allocations: 7.875 kB / 0.6901 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2014, allocations: 4 kB / 0.6902 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-06/0.2014, allocations: 0 / 0.6902 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.2016, allocations: 173.6 kB / 0.6903 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2016, allocations: 0 / 0.6903 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-06/0.2016, allocations: 3.938 kB / 0.6903 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.2016, allocations: 0 / 0.6903 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.2016, allocations: 4 kB / 0.6903 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2016, allocations: 4 kB / 0.6903 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2016, allocations: 0 / 0.6903 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.2018, allocations: 198.6 kB / 0.6905 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.2019, allocations: 92.97 kB / 0.6906 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.2019, allocations: 4.031 kB / 0.6906 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.2019, allocations: 8 kB / 0.6906 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.202, allocations: 0 / 0.6906 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.202, allocations: 7.984 kB / 0.6906 GB, free: 9.059 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.428e-05/0.202, allocations: 91.27 kB / 0.6907 GB, free: 8.969 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.202, allocations: 4 kB / 0.6907 GB, free: 8.965 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.2023, allocations: 64 kB / 0.6908 GB, free: 8.902 MB / 494.1 MB 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.0006946/0.203, allocations: 0.7981 MB / 0.6916 GB, free: 8.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.2033, allocations: 199.2 kB / 0.6917 GB, free: 7.863 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2033, allocations: 0 / 0.6917 GB, free: 7.863 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.2034, allocations: 151.3 kB / 0.6919 GB, free: 7.703 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.2036, allocations: 8.75 kB / 0.6919 GB, free: 7.695 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004653/0.2041, allocations: 232.4 kB / 0.6921 GB, free: 7.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.2044, allocations: 0.6848 MB / 0.6928 GB, free: 6.719 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.824e-06/0.2044, allocations: 3.984 kB / 0.6928 GB, free: 6.715 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.2044, allocations: 11.44 kB / 0.6928 GB, free: 6.703 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2044, allocations: 0 / 0.6928 GB, free: 6.703 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.2186, allocations: 2.867 MB / 0.6956 GB, free: 4.02 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/0.2189, allocations: 230.1 kB / 0.6958 GB, free: 3.762 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/1.939, allocations: 0 / 0.6958 GB, free: 3.762 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)