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.001285/0.001285, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00142/0.00142, allocations: 222 kB / 23 MB, free: 4.91 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.002628/0.002628, allocations: 291 kB / 313.5 MB, free: 2.625 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.195/1.195, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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.002917/0.002917, allocations: 101.7 kB / 0.7408 GB, free: 27.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1843, allocations: 95.39 MB / 0.8339 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.002049/0.1863, allocations: 0.6024 MB / 0.8345 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.1885, allocations: 1.402 MB / 0.8359 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.1886, allocations: 0 / 0.8359 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.99e-05/0.1886, allocations: 0 / 0.8359 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.173e-05/0.1887, allocations: 4 kB / 0.8359 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008083/0.1895, allocations: 186.1 kB / 0.8361 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.1896, allocations: 47.97 kB / 0.8361 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.1896, allocations: 3.984 kB / 0.8361 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.828e-05/0.1897, allocations: 23.92 kB / 0.8361 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.1897, allocations: 23.91 kB / 0.8361 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1898, allocations: 7.984 kB / 0.8362 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004224/0.1902, allocations: 207.7 kB / 0.8364 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.1902, allocations: 8 kB / 0.8364 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.1903, allocations: 19.86 kB / 0.8364 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.1906, allocations: 199.3 kB / 0.8366 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1906, allocations: 0 / 0.8366 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1906, allocations: 4 kB / 0.8366 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.1906, allocations: 0 / 0.8366 GB, free: 5.016 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.0005111/0.1911, allocations: 377.2 kB / 0.8369 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1912, allocations: 13.94 kB / 0.8369 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.1912, allocations: 4.891 kB / 0.837 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.1914, allocations: 114.5 kB / 0.8371 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1914, allocations: 384 / 0.8371 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.1914, allocations: 4.375 kB / 0.8371 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.1916, allocations: 127.7 kB / 0.8372 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1916, allocations: 0 / 0.8372 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1916, allocations: 0 / 0.8372 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1916, allocations: 11.98 kB / 0.8372 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.1917, allocations: 89.59 kB / 0.8373 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.1919, allocations: 121.3 kB / 0.8374 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.192, allocations: 116.2 kB / 0.8375 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.1921, allocations: 94.59 kB / 0.8376 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.1921, allocations: 0 / 0.8376 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1922, allocations: 34.56 kB / 0.8376 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.1922, allocations: 0 / 0.8376 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0004587/0.1926, allocations: 318.5 kB / 0.8379 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.1927, allocations: 81.11 kB / 0.838 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.1928, allocations: 147.9 kB / 0.8382 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1929, allocations: 25.7 kB / 0.8382 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.1929, allocations: 92.09 kB / 0.8383 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.1929, allocations: 19.88 kB / 0.8383 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.193, allocations: 25.72 kB / 0.8383 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.1931, allocations: 318.8 kB / 0.8386 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.1933, allocations: 171.3 kB / 0.8388 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.1935, allocations: 175.3 kB / 0.8389 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.1938, allocations: 285.9 kB / 0.8392 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1938, allocations: 0 / 0.8392 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000423/0.1942, allocations: 400.2 kB / 0.8396 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.982e-05/0.1943, allocations: 79.33 kB / 0.8397 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1943, allocations: 0 / 0.8397 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1943, allocations: 0 / 0.8397 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.1943, allocations: 0 / 0.8397 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1943, allocations: 0 / 0.8397 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.1944, allocations: 15.94 kB / 0.8397 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.1945, allocations: 4 kB / 0.8397 GB, free: 1.508 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.0001225/0.1946, allocations: 152.2 kB / 0.8398 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.1946, allocations: 11.89 kB / 0.8399 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.876e-05/0.1946, allocations: 4.344 kB / 0.8399 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1946, allocations: 4 kB / 0.8399 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1946, allocations: 0 / 0.8399 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1946, allocations: 0 / 0.8399 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.1947, allocations: 117.3 kB / 0.84 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1947, allocations: 0 / 0.84 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.1947, allocations: 0 / 0.84 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1947, allocations: 0 / 0.84 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1947, allocations: 7.938 kB / 0.84 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1947, allocations: 3.938 kB / 0.84 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1947, allocations: 0 / 0.84 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.1951, allocations: 272.4 kB / 0.8402 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.1951, allocations: 11.92 kB / 0.8403 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.1951, allocations: 7.938 kB / 0.8403 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.932e-05/0.1952, allocations: 4 kB / 0.8403 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.1952, allocations: 11.98 kB / 0.8403 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.1952, allocations: 0 / 0.8403 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.906e-05/0.1953, allocations: 113.6 kB / 0.8404 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1953, allocations: 0 / 0.8404 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002846/0.1956, allocations: 59.94 kB / 0.8404 GB, free: 0.6562 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.0002766/0.1959, allocations: 147.1 kB / 0.8406 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004718/0.1963, allocations: 423.8 kB / 0.841 GB, free: 48 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1963, allocations: 3.938 kB / 0.841 GB, free: 44 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.1965, allocations: 153 kB / 0.8411 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.1967, allocations: 4 kB / 0.8411 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/0.1971, allocations: 268.9 kB / 0.8414 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.414e-05/0.1972, allocations: 79.5 kB / 0.8415 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.705e-05/0.1972, allocations: 11.44 kB / 0.8415 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of SimCode: time 5e-07/0.1972, allocations: 0 / 0.8415 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of Templates: time 0.003921/0.2011, allocations: 1.677 MB / 0.8431 GB, free: 13.79 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.303708165884018] Failed to read output from testmodel.py, exit status != 0: 0.2086787768639624 0.22387163299999996 0.030241951000000003 Calling exit ...