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.327/1.327, allocations: 252 MB / 267 MB, free: 10.97 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.0009331/0.0009333, allocations: 182.4 kB / 326.6 MB, free: 2.207 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.602/1.602, allocations: 205.4 MB / 0.5777 GB, free: 20.24 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.0007229/0.0007226, allocations: 89.38 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004645, allocations: 12.19 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2046, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0006526/0.2053, allocations: 354 kB / 0.9007 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2066, allocations: 1.383 MB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.046e-05/0.2067, allocations: 0 / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.34e-05/0.2067, allocations: 0 / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.269e-05/0.2068, allocations: 4 kB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.2072, allocations: 127.8 kB / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.243e-05/0.2072, allocations: 47.81 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.136e-05/0.2073, allocations: 0 / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.923e-05/0.2073, allocations: 23.92 kB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.2074, allocations: 19.97 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.2074, allocations: 4 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.2076, allocations: 187.7 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.2076, allocations: 19.92 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.2077, allocations: 25.7 kB / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.2078, allocations: 115.8 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2078, allocations: 0 / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.654e-06/0.2078, allocations: 4 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.2078, allocations: 0 / 0.9026 GB, free: 61.46 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.0002506/0.2081, allocations: 426.9 kB / 0.903 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2081, allocations: 15.95 kB / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.168e-05/0.2082, allocations: 34.56 kB / 0.903 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.2082, allocations: 11.86 kB / 0.903 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.781e-05/0.2083, allocations: 177.6 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.2083, allocations: 4 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.2083, allocations: 4 kB / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.2084, allocations: 93.64 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2085, allocations: 0 / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.2085, allocations: 7.938 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-06/0.2085, allocations: 0 / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.954e-05/0.2085, allocations: 59.95 kB / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.798e-05/0.2087, allocations: 185.6 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.395e-05/0.2087, allocations: 74.53 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/0.2088, allocations: 76.89 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-06/0.2088, allocations: 0 / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.2088, allocations: 30.56 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.2089, allocations: 0 / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002871/0.2091, allocations: 259.1 kB / 0.904 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.2092, allocations: 81.14 kB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.334e-05/0.2093, allocations: 145.9 kB / 0.9042 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.2093, allocations: 25.7 kB / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.406e-05/0.2093, allocations: 88.14 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.2093, allocations: 15.84 kB / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-06/0.2093, allocations: 0 / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.853e-05/0.2094, allocations: 326.8 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.171e-05/0.2095, allocations: 99.94 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.498e-05/0.2096, allocations: 107.9 kB / 0.9048 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.2097, allocations: 155.3 kB / 0.905 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2097, allocations: 4 kB / 0.905 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002486/0.2099, allocations: 324.9 kB / 0.9053 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.21, allocations: 75.31 kB / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.21, allocations: 0 / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.21, allocations: 0 / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.21, allocations: 0 / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.21, allocations: 0 / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.2102, allocations: 11.91 kB / 0.9054 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.2102, allocations: 12 kB / 0.9054 GB, free: 58.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.109e-05/0.2103, allocations: 155.5 kB / 0.9055 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.2103, allocations: 7.906 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.137e-05/0.2103, allocations: 8.25 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2103, allocations: 0 / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2103, allocations: 4 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2103, allocations: 0 / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.321e-05/0.2104, allocations: 181.5 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2104, allocations: 0 / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2104, allocations: 4 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2104, allocations: 144 / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.2104, allocations: 4 kB / 0.9057 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2104, allocations: 0 / 0.9057 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2104, allocations: 3.984 kB / 0.9057 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.2106, allocations: 234.5 kB / 0.9059 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.2107, allocations: 85.02 kB / 0.906 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.2107, allocations: 4 kB / 0.906 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.84e-05/0.2107, allocations: 12.02 kB / 0.906 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.2108, allocations: 4 kB / 0.906 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.2108, allocations: 0 / 0.906 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.341e-05/0.2108, allocations: 113.4 kB / 0.9062 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2109, allocations: 0 / 0.9062 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002359/0.2111, allocations: 63.98 kB / 0.9062 GB, free: 57.32 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 (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.0004586/0.2116, allocations: 0.818 MB / 0.907 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002768/0.2118, allocations: 374.6 kB / 0.9074 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2119, allocations: 0 / 0.9074 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.039e-05/0.212, allocations: 131.4 kB / 0.9075 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.2121, allocations: 10.52 kB / 0.9075 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009367/0.213, allocations: 1.021 MB / 0.9085 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.35e-05/0.2131, allocations: 0.6926 MB / 0.9092 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.999e-06/0.2131, allocations: 192 / 0.9092 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.2132, allocations: 19.42 kB / 0.9092 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2132, allocations: 3.938 kB / 0.9092 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/0.2253, allocations: 2.928 MB / 0.9121 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001378/0.2255, allocations: 204.1 kB / 0.9123 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/1.724, allocations: 0 / 0.9123 GB, free: 51.11 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)