Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.00118/0.00118, 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.001359/0.001359, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.024/1.024, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 64.91 kB / 0.5055 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1783, allocations: 80.92 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00311/0.1815, allocations: 1.417 MB / 0.5859 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1829, allocations: 0.7817 MB / 0.5866 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.183, allocations: 0 / 0.5866 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.803e-05/0.1831, allocations: 0 / 0.5866 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.1831, allocations: 11.86 kB / 0.5866 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009658/0.1841, allocations: 174.6 kB / 0.5868 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.1842, allocations: 51.84 kB / 0.5869 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.496e-05/0.1843, allocations: 4.281 kB / 0.5869 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.388e-05/0.1844, allocations: 11.98 kB / 0.5869 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.1845, allocations: 27.91 kB / 0.5869 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1845, allocations: 4 kB / 0.5869 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.1849, allocations: 199.7 kB / 0.5871 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.299e-05/0.1849, allocations: 7.984 kB / 0.5871 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.185, allocations: 19.88 kB / 0.5871 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.1854, allocations: 191.6 kB / 0.5873 GB, free: 1.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1854, allocations: 3.938 kB / 0.5873 GB, free: 1.547 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1854, allocations: 0 / 0.5873 GB, free: 1.547 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1854, allocations: 0 / 0.5873 GB, free: 1.547 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.0007083/0.1862, allocations: 434.7 kB / 0.5877 GB, free: 1.062 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.1862, allocations: 12.03 kB / 0.5877 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.1863, allocations: 34.75 kB / 0.5878 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.1863, allocations: 8.844 kB / 0.5878 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.1865, allocations: 164.3 kB / 0.5879 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1865, allocations: 4.375 kB / 0.5879 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.1865, allocations: 3.938 kB / 0.5879 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.1868, allocations: 81.66 kB / 0.588 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1868, allocations: 3.984 kB / 0.588 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1868, allocations: 0 / 0.588 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1868, allocations: 0 / 0.588 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.187, allocations: 47.97 kB / 0.5881 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.1875, allocations: 288.7 kB / 0.5883 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.1877, allocations: 54.55 kB / 0.5884 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.852e-05/0.1879, allocations: 48.91 kB / 0.5884 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.1879, allocations: 0 / 0.5884 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.1879, allocations: 34.56 kB / 0.5885 GB, free: 172 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.1879, allocations: 0 / 0.5885 GB, free: 172 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004578/0.1884, allocations: 191.2 kB / 0.5887 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.1885, allocations: 77.11 kB / 0.5887 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.1887, allocations: 129.8 kB / 0.5889 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.1887, allocations: 25.7 kB / 0.5889 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.1888, allocations: 91.98 kB / 0.589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.1888, allocations: 11.94 kB / 0.589 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.1889, allocations: 21.72 kB / 0.589 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1891, allocations: 322.8 kB / 0.5893 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.1892, allocations: 51.97 kB / 0.5894 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1893, allocations: 59.95 kB / 0.5894 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.1895, allocations: 197.8 kB / 0.5896 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1896, allocations: 0 / 0.5896 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002928/0.1899, allocations: 225 kB / 0.5898 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-05/0.1899, allocations: 63.39 kB / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1899, allocations: 0 / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.19, allocations: 4 kB / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.19, allocations: 0 / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1901, allocations: 0 / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.1901, allocations: 11.91 kB / 0.5899 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1901, allocations: 3.984 kB / 0.5899 GB, free: 14.59 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 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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.0001182/0.1903, allocations: 152.8 kB / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.1903, allocations: 4 kB / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.1903, allocations: 11.89 kB / 0.5901 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1903, allocations: 0 / 0.5901 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1903, allocations: 4 kB / 0.5901 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1904, allocations: 0 / 0.5901 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.1906, allocations: 173.6 kB / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1907, allocations: 0 / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.332e-05/0.1908, allocations: 4 kB / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.1908, allocations: 0 / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.1908, allocations: 0 / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.1908, allocations: 4 kB / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1908, allocations: 4 kB / 0.5902 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.1911, allocations: 249 kB / 0.5905 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.1912, allocations: 85.03 kB / 0.5906 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1912, allocations: 4 kB / 0.5906 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.1913, allocations: 4 kB / 0.5906 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.1915, allocations: 11.98 kB / 0.5906 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1915, allocations: 4.031 kB / 0.5906 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.17e-05/0.1915, allocations: 99.2 kB / 0.5907 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1915, allocations: 0 / 0.5907 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003763/0.1919, allocations: 59.94 kB / 0.5907 GB, free: 13.62 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 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.000876/0.1928, allocations: 0.8392 MB / 0.5916 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003651/0.1932, allocations: 238.7 kB / 0.5918 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.1932, allocations: 0 / 0.5918 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.1933, allocations: 103.4 kB / 0.5919 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.1936, allocations: 6.188 kB / 0.5919 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.1957, allocations: 1.758 MB / 0.5936 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.196, allocations: 0.6923 MB / 0.5943 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.776e-05/0.196, allocations: 4 kB / 0.5943 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.196, allocations: 11.44 kB / 0.5943 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.196, allocations: 0 / 0.5943 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.2169, allocations: 2.793 MB / 0.597 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/7.697, allocations: 3.938 kB / 0.597 GB, free: 7.16 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)