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.001752/0.001752, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002223/0.002223, allocations: 217 kB / 23.04 MB, free: 5.074 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.5/1.5, allocations: 230.6 MB / 256.8 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.002542/0.002542, allocations: 294.9 kB / 313.5 MB, free: 2.801 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.234/1.234, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="cs",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.002702/0.002702, allocations: 92.92 kB / 0.7404 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1843, allocations: 95.39 MB / 0.8335 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.00171/0.186, allocations: 0.6232 MB / 0.8341 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.1879, allocations: 1.461 MB / 0.8356 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.1879, allocations: 3.938 kB / 0.8356 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.1879, allocations: 0 / 0.8356 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.043e-05/0.188, allocations: 3.938 kB / 0.8356 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/0.1886, allocations: 187.6 kB / 0.8358 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.1887, allocations: 43.97 kB / 0.8358 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.251e-05/0.1887, allocations: 288 / 0.8358 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.712e-05/0.1888, allocations: 19.98 kB / 0.8358 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.041e-05/0.1888, allocations: 23.91 kB / 0.8358 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.1888, allocations: 4 kB / 0.8358 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.1892, allocations: 227.6 kB / 0.8361 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.436e-05/0.1893, allocations: 19.92 kB / 0.8361 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.1893, allocations: 23.86 kB / 0.8361 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.1896, allocations: 191.4 kB / 0.8363 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1896, allocations: 4 kB / 0.8363 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1896, allocations: 0 / 0.8363 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.1896, allocations: 0 / 0.8363 GB, free: 5.777 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.0004241/0.19, allocations: 366.3 kB / 0.8366 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.19, allocations: 17.22 kB / 0.8367 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.122e-05/0.1901, allocations: 4.188 kB / 0.8367 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.85e-05/0.1901, allocations: 30.75 kB / 0.8367 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.1901, allocations: 12.88 kB / 0.8367 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.1903, allocations: 112.7 kB / 0.8368 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1903, allocations: 4.375 kB / 0.8368 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1903, allocations: 4.375 kB / 0.8368 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.1904, allocations: 105.5 kB / 0.8369 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.1905, allocations: 0 / 0.8369 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.1905, allocations: 0 / 0.8369 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1905, allocations: 0 / 0.8369 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.069e-05/0.1906, allocations: 63.95 kB / 0.837 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.1907, allocations: 148.7 kB / 0.8371 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.1908, allocations: 82.53 kB / 0.8372 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.894e-05/0.1909, allocations: 68.83 kB / 0.8373 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.1909, allocations: 3.938 kB / 0.8373 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.191, allocations: 30.56 kB / 0.8373 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.191, allocations: 0 / 0.8373 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0003844/0.1913, allocations: 255.2 kB / 0.8375 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.1914, allocations: 81.09 kB / 0.8376 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.1915, allocations: 141.9 kB / 0.8378 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1915, allocations: 33.7 kB / 0.8378 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.1916, allocations: 92.08 kB / 0.8379 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.1916, allocations: 15.84 kB / 0.8379 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.1917, allocations: 29.7 kB / 0.8379 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1918, allocations: 318.8 kB / 0.8382 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.192, allocations: 107.9 kB / 0.8383 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1921, allocations: 99.94 kB / 0.8384 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.1924, allocations: 277.9 kB / 0.8387 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1924, allocations: 7.938 kB / 0.8387 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003815/0.1928, allocations: 312.9 kB / 0.839 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.301e-05/0.1929, allocations: 72.95 kB / 0.8391 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1929, allocations: 3.984 kB / 0.8391 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.1929, allocations: 4 kB / 0.8391 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.51e-07/0.1929, allocations: 0 / 0.8391 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.1929, allocations: 0 / 0.8391 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.289e-05/0.193, allocations: 11.89 kB / 0.8391 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.193, allocations: 4 kB / 0.8391 GB, free: 2.66 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.0001343/0.1931, allocations: 160.2 kB / 0.8392 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.1931, allocations: 15.89 kB / 0.8393 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.825e-05/0.1932, allocations: 8.328 kB / 0.8393 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.1932, allocations: 0 / 0.8393 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1932, allocations: 7.938 kB / 0.8393 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-06/0.1932, allocations: 0 / 0.8393 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.1933, allocations: 148.7 kB / 0.8394 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1933, allocations: 0 / 0.8394 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.1933, allocations: 0 / 0.8394 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1933, allocations: 0 / 0.8394 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1933, allocations: 4 kB / 0.8394 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1933, allocations: 4 kB / 0.8394 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1933, allocations: 0 / 0.8394 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.1936, allocations: 226.6 kB / 0.8396 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.1936, allocations: 11.89 kB / 0.8396 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.1936, allocations: 0 / 0.8396 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.1937, allocations: 8 kB / 0.8397 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.1937, allocations: 11.97 kB / 0.8397 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.1937, allocations: 8.031 kB / 0.8397 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.842e-05/0.1938, allocations: 112.9 kB / 0.8398 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1938, allocations: 0 / 0.8398 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002767/0.1941, allocations: 59.94 kB / 0.8398 GB, free: 1.797 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.0007327/0.1948, allocations: 0.8092 MB / 0.8406 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.1952, allocations: 326.7 kB / 0.8409 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.1952, allocations: 0 / 0.8409 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.1953, allocations: 131.3 kB / 0.8411 GB, free: 480 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.1955, allocations: 4 kB / 0.8411 GB, free: 476 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.1978, allocations: 2.133 MB / 0.8432 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.1981, allocations: 0.6885 MB / 0.8438 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.79e-06/0.1981, allocations: 0 / 0.8438 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.1981, allocations: 23.42 kB / 0.8438 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.1981, allocations: 3.938 kB / 0.8439 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.221, allocations: 3.487 MB / 0.8473 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.2, allocations: 6.406 kB / 0.8473 GB, free: 10.17 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.523914739023894] Failed to read output from testmodel.py, exit status != 0: 11.362540717003867 11.391498464 11.196825224 Calling exit ...