Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.001201/0.001201, allocations: 108 kB / 15.6 MB, free: 132 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.001191/0.001191, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.147/1.147, allocations: 205.1 MB / 222.4 MB, free: 4.434 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.572/1.572, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001281/0.001282, allocations: 67.36 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1671, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001511/0.1687, allocations: 0.6243 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1701, allocations: 1.42 MB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.1702, allocations: 0 / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.938e-05/0.1702, allocations: 0 / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.163e-05/0.1703, allocations: 11.94 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.1708, allocations: 171.6 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.42e-05/0.1709, allocations: 51.97 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.1709, allocations: 4.266 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.649e-05/0.171, allocations: 23.92 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.171, allocations: 19.92 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.171, allocations: 8 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.1713, allocations: 199.7 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.1713, allocations: 8 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.1714, allocations: 23.8 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.1716, allocations: 199.5 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1716, allocations: 0 / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1716, allocations: 0 / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.1716, allocations: 3.938 kB / 0.7862 GB, free: 10.6 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003564/0.172, allocations: 434.7 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.172, allocations: 8.031 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.84e-05/0.1721, allocations: 34.75 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.1721, allocations: 8.844 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.1722, allocations: 180.2 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1722, allocations: 4.375 kB / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.1722, allocations: 384 / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1724, allocations: 97.77 kB / 0.7869 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1724, allocations: 3.938 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1724, allocations: 4 kB / 0.7869 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.1724, allocations: 0 / 0.7869 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.717e-05/0.1725, allocations: 59.95 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.1726, allocations: 181.5 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.566e-05/0.1727, allocations: 82.53 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.754e-05/0.1728, allocations: 64.89 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-06/0.1728, allocations: 4 kB / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.1729, allocations: 38.5 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1729, allocations: 0 / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000331/0.1732, allocations: 255.2 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.1733, allocations: 77.11 kB / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1734, allocations: 148.4 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.1734, allocations: 29.7 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.1734, allocations: 88.12 kB / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.1735, allocations: 11.81 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.1735, allocations: 29.7 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.1736, allocations: 314.8 kB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.1737, allocations: 108 kB / 0.7883 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.1738, allocations: 107.9 kB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.1741, allocations: 281.9 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1741, allocations: 0 / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003064/0.1744, allocations: 324.7 kB / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.1744, allocations: 67.39 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1745, allocations: 0 / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1745, allocations: 4 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-07/0.1745, allocations: 0 / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1745, allocations: 3.984 kB / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.1746, allocations: 16 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.1746, allocations: 4 kB / 0.7891 GB, free: 7.289 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: 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 9.383e-05/0.1747, allocations: 147.5 kB / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.1747, allocations: 11.98 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.352e-05/0.1748, allocations: 8.234 kB / 0.7893 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1748, allocations: 3.938 kB / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1748, allocations: 4 kB / 0.7893 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1748, allocations: 3.984 kB / 0.7893 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.489e-05/0.1749, allocations: 169.7 kB / 0.7894 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1749, allocations: 11.94 kB / 0.7895 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-06/0.1749, allocations: 3.984 kB / 0.7895 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1749, allocations: 3.938 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1749, allocations: 0 / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1749, allocations: 0 / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1749, allocations: 4 kB / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.1752, allocations: 226.6 kB / 0.7897 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.1752, allocations: 88.95 kB / 0.7898 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1752, allocations: 4.031 kB / 0.7898 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.389e-05/0.1753, allocations: 4 kB / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.1753, allocations: 7.984 kB / 0.7898 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.1753, allocations: 4 kB / 0.7898 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.431e-05/0.1754, allocations: 107.2 kB / 0.7899 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1754, allocations: 0 / 0.7899 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002426/0.1757, allocations: 64 kB / 0.79 GB, free: 6.312 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: 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.00063/0.1763, allocations: 0.8208 MB / 0.7908 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.1767, allocations: 370.7 kB / 0.7911 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1767, allocations: 0 / 0.7911 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.1768, allocations: 139.3 kB / 0.7912 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.1769, allocations: 6.969 kB / 0.7912 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.1788, allocations: 2.145 MB / 0.7933 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.1791, allocations: 0.6924 MB / 0.794 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.481e-06/0.1791, allocations: 0 / 0.794 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.1791, allocations: 19.44 kB / 0.794 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.1791, allocations: 0 / 0.794 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9674/1.147, allocations: 3.25 MB / 0.7972 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/12.12, allocations: 17.88 kB / 0.7972 GB, free: 14.75 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)