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.001287/0.001287, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001491/0.001491, allocations: 214.8 kB / 23.01 MB, free: 4.566 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.002497/0.002497, allocations: 284.4 kB / 313.5 MB, free: 2.852 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.197/1.197, allocations: 180.6 MB / 0.5377 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") [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.002793/0.002793, allocations: 105.1 kB / 0.7409 GB, free: 27.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1838, allocations: 95.38 MB / 0.834 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001852/0.1857, allocations: 0.626 MB / 0.8346 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.1877, allocations: 1.457 MB / 0.836 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.1877, allocations: 0 / 0.836 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.991e-05/0.1877, allocations: 0 / 0.836 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.982e-05/0.1878, allocations: 7.938 kB / 0.836 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006685/0.1885, allocations: 188.5 kB / 0.8362 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.1886, allocations: 39.97 kB / 0.8363 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.1886, allocations: 7.984 kB / 0.8363 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.383e-05/0.1886, allocations: 19.94 kB / 0.8363 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/0.1887, allocations: 35.88 kB / 0.8363 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1887, allocations: 4 kB / 0.8363 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.1891, allocations: 215.7 kB / 0.8365 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.1892, allocations: 19.91 kB / 0.8365 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/0.1892, allocations: 27.86 kB / 0.8366 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.1895, allocations: 183.4 kB / 0.8367 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1895, allocations: 0 / 0.8367 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1895, allocations: 0 / 0.8367 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1895, allocations: 0 / 0.8367 GB, free: 5.273 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.0004917/0.19, allocations: 373.2 kB / 0.8371 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.19, allocations: 13.34 kB / 0.8371 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.19, allocations: 8.875 kB / 0.8371 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1902, allocations: 122.5 kB / 0.8372 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1902, allocations: 384 / 0.8372 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.1902, allocations: 4.375 kB / 0.8372 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.1904, allocations: 101.9 kB / 0.8373 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1904, allocations: 0 / 0.8373 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1904, allocations: 3.938 kB / 0.8373 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1904, allocations: 4 kB / 0.8374 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.409e-05/0.1905, allocations: 59.95 kB / 0.8374 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.1907, allocations: 148.7 kB / 0.8376 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1908, allocations: 78.53 kB / 0.8376 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/0.1909, allocations: 64.89 kB / 0.8377 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.1909, allocations: 0 / 0.8377 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.1909, allocations: 42.44 kB / 0.8377 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1909, allocations: 8 kB / 0.8377 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0003993/0.1913, allocations: 247.2 kB / 0.838 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.1914, allocations: 85.09 kB / 0.8381 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1915, allocations: 139.9 kB / 0.8382 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1915, allocations: 25.7 kB / 0.8382 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.1916, allocations: 96.08 kB / 0.8383 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.1916, allocations: 15.83 kB / 0.8383 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.1917, allocations: 29.7 kB / 0.8383 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1918, allocations: 322.9 kB / 0.8387 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1919, allocations: 103.9 kB / 0.8388 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.1921, allocations: 103.9 kB / 0.8389 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.1924, allocations: 285.8 kB / 0.8391 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1924, allocations: 0 / 0.8391 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003594/0.1927, allocations: 312.9 kB / 0.8394 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.387e-05/0.1928, allocations: 71.38 kB / 0.8395 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1928, allocations: 0 / 0.8395 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1928, allocations: 0 / 0.8395 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.1928, allocations: 4.062 kB / 0.8395 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1928, allocations: 3.938 kB / 0.8395 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.1929, allocations: 11.95 kB / 0.8395 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.1929, allocations: 8 kB / 0.8395 GB, free: 2.188 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.0001125/0.193, allocations: 148.2 kB / 0.8397 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.1931, allocations: 7.891 kB / 0.8397 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.1931, allocations: 16.27 kB / 0.8397 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1931, allocations: 0 / 0.8397 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1931, allocations: 0 / 0.8397 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1931, allocations: 4 kB / 0.8397 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.1932, allocations: 144.7 kB / 0.8398 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1932, allocations: 0 / 0.8398 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-06/0.1932, allocations: 7.938 kB / 0.8398 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1932, allocations: 0 / 0.8398 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1932, allocations: 4 kB / 0.8398 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.1932, allocations: 0 / 0.8398 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1932, allocations: 0 / 0.8398 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.1935, allocations: 238.6 kB / 0.8401 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.1935, allocations: 11.97 kB / 0.8401 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.1936, allocations: 7.984 kB / 0.8401 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.382e-05/0.1936, allocations: 4 kB / 0.8401 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.1937, allocations: 7.984 kB / 0.8401 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1937, allocations: 0 / 0.8401 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.134e-05/0.1938, allocations: 113.6 kB / 0.8402 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1938, allocations: 0 / 0.8402 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002926/0.194, allocations: 63.88 kB / 0.8403 GB, free: 1.332 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.0002797/0.1943, allocations: 155.1 kB / 0.8404 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003919/0.1947, allocations: 326.7 kB / 0.8407 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1947, allocations: 0 / 0.8407 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1949, allocations: 123.3 kB / 0.8408 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.195, allocations: 6.406 kB / 0.8408 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.1954, allocations: 243.2 kB / 0.8411 GB, free: 432 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1957, allocations: 0.6924 MB / 0.8418 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.416e-05/0.1958, allocations: 15.44 kB / 0.8418 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.1958, allocations: 0 / 0.8418 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of Templates: time 0.003723/0.1995, allocations: 1.672 MB / 0.8434 GB, free: 14.02 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.26121515315026] Failed to read output from testmodel.py, exit status != 0: 0.2067701038904488 0.221569185 0.029091405 Calling exit ...