Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.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.001463/0.001463, allocations: 109 kB / 20.45 MB, free: 1.52 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.002067/0.002067, allocations: 213.7 kB / 23.76 MB, free: 4.746 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9535/0.9535, allocations: 150 MB / 463.9 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: IBPSA 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.002247/0.002247, allocations: 66.22 kB / 0.6425 GB, free: 9.828 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.175, allocations: 89.17 MB / 0.7296 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002614/0.1776, allocations: 1.047 MB / 0.7307 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1792, allocations: 1.053 MB / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.1794, allocations: 4 kB / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.1796, allocations: 23.73 kB / 0.7317 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.526e-05/0.1797, allocations: 15.8 kB / 0.7317 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.18, allocations: 83.78 kB / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.1803, allocations: 172 kB / 0.732 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.1805, allocations: 68.38 kB / 0.732 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1806, allocations: 67.78 kB / 0.7321 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.1808, allocations: 83.61 kB / 0.7322 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.1808, allocations: 20 kB / 0.7322 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.74e-05/0.1809, allocations: 16 kB / 0.7322 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.1809, allocations: 43.89 kB / 0.7323 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.707e-05/0.181, allocations: 79.53 kB / 0.7323 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.1813, allocations: 187.1 kB / 0.7325 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1813, allocations: 0 / 0.7325 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1813, allocations: 0 / 0.7325 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.1813, allocations: 4 kB / 0.7325 GB, free: 13.75 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008857/0.1822, allocations: 426.3 kB / 0.7329 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1822, allocations: 8.031 kB / 0.7329 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.1824, allocations: 24.8 kB / 0.7329 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.1827, allocations: 174.7 kB / 0.7331 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1827, allocations: 12.38 kB / 0.7331 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.1828, allocations: 20.38 kB / 0.7331 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.1831, allocations: 158.7 kB / 0.7333 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1831, allocations: 0 / 0.7333 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.1832, allocations: 8 kB / 0.7333 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1832, allocations: 8 kB / 0.7333 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.1835, allocations: 104.5 kB / 0.7334 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.1847, allocations: 0.4953 MB / 0.7339 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.1851, allocations: 135.9 kB / 0.734 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.1853, allocations: 84.8 kB / 0.7341 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.1853, allocations: 3.984 kB / 0.7341 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.1856, allocations: 123.3 kB / 0.7342 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 2.194e-06/0.1856, allocations: 0 / 0.7342 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.000604/0.1862, allocations: 231.3 kB / 0.7344 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.1862, allocations: 51.41 kB / 0.7345 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.1864, allocations: 161.5 kB / 0.7347 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.1864, allocations: 29.7 kB / 0.7347 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1865, allocations: 120.5 kB / 0.7348 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.1866, allocations: 67.42 kB / 0.7349 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.1867, allocations: 37.7 kB / 0.7349 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1868, allocations: 326.8 kB / 0.7352 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.187, allocations: 71.95 kB / 0.7353 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.1872, allocations: 93.06 kB / 0.7354 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.1876, allocations: 147 kB / 0.7355 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1876, allocations: 4 kB / 0.7355 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000496/0.1881, allocations: 207.3 kB / 0.7357 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1881, allocations: 7.984 kB / 0.7357 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1881, allocations: 4 kB / 0.7357 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1881, allocations: 0 / 0.7357 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.1883, allocations: 39.92 kB / 0.7358 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1883, allocations: 4 kB / 0.7358 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.1885, allocations: 31.89 kB / 0.7358 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.1885, allocations: 4 kB / 0.7358 GB, free: 10.19 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001379/0.1886, allocations: 133.7 kB / 0.7359 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.1887, allocations: 15.91 kB / 0.7359 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/0.1891, allocations: 186.7 kB / 0.7361 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1891, allocations: 11.94 kB / 0.7361 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1891, allocations: 0 / 0.7361 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1891, allocations: 0 / 0.7361 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009001/0.19, allocations: 0.5607 MB / 0.7367 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.19, allocations: 7.984 kB / 0.7367 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.1902, allocations: 31.92 kB / 0.7367 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.1902, allocations: 7.938 kB / 0.7367 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.1902, allocations: 8 kB / 0.7367 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1902, allocations: 4 kB / 0.7367 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1902, allocations: 0 / 0.7367 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.1908, allocations: 382.3 kB / 0.7371 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.1909, allocations: 27.78 kB / 0.7371 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.1909, allocations: 8 kB / 0.7371 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.191, allocations: 20.02 kB / 0.7371 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.1911, allocations: 27.91 kB / 0.7372 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.1911, allocations: 8 kB / 0.7372 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.59e-05/0.1912, allocations: 119.2 kB / 0.7373 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1912, allocations: 0 / 0.7373 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002831/0.1915, allocations: 35.95 kB / 0.7373 GB, free: 8.492 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001323/0.1916, allocations: 111.3 kB / 0.7374 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004402/0.1921, allocations: 151.7 kB / 0.7376 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1921, allocations: 3.938 kB / 0.7376 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.1923, allocations: 92.09 kB / 0.7377 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1926, allocations: 23.98 kB / 0.7377 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/0.1933, allocations: 400.4 kB / 0.7381 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.1937, allocations: 0.7204 MB / 0.7388 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.1937, allocations: 27.42 kB / 0.7388 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.1937, allocations: 4 kB / 0.7388 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of Templates: time 0.00417/0.1979, allocations: 1.955 MB / 0.7407 GB, free: 4.938 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9667019851040095] Failed to read output from testmodel.py, exit status != 0: 0.20688354410231113 0.22280448200000003 0.038250615 Calling exit ...