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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 109.4 kB / 16.46 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 216.2 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002653/0.002653, allocations: 292.5 kB / 309.1 MB, free: 4.008 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.278/1.278, allocations: 180.9 MB / 0.5333 GB, free: 13.87 MB / 382.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 108.4 kB / 0.7343 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1847, allocations: 95.33 MB / 0.8274 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.002002/0.1867, allocations: 0.6194 MB / 0.828 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.1887, allocations: 1.457 MB / 0.8294 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.1888, allocations: 0 / 0.8294 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.302e-05/0.1888, allocations: 0 / 0.8294 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.1889, allocations: 7.938 kB / 0.8294 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006769/0.1895, allocations: 182.3 kB / 0.8296 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.1897, allocations: 39.97 kB / 0.8297 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.1897, allocations: 4.266 kB / 0.8297 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.126e-05/0.1897, allocations: 23.92 kB / 0.8297 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.1898, allocations: 31.89 kB / 0.8297 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1898, allocations: 4 kB / 0.8297 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.1902, allocations: 199.7 kB / 0.8299 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.1902, allocations: 19.92 kB / 0.8299 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.1903, allocations: 15.88 kB / 0.8299 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.1906, allocations: 199.4 kB / 0.8301 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1906, allocations: 0 / 0.8301 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1906, allocations: 0 / 0.8301 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.1906, allocations: 0 / 0.8301 GB, free: 7.055 MB / 0.5762 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.0005423/0.1911, allocations: 446.3 kB / 0.8306 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1912, allocations: 8.031 kB / 0.8306 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.413e-05/0.1912, allocations: 30.75 kB / 0.8306 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.1912, allocations: 12.88 kB / 0.8306 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.1914, allocations: 173.8 kB / 0.8308 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.1914, allocations: 8.312 kB / 0.8308 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1914, allocations: 384 / 0.8308 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1916, allocations: 97.77 kB / 0.8309 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1916, allocations: 0 / 0.8309 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.1916, allocations: 0 / 0.8309 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1916, allocations: 4 kB / 0.8309 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.308e-05/0.1917, allocations: 63.95 kB / 0.8309 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.1919, allocations: 173.6 kB / 0.8311 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.1921, allocations: 86.47 kB / 0.8312 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.791e-05/0.1922, allocations: 64.89 kB / 0.8312 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-06/0.1922, allocations: 0 / 0.8312 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1922, allocations: 34.5 kB / 0.8313 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1922, allocations: 3.938 kB / 0.8313 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0004083/0.1926, allocations: 251.2 kB / 0.8315 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.1927, allocations: 81.09 kB / 0.8316 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.1928, allocations: 151.5 kB / 0.8317 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1928, allocations: 29.7 kB / 0.8318 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.1929, allocations: 88.14 kB / 0.8319 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.1929, allocations: 15.84 kB / 0.8319 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.193, allocations: 33.64 kB / 0.8319 GB, free: 5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1931, allocations: 322.8 kB / 0.8322 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1932, allocations: 99.94 kB / 0.8323 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1933, allocations: 99.94 kB / 0.8324 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.1936, allocations: 277.9 kB / 0.8327 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1936, allocations: 3.938 kB / 0.8327 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003747/0.194, allocations: 312.9 kB / 0.833 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.443e-05/0.1941, allocations: 75.38 kB / 0.833 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1941, allocations: 0 / 0.833 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1941, allocations: 4 kB / 0.833 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.1941, allocations: 0 / 0.833 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1941, allocations: 0 / 0.833 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.1943, allocations: 15.83 kB / 0.8331 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.1943, allocations: 4 kB / 0.8331 GB, free: 3.75 MB / 0.5762 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.0001196/0.1944, allocations: 155.6 kB / 0.8332 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.1944, allocations: 11.89 kB / 0.8332 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.605e-05/0.1944, allocations: 8.234 kB / 0.8332 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1944, allocations: 0 / 0.8332 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1944, allocations: 4 kB / 0.8332 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1944, allocations: 0 / 0.8332 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.1946, allocations: 169.6 kB / 0.8334 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.1946, allocations: 11.94 kB / 0.8334 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1946, allocations: 0 / 0.8334 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1946, allocations: 4 kB / 0.8334 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1946, allocations: 144 / 0.8334 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1946, allocations: 0 / 0.8334 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1946, allocations: 4 kB / 0.8334 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1949, allocations: 226.7 kB / 0.8336 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.1949, allocations: 92.94 kB / 0.8337 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.195, allocations: 0 / 0.8337 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.892e-05/0.195, allocations: 4 kB / 0.8337 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.1951, allocations: 19.95 kB / 0.8337 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1951, allocations: 7.984 kB / 0.8338 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.376e-05/0.1951, allocations: 105 kB / 0.8339 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1951, allocations: 0 / 0.8339 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003308/0.1955, allocations: 71.86 kB / 0.8339 GB, free: 2.762 MB / 0.5762 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.0007729/0.1962, allocations: 0.8092 MB / 0.8347 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003998/0.1966, allocations: 334.6 kB / 0.835 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1967, allocations: 0 / 0.835 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.1968, allocations: 123.4 kB / 0.8351 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.1969, allocations: 4 kB / 0.8352 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.1992, allocations: 2.142 MB / 0.8372 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1995, allocations: 0.6924 MB / 0.8379 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.234e-06/0.1995, allocations: 0 / 0.8379 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.1996, allocations: 19.42 kB / 0.8379 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/0.1996, allocations: 3.969 kB / 0.8379 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.226, allocations: 3.321 MB / 0.8412 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.146, allocations: 6.328 kB / 0.8412 GB, free: 11.25 MB / 0.5919 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.479267745744437] Failed to read output from testmodel.py, exit status != 0: 8.215959329158068 8.241930188 8.046447793 Calling exit ...