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.38/1.38, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.00141/0.00141, allocations: 177.2 kB / 326.5 MB, free: 2.246 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.704/1.704, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.000884/0.000884, allocations: 91.61 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003241, allocations: 12.62 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1622, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0005924/0.1629, allocations: 353.2 kB / 0.9005 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1642, allocations: 1.38 MB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.1642, allocations: 0 / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.326e-05/0.1643, allocations: 4 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.971e-05/0.1643, allocations: 7.984 kB / 0.9018 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.1648, allocations: 127.7 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.813e-05/0.1648, allocations: 27.97 kB / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.1649, allocations: 3.984 kB / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.097e-05/0.1649, allocations: 19.92 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.236e-05/0.165, allocations: 31.89 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.165, allocations: 4 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.1652, allocations: 159.8 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.1652, allocations: 19.92 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.1652, allocations: 29.7 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.1654, allocations: 123.8 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.1654, allocations: 0 / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1654, allocations: 0 / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.1654, allocations: 0 / 0.9024 GB, free: 61.56 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.0002897/0.1657, allocations: 426.8 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1658, allocations: 8.031 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.801e-05/0.1658, allocations: 38.56 kB / 0.9028 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.1658, allocations: 11.86 kB / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.279e-05/0.1659, allocations: 186.8 kB / 0.903 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.1659, allocations: 0 / 0.903 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1659, allocations: 4 kB / 0.903 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1661, allocations: 93.64 kB / 0.9031 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-06/0.1661, allocations: 0 / 0.9031 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1661, allocations: 0 / 0.9031 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.1661, allocations: 0 / 0.9031 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.744e-05/0.1662, allocations: 59.95 kB / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.731e-05/0.1663, allocations: 177.6 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.265e-05/0.1664, allocations: 86.47 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-06/0.1664, allocations: 4.031 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.1664, allocations: 34.56 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1664, allocations: 0 / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003025/0.1667, allocations: 332.3 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.1667, allocations: 81.09 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.1668, allocations: 144.7 kB / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.1668, allocations: 29.73 kB / 0.904 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.1669, allocations: 96.06 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.1669, allocations: 19.78 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-06/0.1669, allocations: 0 / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.74e-05/0.1669, allocations: 326.8 kB / 0.9044 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.285e-05/0.167, allocations: 99.94 kB / 0.9045 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.681e-05/0.1671, allocations: 103.9 kB / 0.9046 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.1673, allocations: 163.3 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1673, allocations: 0 / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002528/0.1675, allocations: 328.8 kB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.1676, allocations: 67.39 kB / 0.9052 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1676, allocations: 0 / 0.9052 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1676, allocations: 0 / 0.9052 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-06/0.1676, allocations: 3.984 kB / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.1676, allocations: 0 / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.1677, allocations: 11.91 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.1678, allocations: 4 kB / 0.9052 GB, free: 58.38 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.083e-05/0.1678, allocations: 159.5 kB / 0.9053 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.1679, allocations: 7.906 kB / 0.9053 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.099e-05/0.1679, allocations: 8.25 kB / 0.9053 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1679, allocations: 0 / 0.9053 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1679, allocations: 3.984 kB / 0.9054 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1679, allocations: 0 / 0.9054 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.706e-05/0.168, allocations: 177.5 kB / 0.9055 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.168, allocations: 0 / 0.9055 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.168, allocations: 3.984 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.168, allocations: 0 / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.168, allocations: 4 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.168, allocations: 4 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.168, allocations: 0 / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.1682, allocations: 234.7 kB / 0.9058 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/0.1682, allocations: 85 kB / 0.9058 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1683, allocations: 4 kB / 0.9058 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.791e-05/0.1683, allocations: 4 kB / 0.9058 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.1684, allocations: 7.984 kB / 0.9059 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1684, allocations: 4.031 kB / 0.9059 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.1685, allocations: 111.2 kB / 0.906 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1685, allocations: 4 kB / 0.906 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002456/0.1687, allocations: 60 kB / 0.906 GB, free: 57.4 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.0004542/0.1692, allocations: 0.817 MB / 0.9068 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002822/0.1695, allocations: 370.7 kB / 0.9072 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1695, allocations: 0 / 0.9072 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.688e-05/0.1696, allocations: 143.2 kB / 0.9073 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.936e-05/0.1697, allocations: 6.344 kB / 0.9073 GB, free: 56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.1701, allocations: 435.7 kB / 0.9077 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.1702, allocations: 0.6965 MB / 0.9084 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.2e-06/0.1702, allocations: 0 / 0.9084 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.1703, allocations: 19.42 kB / 0.9084 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.1703, allocations: 0 / 0.9084 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.1813, allocations: 2.867 MB / 0.9112 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000117/0.1814, allocations: 190.4 kB / 0.9114 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.424/1.605, allocations: 0.75 kB / 0.9114 GB, free: 51.85 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)