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.001295/0.001295, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001527/0.001527, allocations: 214.3 kB / 22.25 MB, free: 5.082 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002616/0.002616, allocations: 286.6 kB / 312.7 MB, free: 2.785 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.28/1.28, allocations: 180.6 MB / 0.5369 GB, free: 13.03 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.00287/0.00287, allocations: 99.78 kB / 0.7396 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1815, allocations: 95.39 MB / 0.8328 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.002066/0.1836, allocations: 0.6194 MB / 0.8334 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1857, allocations: 1.457 MB / 0.8348 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.1857, allocations: 0 / 0.8348 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.021e-05/0.1858, allocations: 7.922 kB / 0.8348 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.123e-05/0.1858, allocations: 4 kB / 0.8348 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.1867, allocations: 184.8 kB / 0.835 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.1868, allocations: 47.89 kB / 0.835 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.1868, allocations: 4.281 kB / 0.835 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.065e-05/0.1869, allocations: 23.91 kB / 0.8351 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.1869, allocations: 23.97 kB / 0.8351 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1869, allocations: 4 kB / 0.8351 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.1873, allocations: 227.7 kB / 0.8353 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.1874, allocations: 7.938 kB / 0.8353 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.1874, allocations: 27.86 kB / 0.8353 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.1877, allocations: 191.4 kB / 0.8355 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1877, allocations: 0 / 0.8355 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1877, allocations: 4 kB / 0.8355 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1877, allocations: 0 / 0.8355 GB, free: 5.734 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.0005654/0.1883, allocations: 369.2 kB / 0.8359 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.1884, allocations: 9.344 kB / 0.8359 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.439e-05/0.1884, allocations: 38.69 kB / 0.8359 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.1884, allocations: 8.891 kB / 0.8359 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.1886, allocations: 118.5 kB / 0.836 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1886, allocations: 4.375 kB / 0.8361 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1886, allocations: 384 / 0.8361 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.1888, allocations: 97.77 kB / 0.8361 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.1889, allocations: 0 / 0.8361 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1889, allocations: 4 kB / 0.8361 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1889, allocations: 0 / 0.8361 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.7e-05/0.189, allocations: 59.95 kB / 0.8362 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.1892, allocations: 152.7 kB / 0.8364 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.1893, allocations: 82.56 kB / 0.8364 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1894, allocations: 68.84 kB / 0.8365 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-06/0.1894, allocations: 0 / 0.8365 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.1894, allocations: 34.5 kB / 0.8365 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.1894, allocations: 0 / 0.8365 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0004284/0.1899, allocations: 255.2 kB / 0.8368 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.1899, allocations: 81.11 kB / 0.8368 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.1901, allocations: 151.5 kB / 0.837 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1901, allocations: 25.7 kB / 0.837 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/0.1901, allocations: 100.1 kB / 0.8371 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.1902, allocations: 15.84 kB / 0.8371 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.1903, allocations: 25.72 kB / 0.8372 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1904, allocations: 318.8 kB / 0.8375 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.1905, allocations: 99.94 kB / 0.8376 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.1907, allocations: 103.9 kB / 0.8377 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.191, allocations: 285.8 kB / 0.8379 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.191, allocations: 0 / 0.8379 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003737/0.1913, allocations: 320.8 kB / 0.8382 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.788e-05/0.1914, allocations: 71.39 kB / 0.8383 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1914, allocations: 0 / 0.8383 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1914, allocations: 3.938 kB / 0.8383 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1914, allocations: 0 / 0.8383 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1914, allocations: 0 / 0.8383 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.1916, allocations: 15.94 kB / 0.8383 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.1916, allocations: 0 / 0.8383 GB, free: 2.617 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.0001305/0.1917, allocations: 152.2 kB / 0.8385 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.1917, allocations: 11.89 kB / 0.8385 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.1918, allocations: 12.34 kB / 0.8385 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1918, allocations: 0 / 0.8385 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1918, allocations: 0 / 0.8385 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1918, allocations: 144 / 0.8385 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.1919, allocations: 144.7 kB / 0.8386 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.1919, allocations: 7.938 kB / 0.8386 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1919, allocations: 0 / 0.8386 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1919, allocations: 0 / 0.8386 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1919, allocations: 8 kB / 0.8386 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1919, allocations: 3.984 kB / 0.8386 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1919, allocations: 0 / 0.8386 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.1923, allocations: 230.6 kB / 0.8389 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.1923, allocations: 15.81 kB / 0.8389 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.1923, allocations: 4 kB / 0.8389 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.1924, allocations: 4 kB / 0.8389 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.1924, allocations: 12.02 kB / 0.8389 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.1924, allocations: 4 kB / 0.8389 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.005e-05/0.1925, allocations: 105.3 kB / 0.839 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1925, allocations: 0 / 0.839 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003255/0.1929, allocations: 67.92 kB / 0.8391 GB, free: 1.758 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.0007831/0.1936, allocations: 0.813 MB / 0.8399 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004232/0.1941, allocations: 330.6 kB / 0.8402 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1941, allocations: 0 / 0.8402 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.1942, allocations: 123.3 kB / 0.8403 GB, free: 440 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.1943, allocations: 14.52 kB / 0.8403 GB, free: 428 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.1966, allocations: 2.132 MB / 0.8424 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.1969, allocations: 0.6923 MB / 0.8431 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.273e-06/0.1969, allocations: 0 / 0.8431 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.197, allocations: 19.44 kB / 0.8431 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.197, allocations: 0 / 0.8431 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.2271, allocations: 3.45 MB / 0.8465 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.62, allocations: 7.922 kB / 0.8465 GB, free: 10.14 MB / 0.5919 GB " [Timeout remaining time 649] (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: 14.946308332000626] Failed to read output from testmodel.py, exit status != 0: 10.72056730499753 10.736068386 10.545290782 Calling exit ...