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.007158/0.007158, allocations: 96.42 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 283 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9506/0.9506, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 99.92 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1595, allocations: 86.98 MB / 0.766 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001771/0.1613, allocations: 0.6033 MB / 0.7665 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1631, allocations: 1.377 MB / 0.7679 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.1632, allocations: 0 / 0.7679 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.598e-05/0.1632, allocations: 3.938 kB / 0.7679 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.278e-05/0.1633, allocations: 4 kB / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007323/0.164, allocations: 181.4 kB / 0.7681 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.1642, allocations: 51.91 kB / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.1642, allocations: 7.984 kB / 0.7681 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.1643, allocations: 23.97 kB / 0.7682 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.664e-05/0.1643, allocations: 19.92 kB / 0.7682 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.1643, allocations: 4 kB / 0.7682 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003513/0.1647, allocations: 207.7 kB / 0.7684 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.733e-05/0.1648, allocations: 15.92 kB / 0.7684 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.1648, allocations: 23.86 kB / 0.7684 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.1651, allocations: 187.7 kB / 0.7686 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1651, allocations: 0 / 0.7686 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1651, allocations: 0 / 0.7686 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1651, allocations: 4 kB / 0.7686 GB, free: 6.191 MB / 0.5606 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.000457/0.1656, allocations: 446.3 kB / 0.769 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1656, allocations: 8.031 kB / 0.769 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.1657, allocations: 34.75 kB / 0.7691 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.1657, allocations: 8.922 kB / 0.7691 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.1659, allocations: 182.5 kB / 0.7692 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1659, allocations: 384 / 0.7692 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.1659, allocations: 4.375 kB / 0.7692 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.1661, allocations: 97.77 kB / 0.7693 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1661, allocations: 4 kB / 0.7693 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1661, allocations: 3.938 kB / 0.7693 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1661, allocations: 0 / 0.7693 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.989e-05/0.1662, allocations: 63.95 kB / 0.7694 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.1664, allocations: 181.6 kB / 0.7696 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.1665, allocations: 86.47 kB / 0.7697 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.307e-05/0.1666, allocations: 68.89 kB / 0.7697 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.1666, allocations: 0 / 0.7697 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.1666, allocations: 38.5 kB / 0.7698 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1666, allocations: 0 / 0.7698 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0003618/0.167, allocations: 255.2 kB / 0.77 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.1671, allocations: 85.05 kB / 0.7701 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1672, allocations: 141.8 kB / 0.7702 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1672, allocations: 25.7 kB / 0.7703 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.1673, allocations: 92.14 kB / 0.7703 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.1673, allocations: 11.89 kB / 0.7703 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.1673, allocations: 33.73 kB / 0.7704 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.1674, allocations: 322.8 kB / 0.7707 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.1676, allocations: 99.94 kB / 0.7708 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.1677, allocations: 103.9 kB / 0.7709 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.1679, allocations: 273.8 kB / 0.7711 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1679, allocations: 4 kB / 0.7711 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003153/0.1683, allocations: 320.8 kB / 0.7715 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.763e-05/0.1683, allocations: 75.38 kB / 0.7715 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1683, allocations: 8 kB / 0.7715 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1684, allocations: 0 / 0.7715 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.1684, allocations: 0 / 0.7715 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1684, allocations: 3.938 kB / 0.7715 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.1685, allocations: 15.89 kB / 0.7716 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.1686, allocations: 4 kB / 0.7716 GB, free: 2.855 MB / 0.5606 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.0001012/0.1687, allocations: 148.2 kB / 0.7717 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.1687, allocations: 11.89 kB / 0.7717 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.602e-05/0.1687, allocations: 12.23 kB / 0.7717 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1687, allocations: 4.141 kB / 0.7717 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1687, allocations: 0 / 0.7717 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1687, allocations: 3.984 kB / 0.7717 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.1689, allocations: 173.6 kB / 0.7719 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1689, allocations: 7.875 kB / 0.7719 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.1689, allocations: 0 / 0.7719 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1689, allocations: 0 / 0.7719 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1689, allocations: 4 kB / 0.7719 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1689, allocations: 0 / 0.7719 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1689, allocations: 0 / 0.7719 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.1692, allocations: 234.6 kB / 0.7721 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.1692, allocations: 88.94 kB / 0.7722 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.1693, allocations: 4 kB / 0.7722 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.976e-05/0.1693, allocations: 4 kB / 0.7722 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.1694, allocations: 11.98 kB / 0.7722 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1694, allocations: 4 kB / 0.7722 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.799e-05/0.1695, allocations: 109.8 kB / 0.7723 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1695, allocations: 0 / 0.7723 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002841/0.1698, allocations: 71.95 kB / 0.7724 GB, free: 1.871 MB / 0.5606 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.0006927/0.1705, allocations: 0.8058 MB / 0.7732 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000359/0.1708, allocations: 378.6 kB / 0.7736 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1708, allocations: 0 / 0.7736 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.171, allocations: 135.5 kB / 0.7737 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.1711, allocations: 7.938 kB / 0.7737 GB, free: 496 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3839/0.555, allocations: 2.119 MB / 0.7758 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.5552, allocations: 0.6921 MB / 0.7764 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.027e-06/0.5552, allocations: 0 / 0.7764 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.5553, allocations: 16.73 kB / 0.7765 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.5553, allocations: 4.406 kB / 0.7765 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.5756, allocations: 3.308 MB / 0.7797 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/8.046, allocations: 8.469 kB / 0.7797 GB, free: 12.82 MB / 0.5606 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)