Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.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.001334/0.001334, allocations: 105 kB / 20.44 MB, free: 1.504 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.00148/0.00148, allocations: 206.7 kB / 23.76 MB, free: 4.727 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.9679/0.9679, allocations: 150 MB / 463.9 MB, free: 10.55 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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan") [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.002087/0.002087, allocations: 72.98 kB / 0.6425 GB, free: 9.883 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1822, allocations: 89.17 MB / 0.7296 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001779/0.184, allocations: 0.6548 MB / 0.7303 GB, free: 128 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.185, allocations: 0.8549 MB / 0.7311 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.185, allocations: 4 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.1851, allocations: 0 / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.513e-05/0.1851, allocations: 7.922 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.1853, allocations: 8 kB / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.102e-05/0.1853, allocations: 27.92 kB / 0.7311 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.111e-05/0.1854, allocations: 0 / 0.7311 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.681e-05/0.1855, allocations: 15.92 kB / 0.7312 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.1855, allocations: 8 kB / 0.7312 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.1855, allocations: 3.984 kB / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.339e-05/0.1856, allocations: 7.984 kB / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.1856, allocations: 7.938 kB / 0.7312 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.982e-05/0.1856, allocations: 11.94 kB / 0.7312 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.1857, allocations: 31.84 kB / 0.7312 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1857, allocations: 0 / 0.7312 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1857, allocations: 0 / 0.7312 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.1857, allocations: 0 / 0.7312 GB, free: 15.12 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004121/0.1861, allocations: 262.3 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1862, allocations: 8.031 kB / 0.7315 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.774e-05/0.1862, allocations: 12.92 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1863, allocations: 110.4 kB / 0.7316 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1863, allocations: 4.375 kB / 0.7316 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1864, allocations: 4.375 kB / 0.7316 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1865, allocations: 46.23 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1865, allocations: 4.188 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1865, allocations: 7.875 kB / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1866, allocations: 0 / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.1867, allocations: 31.91 kB / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.1871, allocations: 220 kB / 0.7319 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1872, allocations: 38.5 kB / 0.7319 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.412e-05/0.1873, allocations: 24.91 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1873, allocations: 7.969 kB / 0.732 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.1874, allocations: 38.55 kB / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1874, allocations: 0 / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003447/0.1877, allocations: 81.59 kB / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.1878, allocations: 51.41 kB / 0.7321 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.115e-05/0.1879, allocations: 97.84 kB / 0.7322 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1879, allocations: 29.7 kB / 0.7323 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.1879, allocations: 92.2 kB / 0.7323 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.1879, allocations: 3.953 kB / 0.7323 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.188, allocations: 17.7 kB / 0.7324 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.1881, allocations: 314.8 kB / 0.7327 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/0.1882, allocations: 11.98 kB / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.1883, allocations: 19.98 kB / 0.7327 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1884, allocations: 44.81 kB / 0.7327 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1884, allocations: 0 / 0.7327 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001921/0.1886, allocations: 65.61 kB / 0.7328 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1886, allocations: 4 kB / 0.7328 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1886, allocations: 0 / 0.7328 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1887, allocations: 7.984 kB / 0.7328 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.1887, allocations: 8.031 kB / 0.7328 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1888, allocations: 0 / 0.7328 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.1888, allocations: 7.984 kB / 0.7328 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.1888, allocations: 0 / 0.7328 GB, free: 13.29 MB / 0.5606 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 (2): * Single equations (assignments): 2 * 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 8.305e-05/0.1889, allocations: 117.8 kB / 0.7329 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.1889, allocations: 3.953 kB / 0.7329 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.1891, allocations: 72.91 kB / 0.733 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1891, allocations: 4 kB / 0.733 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1891, allocations: 3.984 kB / 0.733 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1891, allocations: 0 / 0.733 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.1893, allocations: 128.7 kB / 0.7331 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1893, allocations: 3.938 kB / 0.7331 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.1894, allocations: 15.92 kB / 0.7332 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1894, allocations: 0 / 0.7332 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1894, allocations: 0 / 0.7332 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1894, allocations: 0 / 0.7332 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.1894, allocations: 4 kB / 0.7332 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.1896, allocations: 171.4 kB / 0.7333 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.1896, allocations: 0 / 0.7333 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.1896, allocations: 4 kB / 0.7333 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/0.1897, allocations: 3.984 kB / 0.7333 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.1898, allocations: 8 kB / 0.7333 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1898, allocations: 4.031 kB / 0.7333 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.083e-05/0.1898, allocations: 79.28 kB / 0.7334 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1898, allocations: 0 / 0.7334 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002139/0.19, allocations: 4 kB / 0.7334 GB, free: 12.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001401/0.1902, allocations: 99.22 kB / 0.7335 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1904, allocations: 31.97 kB / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1904, allocations: 4.062 kB / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.442e-05/0.1905, allocations: 27.91 kB / 0.7336 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.1908, allocations: 7.938 kB / 0.7336 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.1911, allocations: 131.9 kB / 0.7337 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.1915, allocations: 0.6729 MB / 0.7344 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.1915, allocations: 15.42 kB / 0.7344 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.1915, allocations: 4.062 kB / 0.7344 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of Templates: time 0.002304/0.1938, allocations: 0.5488 MB / 0.7349 GB, free: 11 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.871815612073988] Failed to read output from testmodel.py, exit status != 0: 0.20298081496730447 0.219295289 0.030296485 Calling exit ...