Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.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.001305/0.001305, 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.001505/0.001505, allocations: 213.7 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.382/1.382, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.002498/0.002498, allocations: 277.9 kB / 313.5 MB, free: 2.816 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.162/1.162, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") [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.002835/0.002835, allocations: 97.45 kB / 0.7408 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.173, allocations: 95.39 MB / 0.834 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002003/0.175, allocations: 0.6427 MB / 0.8346 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004391/0.1755, allocations: 195.6 kB / 0.8348 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.641e-05/0.1755, allocations: 4 kB / 0.8348 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.316e-05/0.1755, allocations: 0 / 0.8348 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.1757, allocations: 11.92 kB / 0.8348 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.1759, allocations: 75.75 kB / 0.8349 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.327e-05/0.1759, allocations: 27.86 kB / 0.8349 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.176, allocations: 0 / 0.8349 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.571e-05/0.176, allocations: 23.91 kB / 0.8349 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.814e-05/0.1761, allocations: 19.92 kB / 0.835 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1761, allocations: 0 / 0.835 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.1763, allocations: 115.7 kB / 0.8351 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.1763, allocations: 15.91 kB / 0.8351 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.1763, allocations: 15.88 kB / 0.8351 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.1765, allocations: 103.6 kB / 0.8352 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1765, allocations: 0 / 0.8352 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1765, allocations: 4 kB / 0.8352 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.1765, allocations: 0 / 0.8352 GB, free: 6.863 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005042/0.177, allocations: 290.1 kB / 0.8355 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.1771, allocations: 13.34 kB / 0.8355 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.1771, allocations: 8.891 kB / 0.8355 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.1772, allocations: 122.5 kB / 0.8356 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-06/0.1772, allocations: 384 / 0.8356 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.1773, allocations: 4.375 kB / 0.8356 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1774, allocations: 54.17 kB / 0.8357 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1774, allocations: 4.141 kB / 0.8357 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1774, allocations: 3.938 kB / 0.8357 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1774, allocations: 8 kB / 0.8357 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.1776, allocations: 35.97 kB / 0.8357 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.1778, allocations: 216.1 kB / 0.8359 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.178, allocations: 70.47 kB / 0.836 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.907e-05/0.1781, allocations: 32.86 kB / 0.836 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.1781, allocations: 0 / 0.836 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1781, allocations: 30.56 kB / 0.8361 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1781, allocations: 0 / 0.8361 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.02584/0.204, allocations: 1.617 MB / 0.8376 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.204, allocations: 59.34 kB / 0.8377 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.2042, allocations: 113.8 kB / 0.8378 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.455e-05/0.2042, allocations: 25.7 kB / 0.8378 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.2043, allocations: 92.08 kB / 0.8379 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.562e-05/0.2044, allocations: 27.8 kB / 0.8379 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.2045, allocations: 25.7 kB / 0.838 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2047, allocations: 318.8 kB / 0.8383 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/0.2051, allocations: 148.3 kB / 0.8384 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.2056, allocations: 147.8 kB / 0.8386 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009106/0.2065, allocations: 292.8 kB / 0.8388 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2065, allocations: 0 / 0.8388 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0011/0.2076, allocations: 337.5 kB / 0.8392 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2076, allocations: 5.875 kB / 0.8392 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.2076, allocations: 3.984 kB / 0.8392 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.2077, allocations: 4 kB / 0.8392 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.2092, allocations: 59.94 kB / 0.8392 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2092, allocations: 0 / 0.8392 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.2104, allocations: 47.94 kB / 0.8393 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.2105, allocations: 4 kB / 0.8393 GB, free: 2.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001757/0.2107, allocations: 114.4 kB / 0.8394 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.2107, allocations: 7.953 kB / 0.8394 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.2108, allocations: 20.38 kB / 0.8394 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2109, allocations: 7.922 kB / 0.8394 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2109, allocations: 0 / 0.8394 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2109, allocations: 4 kB / 0.8394 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005614/0.2165, allocations: 0.8168 MB / 0.8402 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2165, allocations: 0 / 0.8402 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.2176, allocations: 51.94 kB / 0.8403 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2176, allocations: 4 kB / 0.8403 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.2176, allocations: 0 / 0.8403 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.2176, allocations: 7.938 kB / 0.8403 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2176, allocations: 3.938 kB / 0.8403 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008922/0.2185, allocations: 325.5 kB / 0.8406 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.2185, allocations: 7.891 kB / 0.8406 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.804e-05/0.2186, allocations: 7.984 kB / 0.8406 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.2196, allocations: 51.83 kB / 0.8407 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.2196, allocations: 0 / 0.8407 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.2197, allocations: 11.98 kB / 0.8407 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.602e-05/0.2197, allocations: 87.28 kB / 0.8408 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2197, allocations: 0 / 0.8408 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004134/0.2202, allocations: 95.92 kB / 0.8409 GB, free: 0.8047 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0002241/0.2204, allocations: 121.8 kB / 0.841 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009502/0.2213, allocations: 243.8 kB / 0.8412 GB, free: 452 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2213, allocations: 0 / 0.8412 GB, free: 452 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.2217, allocations: 87.95 kB / 0.8413 GB, free: 364 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.222, allocations: 14.8 kB / 0.8413 GB, free: 352 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.2247, allocations: 328.3 kB / 0.8416 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.225, allocations: 0.6846 MB / 0.8423 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004404/0.2254, allocations: 15.42 kB / 0.8423 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.2254, allocations: 4 kB / 0.8423 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of Templates: time 0.007692/0.2331, allocations: 5.063 MB / 0.8472 GB, free: 10.16 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.237532990984619] Failed to read output from testmodel.py, exit status != 0: 0.24065554002299905 0.255467906 0.07589992200000001 Calling exit ...