Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.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.001348/0.001348, allocations: 74.09 kB / 20.51 MB, free: 1.281 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.001435/0.001435, allocations: 160 kB / 23.76 MB, free: 4.469 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.501/1.501, allocations: 177.2 MB / 204.1 MB, free: 8.977 MB / 190.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.9274/0.9274, allocations: 113.9 MB / 374.5 MB, free: 12.9 MB / 350.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.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max") [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.002155/0.002155, allocations: 66.94 kB / 0.555 GB, free: 2.754 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1796, allocations: 89.15 MB / 0.6421 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.001954/0.1815, allocations: 0.7331 MB / 0.6428 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1827, allocations: 0.886 MB / 0.6437 GB, free: 7.926 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.1827, allocations: 4 kB / 0.6437 GB, free: 7.922 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.657e-05/0.1827, allocations: 7.922 kB / 0.6437 GB, free: 7.914 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.525e-05/0.1828, allocations: 11.86 kB / 0.6437 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.183, allocations: 39.95 kB / 0.6437 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.1831, allocations: 91.75 kB / 0.6438 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.832e-05/0.1832, allocations: 12 kB / 0.6438 GB, free: 7.762 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.1833, allocations: 35.91 kB / 0.6439 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.227e-05/0.1834, allocations: 51.81 kB / 0.6439 GB, free: 7.676 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.1834, allocations: 8 kB / 0.6439 GB, free: 7.668 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.94e-05/0.1834, allocations: 8 kB / 0.6439 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.1835, allocations: 23.86 kB / 0.644 GB, free: 7.637 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.1835, allocations: 31.84 kB / 0.644 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.1837, allocations: 91.59 kB / 0.6441 GB, free: 7.516 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1837, allocations: 0 / 0.6441 GB, free: 7.516 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1837, allocations: 0 / 0.6441 GB, free: 7.516 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1837, allocations: 0 / 0.6441 GB, free: 7.516 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006491/0.1843, allocations: 333.9 kB / 0.6444 GB, free: 7.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1844, allocations: 8.031 kB / 0.6444 GB, free: 7.152 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.1844, allocations: 8.891 kB / 0.6444 GB, free: 7.145 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1846, allocations: 118.4 kB / 0.6445 GB, free: 7.004 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1846, allocations: 4.375 kB / 0.6445 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.1846, allocations: 8.375 kB / 0.6445 GB, free: 6.992 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.1849, allocations: 108.4 kB / 0.6446 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1849, allocations: 0 / 0.6446 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1849, allocations: 3.984 kB / 0.6447 GB, free: 6.879 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.185, allocations: 4 kB / 0.6447 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.1853, allocations: 95.91 kB / 0.6447 GB, free: 6.781 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.1858, allocations: 272.3 kB / 0.645 GB, free: 6.484 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006253/0.1865, allocations: 110.6 kB / 0.6451 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.1867, allocations: 60.81 kB / 0.6452 GB, free: 6.305 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.1867, allocations: 0 / 0.6452 GB, free: 6.305 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1867, allocations: 30.56 kB / 0.6452 GB, free: 6.266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1867, allocations: 3.938 kB / 0.6452 GB, free: 6.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006864/0.1874, allocations: 185.5 kB / 0.6454 GB, free: 6.074 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.1874, allocations: 55.34 kB / 0.6454 GB, free: 6.008 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.1875, allocations: 121.8 kB / 0.6455 GB, free: 5.879 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1876, allocations: 29.7 kB / 0.6456 GB, free: 5.844 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.1876, allocations: 92.09 kB / 0.6457 GB, free: 5.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.1876, allocations: 19.84 kB / 0.6457 GB, free: 5.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.1877, allocations: 25.7 kB / 0.6457 GB, free: 5.699 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1878, allocations: 322.8 kB / 0.646 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.188, allocations: 43.95 kB / 0.6461 GB, free: 5.332 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.1882, allocations: 51.94 kB / 0.6461 GB, free: 5.281 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.1886, allocations: 109.2 kB / 0.6462 GB, free: 5.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1886, allocations: 0 / 0.6462 GB, free: 5.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004525/0.189, allocations: 133.6 kB / 0.6463 GB, free: 5.035 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.189, allocations: 8 kB / 0.6463 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1891, allocations: 0 / 0.6463 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1891, allocations: 0 / 0.6463 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.1892, allocations: 27.97 kB / 0.6464 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1892, allocations: 0 / 0.6464 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.1894, allocations: 19.92 kB / 0.6464 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.1894, allocations: 7.938 kB / 0.6464 GB, free: 4.973 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.545e-05/0.1895, allocations: 121.8 kB / 0.6465 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.1895, allocations: 0 / 0.6465 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004803/0.19, allocations: 150 kB / 0.6467 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.19, allocations: 0 / 0.6467 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.19, allocations: 0 / 0.6467 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.19, allocations: 3.938 kB / 0.6467 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1902, allocations: 149.1 kB / 0.6468 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1902, allocations: 0 / 0.6468 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.1903, allocations: 23.97 kB / 0.6468 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1903, allocations: 4 kB / 0.6468 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1904, allocations: 7.938 kB / 0.6468 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1904, allocations: 3.938 kB / 0.6468 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1904, allocations: 0 / 0.6468 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004794/0.1908, allocations: 239.3 kB / 0.6471 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.1909, allocations: 0 / 0.6471 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.1909, allocations: 3.984 kB / 0.6471 GB, free: 4.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.191, allocations: 15.98 kB / 0.6471 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.098e-05/0.1911, allocations: 23.97 kB / 0.6471 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.1911, allocations: 0 / 0.6471 GB, free: 4.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.124e-05/0.1912, allocations: 95.7 kB / 0.6472 GB, free: 4.086 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1912, allocations: 0 / 0.6472 GB, free: 4.086 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002393/0.1914, allocations: 15.95 kB / 0.6472 GB, free: 4.07 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001166/0.1915, allocations: 111.2 kB / 0.6473 GB, free: 3.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004361/0.192, allocations: 107.8 kB / 0.6474 GB, free: 3.848 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.192, allocations: 0 / 0.6474 GB, free: 3.848 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.1922, allocations: 59.95 kB / 0.6475 GB, free: 3.789 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.1925, allocations: 16.31 kB / 0.6475 GB, free: 3.773 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.1929, allocations: 178 kB / 0.6477 GB, free: 3.566 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.086e-05/0.193, allocations: 71.33 kB / 0.6477 GB, free: 3.477 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.31e-05/0.1931, allocations: 19.92 kB / 0.6478 GB, free: 3.457 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.1931, allocations: 20.48 kB / 0.6478 GB, free: 3.438 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.1931, allocations: 0 / 0.6478 GB, free: 3.438 MB / 0.545 GB Notification: Performance of Templates: time 0.004688/0.1978, allocations: 1.688 MB / 0.6494 GB, free: 1.77 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.658276966074482] Failed to read output from testmodel.py, exit status != 0: 0.20659896195866168 0.22101335299999994 0.034317874000000005 Calling exit ...