Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.268/1.268, 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.0008878/0.0008878, allocations: 176.1 kB / 327 MB, free: 2.094 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.496/1.496, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.0007328/0.0007328, allocations: 91.69 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003172, allocations: 15.41 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1945, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0007196/0.1952, allocations: 357.9 kB / 0.9013 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.1971, allocations: 1.449 MB / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.729e-05/0.1972, allocations: 3.938 kB / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.641e-05/0.1972, allocations: 4 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.1973, allocations: 3.938 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.1978, allocations: 130.8 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.186e-05/0.1979, allocations: 39.95 kB / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.1979, allocations: 3.984 kB / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.666e-05/0.198, allocations: 27.92 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.016e-05/0.198, allocations: 23.97 kB / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1981, allocations: 7.938 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.1983, allocations: 183.7 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.1984, allocations: 19.92 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.1984, allocations: 53.5 kB / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.1986, allocations: 183.6 kB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1987, allocations: 0 / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1987, allocations: 0 / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1987, allocations: 0 / 0.9033 GB, free: 60.91 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003076/0.199, allocations: 435.1 kB / 0.9037 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.199, allocations: 8.031 kB / 0.9038 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.86e-05/0.1991, allocations: 34.75 kB / 0.9038 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.1991, allocations: 12.78 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.853e-05/0.1992, allocations: 183.2 kB / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1992, allocations: 384 / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.1992, allocations: 4.375 kB / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1994, allocations: 105.7 kB / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1994, allocations: 0 / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1994, allocations: 0 / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1995, allocations: 4 kB / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.042e-05/0.1995, allocations: 59.95 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001058/0.1996, allocations: 177.6 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.718e-05/0.1997, allocations: 74.53 kB / 0.9044 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.816e-05/0.1998, allocations: 72.89 kB / 0.9045 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.1998, allocations: 0 / 0.9045 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.1999, allocations: 42.44 kB / 0.9045 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1999, allocations: 0 / 0.9045 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003144/0.2002, allocations: 247.3 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.2002, allocations: 85.09 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.769e-05/0.2003, allocations: 141.7 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.2003, allocations: 25.7 kB / 0.905 GB, free: 59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.2004, allocations: 92.12 kB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.2004, allocations: 19.73 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.2004, allocations: 4 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.2005, allocations: 322.9 kB / 0.9054 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.391e-05/0.2006, allocations: 99.94 kB / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.583e-05/0.2007, allocations: 99.94 kB / 0.9056 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.2009, allocations: 285.8 kB / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2009, allocations: 0 / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002613/0.2011, allocations: 320.8 kB / 0.9062 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.2012, allocations: 75.38 kB / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2012, allocations: 0 / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2012, allocations: 0 / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.864e-06/0.2012, allocations: 12 kB / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.2012, allocations: 3.984 kB / 0.9062 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.2014, allocations: 4 kB / 0.9062 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.2014, allocations: 4 kB / 0.9063 GB, free: 57.62 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 7.861e-05/0.2015, allocations: 151.5 kB / 0.9064 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.2015, allocations: 19.77 kB / 0.9064 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.337e-05/0.2015, allocations: 4.25 kB / 0.9064 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2015, allocations: 4 kB / 0.9064 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2015, allocations: 0 / 0.9064 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2015, allocations: 7.938 kB / 0.9064 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.318e-05/0.2016, allocations: 177.6 kB / 0.9066 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2016, allocations: 3.938 kB / 0.9066 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.2016, allocations: 0 / 0.9066 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.2016, allocations: 0 / 0.9066 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.2016, allocations: 4 kB / 0.9066 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2017, allocations: 4 kB / 0.9066 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2017, allocations: 0 / 0.9066 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.2019, allocations: 226.6 kB / 0.9068 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.2019, allocations: 89.09 kB / 0.9069 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.2019, allocations: 3.984 kB / 0.9069 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.639e-05/0.202, allocations: 4 kB / 0.9069 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.202, allocations: 11.98 kB / 0.9069 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.2021, allocations: 4 kB / 0.9069 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.2021, allocations: 109.4 kB / 0.907 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2021, allocations: 0 / 0.907 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002385/0.2024, allocations: 63.98 kB / 0.9071 GB, free: 56.64 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: 1 (i) * Number of discrete states: 1 (i) * 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.000495/0.2029, allocations: 0.817 MB / 0.9079 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002837/0.2031, allocations: 370.6 kB / 0.9083 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2032, allocations: 0 / 0.9083 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.2033, allocations: 135.4 kB / 0.9084 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.2034, allocations: 14.67 kB / 0.9084 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.2048, allocations: 2.141 MB / 0.9105 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.205, allocations: 0.6887 MB / 0.9112 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.01e-06/0.205, allocations: 0 / 0.9112 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/0.205, allocations: 15.44 kB / 0.9112 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.205, allocations: 192 / 0.9112 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01177/0.2168, allocations: 2.977 MB / 0.9141 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/0.217, allocations: 215.2 kB / 0.9143 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/1.927, allocations: 2.25 kB / 0.9143 GB, free: 49.2 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)