Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001161/0.001161, 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.001513/0.001513, allocations: 195.7 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.02/1.02, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00249/0.00249, allocations: 63.89 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1839, allocations: 82.04 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002842/0.1868, allocations: 1.417 MB / 0.5958 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.188, allocations: 0.78 MB / 0.5966 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.188, allocations: 0 / 0.5966 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.824e-05/0.1881, allocations: 0 / 0.5966 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.279e-05/0.1881, allocations: 7.938 kB / 0.5966 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.1887, allocations: 171.6 kB / 0.5967 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.214e-05/0.1888, allocations: 51.86 kB / 0.5968 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.189, allocations: 11.97 kB / 0.5968 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.795e-05/0.1891, allocations: 16 kB / 0.5968 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.707e-05/0.1892, allocations: 15.92 kB / 0.5968 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1892, allocations: 4 kB / 0.5968 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.1895, allocations: 199.7 kB / 0.597 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.1896, allocations: 11.92 kB / 0.597 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.1896, allocations: 23.86 kB / 0.597 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.1899, allocations: 199.8 kB / 0.5972 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1899, allocations: 0 / 0.5972 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1899, allocations: 0 / 0.5972 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1899, allocations: 0 / 0.5972 GB, free: 6.582 MB / 0.4981 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.0004988/0.1904, allocations: 438.7 kB / 0.5977 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1904, allocations: 8.625 kB / 0.5977 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.015e-05/0.1905, allocations: 34.75 kB / 0.5977 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.07e-05/0.1906, allocations: 4.938 kB / 0.5977 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.1908, allocations: 172.2 kB / 0.5979 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1908, allocations: 384 / 0.5979 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.1908, allocations: 8.375 kB / 0.5979 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.191, allocations: 77.78 kB / 0.5979 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.191, allocations: 0 / 0.5979 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.191, allocations: 4 kB / 0.598 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1911, allocations: 0 / 0.598 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1912, allocations: 47.97 kB / 0.598 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.1915, allocations: 272.9 kB / 0.5983 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.1917, allocations: 62.48 kB / 0.5983 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1918, allocations: 52.89 kB / 0.5984 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.1918, allocations: 0 / 0.5984 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.1918, allocations: 38.56 kB / 0.5984 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1918, allocations: 0 / 0.5984 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003781/0.1922, allocations: 179.2 kB / 0.5986 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.1923, allocations: 89.03 kB / 0.5987 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1924, allocations: 121.8 kB / 0.5988 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1924, allocations: 29.73 kB / 0.5988 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.1925, allocations: 96.06 kB / 0.5989 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.1925, allocations: 11.81 kB / 0.5989 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.1925, allocations: 17.72 kB / 0.5989 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1926, allocations: 326.8 kB / 0.5992 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.1928, allocations: 55.97 kB / 0.5993 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.002e-05/0.1928, allocations: 55.97 kB / 0.5993 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.1931, allocations: 197.9 kB / 0.5995 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1931, allocations: 0 / 0.5995 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002899/0.1934, allocations: 217 kB / 0.5997 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.1934, allocations: 59.41 kB / 0.5998 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1934, allocations: 0 / 0.5998 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1935, allocations: 3.984 kB / 0.5998 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.926e-05/0.1935, allocations: 4 kB / 0.5998 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1935, allocations: 0 / 0.5998 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.1937, allocations: 8 kB / 0.5998 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/0.1938, allocations: 11.94 kB / 0.5998 GB, free: 3.633 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.0001083/0.194, allocations: 151.5 kB / 0.6 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.194, allocations: 3.906 kB / 0.6 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.194, allocations: 7.906 kB / 0.6 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.194, allocations: 0 / 0.6 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.194, allocations: 4.062 kB / 0.6 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.194, allocations: 3.984 kB / 0.6 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.1942, allocations: 169.6 kB / 0.6001 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1942, allocations: 4 kB / 0.6001 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.1943, allocations: 7.984 kB / 0.6002 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1943, allocations: 0 / 0.6002 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1943, allocations: 4 kB / 0.6002 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1943, allocations: 0 / 0.6002 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1943, allocations: 0 / 0.6002 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.1946, allocations: 257 kB / 0.6004 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.1946, allocations: 77.11 kB / 0.6005 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.1946, allocations: 0 / 0.6005 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.1947, allocations: 15.95 kB / 0.6005 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.1948, allocations: 4 kB / 0.6005 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.1948, allocations: 3.984 kB / 0.6005 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.1949, allocations: 99.27 kB / 0.6006 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1949, allocations: 0 / 0.6006 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000313/0.1952, allocations: 56 kB / 0.6007 GB, free: 2.668 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.0006858/0.1959, allocations: 0.8389 MB / 0.6015 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.1963, allocations: 238.7 kB / 0.6017 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1963, allocations: 0 / 0.6017 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.1964, allocations: 103.4 kB / 0.6018 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.1967, allocations: 11.94 kB / 0.6018 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.242/0.4387, allocations: 1.747 MB / 0.6035 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.4388, allocations: 0.6859 MB / 0.6042 GB, free: 42.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.132e-05/0.4388, allocations: 0.9062 kB / 0.6042 GB, free: 42.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.4389, allocations: 14.12 kB / 0.6042 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/0.4389, allocations: 1.188 kB / 0.6042 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.4566, allocations: 2.807 MB / 0.6069 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.362/7.819, allocations: 12.27 kB / 0.607 GB, free: 42.47 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)