Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_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.001278/0.001278, allocations: 108 kB / 15.61 MB, free: 152 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.001268/0.001268, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002391/0.002391, allocations: 279 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 178.6 MB / 0.5073 GB, free: 4.609 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002676/0.002676, allocations: 96.7 kB / 0.6065 GB, free: 24.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1613, allocations: 89.15 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001793/0.1631, allocations: 0.6115 MB / 0.6942 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.165, allocations: 1.387 MB / 0.6956 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.165, allocations: 0 / 0.6956 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.757e-05/0.1651, allocations: 9.656 kB / 0.6956 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.145e-05/0.1651, allocations: 0 / 0.6956 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005858/0.1657, allocations: 179.8 kB / 0.6957 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.203e-05/0.1658, allocations: 51.91 kB / 0.6958 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.1659, allocations: 5.438 kB / 0.6958 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.1659, allocations: 19.97 kB / 0.6958 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.119e-05/0.166, allocations: 23.91 kB / 0.6958 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.166, allocations: 6.906 kB / 0.6958 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.1663, allocations: 199.7 kB / 0.696 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.1664, allocations: 11.94 kB / 0.696 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.709e-05/0.1664, allocations: 27.84 kB / 0.6961 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.1667, allocations: 187.8 kB / 0.6962 GB, free: 1.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.1668, allocations: 3.984 kB / 0.6963 GB, free: 1.516 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1668, allocations: 0 / 0.6963 GB, free: 1.516 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1668, allocations: 0 / 0.6963 GB, free: 1.516 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005938/0.1674, allocations: 438.7 kB / 0.6967 GB, free: 1.027 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.1674, allocations: 8.031 kB / 0.6967 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.1675, allocations: 34.75 kB / 0.6967 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.1675, allocations: 8.781 kB / 0.6967 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.1677, allocations: 180.2 kB / 0.6969 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1678, allocations: 384 / 0.6969 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1678, allocations: 4.375 kB / 0.6969 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.168, allocations: 101.8 kB / 0.697 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.168, allocations: 0 / 0.697 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.168, allocations: 4 kB / 0.697 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1681, allocations: 0 / 0.697 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1682, allocations: 67.89 kB / 0.6971 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/0.1684, allocations: 177.5 kB / 0.6972 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.1686, allocations: 78.47 kB / 0.6973 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1687, allocations: 72.88 kB / 0.6974 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1687, allocations: 4 kB / 0.6974 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.1688, allocations: 38.5 kB / 0.6974 GB, free: 144 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1688, allocations: 0 / 0.6974 GB, free: 144 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005186/0.1693, allocations: 247.3 kB / 0.6977 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.1694, allocations: 85.05 kB / 0.6977 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.1695, allocations: 143.9 kB / 0.6979 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1696, allocations: 29.7 kB / 0.6979 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.1696, allocations: 88.14 kB / 0.698 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.1697, allocations: 11.8 kB / 0.698 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.1698, allocations: 33.75 kB / 0.698 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.1699, allocations: 318.8 kB / 0.6983 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.1701, allocations: 99.94 kB / 0.6984 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.1702, allocations: 107.9 kB / 0.6985 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.1706, allocations: 277.7 kB / 0.6988 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1706, allocations: 3.984 kB / 0.6988 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003932/0.171, allocations: 332.8 kB / 0.6991 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/0.1711, allocations: 71.39 kB / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1711, allocations: 0 / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1711, allocations: 8.047 kB / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.1711, allocations: 0 / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1711, allocations: 0 / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.1713, allocations: 15.92 kB / 0.6992 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1713, allocations: 0 / 0.6992 GB, free: 14.19 MB / 0.4981 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 0.0001295/0.1714, allocations: 151.5 kB / 0.6993 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.1715, allocations: 11.84 kB / 0.6994 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.1715, allocations: 16.19 kB / 0.6994 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1715, allocations: 0 / 0.6994 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1715, allocations: 4 kB / 0.6994 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1715, allocations: 0 / 0.6994 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.1717, allocations: 169.6 kB / 0.6995 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1717, allocations: 3.938 kB / 0.6995 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1717, allocations: 0 / 0.6995 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1717, allocations: 0 / 0.6995 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1717, allocations: 4 kB / 0.6995 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1717, allocations: 0 / 0.6995 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.1717, allocations: 3.984 kB / 0.6996 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.172, allocations: 234.6 kB / 0.6998 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.1721, allocations: 88.94 kB / 0.6999 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.1721, allocations: 7.938 kB / 0.6999 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.415e-05/0.1722, allocations: 0 / 0.6999 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.1722, allocations: 7.984 kB / 0.6999 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.1723, allocations: 4 kB / 0.6999 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.112e-05/0.1723, allocations: 105.8 kB / 0.7 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1724, allocations: 0 / 0.7 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002971/0.1727, allocations: 63.98 kB / 0.7 GB, free: 13.22 MB / 0.4981 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.0008082/0.1735, allocations: 0.8233 MB / 0.7008 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004387/0.1739, allocations: 374.6 kB / 0.7012 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1739, allocations: 4 kB / 0.7012 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.1741, allocations: 135.3 kB / 0.7013 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.1742, allocations: 8.156 kB / 0.7013 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.1766, allocations: 2.123 MB / 0.7034 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.177, allocations: 0.6924 MB / 0.7041 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.853e-06/0.177, allocations: 0 / 0.7041 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.177, allocations: 19.42 kB / 0.7041 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.177, allocations: 0 / 0.7041 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.2034, allocations: 3.284 MB / 0.7073 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.363/7.566, allocations: 8.797 kB / 0.7073 GB, free: 5.68 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)