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.007783/0.007784, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001885/0.001885, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002669/0.002669, allocations: 274.7 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 95.91 kB / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1805, allocations: 86.97 MB / 0.7659 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001731/0.1823, allocations: 0.6194 MB / 0.7666 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001872/0.1842, allocations: 1.377 MB / 0.7679 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.1842, allocations: 0 / 0.7679 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.922e-05/0.1843, allocations: 0 / 0.7679 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.1843, allocations: 7.938 kB / 0.7679 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.185, allocations: 182 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.1851, allocations: 51.89 kB / 0.7681 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.1852, allocations: 4 kB / 0.7681 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.1852, allocations: 15.98 kB / 0.7681 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.1853, allocations: 23.91 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1853, allocations: 7.984 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003565/0.1857, allocations: 203.7 kB / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.1857, allocations: 15.92 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.1858, allocations: 19.88 kB / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.1861, allocations: 195.6 kB / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1861, allocations: 0 / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.02e-07/0.1861, allocations: 0 / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.1861, allocations: 0 / 0.7686 GB, free: 6.133 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.0005242/0.1866, allocations: 448 kB / 0.769 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.1867, allocations: 16.02 kB / 0.769 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.1868, allocations: 30.75 kB / 0.7691 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.1868, allocations: 8.938 kB / 0.7691 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.187, allocations: 172.2 kB / 0.7692 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.187, allocations: 4.375 kB / 0.7692 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.187, allocations: 4.375 kB / 0.7692 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.1872, allocations: 97.77 kB / 0.7693 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1872, allocations: 3.938 kB / 0.7693 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1872, allocations: 0 / 0.7693 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1872, allocations: 7.938 kB / 0.7694 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1873, allocations: 59.95 kB / 0.7694 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.1875, allocations: 181.6 kB / 0.7696 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.1877, allocations: 82.53 kB / 0.7697 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.554e-05/0.1878, allocations: 68.89 kB / 0.7697 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.1878, allocations: 0 / 0.7697 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.1878, allocations: 38.5 kB / 0.7698 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1879, allocations: 0 / 0.7698 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0004443/0.1883, allocations: 263.1 kB / 0.77 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.1884, allocations: 81.14 kB / 0.7701 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.1885, allocations: 144 kB / 0.7702 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1886, allocations: 25.7 kB / 0.7703 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.1886, allocations: 92.14 kB / 0.7703 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.1887, allocations: 11.91 kB / 0.7704 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.1887, allocations: 33.64 kB / 0.7704 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1889, allocations: 318.8 kB / 0.7707 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.1891, allocations: 99.94 kB / 0.7708 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1892, allocations: 111.9 kB / 0.7709 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.1895, allocations: 273.8 kB / 0.7712 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1895, allocations: 0 / 0.7712 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003934/0.1899, allocations: 324.8 kB / 0.7715 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.961e-05/0.19, allocations: 75.38 kB / 0.7715 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.19, allocations: 0 / 0.7715 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1901, allocations: 0 / 0.7715 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1901, allocations: 4 kB / 0.7715 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.1901, allocations: 0 / 0.7715 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.1902, allocations: 15.95 kB / 0.7716 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.1903, allocations: 4 kB / 0.7716 GB, free: 2.801 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.0001471/0.1904, allocations: 156.2 kB / 0.7717 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.1905, allocations: 11.89 kB / 0.7717 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.1905, allocations: 4.25 kB / 0.7717 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1905, allocations: 0 / 0.7717 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1905, allocations: 0 / 0.7717 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1905, allocations: 4 kB / 0.7717 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1906, allocations: 169.6 kB / 0.7719 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.1907, allocations: 7.938 kB / 0.7719 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-06/0.1907, allocations: 11.94 kB / 0.7719 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.1907, allocations: 3.938 kB / 0.7719 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1907, allocations: 0 / 0.7719 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1907, allocations: 0 / 0.7719 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1907, allocations: 0 / 0.7719 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.191, allocations: 226.7 kB / 0.7721 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.1911, allocations: 92.94 kB / 0.7722 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.1911, allocations: 0 / 0.7722 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.811e-05/0.1912, allocations: 12.02 kB / 0.7722 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.1912, allocations: 8 kB / 0.7722 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1912, allocations: 4 kB / 0.7722 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.518e-05/0.1913, allocations: 105.6 kB / 0.7723 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1913, allocations: 0 / 0.7723 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002907/0.1916, allocations: 67.92 kB / 0.7724 GB, free: 1.824 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.0008392/0.1925, allocations: 0.8135 MB / 0.7732 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004918/0.193, allocations: 374.6 kB / 0.7736 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.193, allocations: 0 / 0.7736 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.1932, allocations: 131.4 kB / 0.7737 GB, free: 456 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.1933, allocations: 11.88 kB / 0.7737 GB, free: 444 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3129/0.5063, allocations: 2.126 MB / 0.7758 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.5064, allocations: 0.6912 MB / 0.7764 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.348e-06/0.5064, allocations: 1.531 kB / 0.7764 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.5065, allocations: 19.34 kB / 0.7765 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.5065, allocations: 1.219 kB / 0.7765 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.5318, allocations: 3.31 MB / 0.7797 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/8.303, allocations: 10.33 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)