Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001236/0.001236, allocations: 103.8 kB / 20.49 MB, free: 1.316 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.001384/0.001384, allocations: 214.5 kB / 23.79 MB, free: 4.453 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.371/1.371, allocations: 230.6 MB / 257.6 MB, free: 7.746 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.9265/0.9265, allocations: 150 MB / 464 MB, free: 10.17 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [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.00197/0.00197, allocations: 72.33 kB / 0.6425 GB, free: 9.344 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1761, allocations: 89.17 MB / 0.7296 GB, free: 244 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001914/0.178, allocations: 0.6947 MB / 0.7302 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.1796, allocations: 1.221 MB / 0.7314 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.1797, allocations: 0 / 0.7314 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.1797, allocations: 3.938 kB / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.398e-05/0.1798, allocations: 11.88 kB / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005202/0.1803, allocations: 147 kB / 0.7316 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000182/0.1805, allocations: 119.8 kB / 0.7317 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.573e-05/0.1806, allocations: 11.98 kB / 0.7317 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.977e-05/0.1806, allocations: 47.91 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.362e-05/0.1807, allocations: 39.88 kB / 0.7318 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.1808, allocations: 12 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.285e-05/0.1808, allocations: 23.98 kB / 0.7318 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.417e-05/0.1809, allocations: 11.98 kB / 0.7318 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.861e-05/0.1809, allocations: 39.84 kB / 0.7319 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.1811, allocations: 111.7 kB / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1811, allocations: 0 / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1811, allocations: 0 / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.1811, allocations: 0 / 0.732 GB, free: 13.74 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006041/0.1817, allocations: 343.7 kB / 0.7323 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1818, allocations: 12.03 kB / 0.7323 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.1819, allocations: 12.89 kB / 0.7323 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.182, allocations: 114.4 kB / 0.7325 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.182, allocations: 8.359 kB / 0.7325 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.182, allocations: 16.31 kB / 0.7325 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.1822, allocations: 62.22 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1822, allocations: 192 / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1822, allocations: 3.938 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1822, allocations: 4 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.1824, allocations: 39.95 kB / 0.7326 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.1829, allocations: 252.4 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.183, allocations: 54.48 kB / 0.7329 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.662e-05/0.1831, allocations: 24.94 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1831, allocations: 0 / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.1834, allocations: 95.36 kB / 0.733 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.1834, allocations: 0 / 0.733 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004402/0.1838, allocations: 141.6 kB / 0.7331 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.1838, allocations: 51.41 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/0.1839, allocations: 117.8 kB / 0.7333 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.184, allocations: 29.7 kB / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.184, allocations: 88.14 kB / 0.7334 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.1841, allocations: 27.84 kB / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.456e-05/0.1841, allocations: 37.69 kB / 0.7335 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1843, allocations: 314.8 kB / 0.7338 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.1845, allocations: 85.59 kB / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.1847, allocations: 108.4 kB / 0.7339 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.1849, allocations: 133 kB / 0.7341 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1849, allocations: 4 kB / 0.7341 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004688/0.1854, allocations: 228.9 kB / 0.7343 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.1854, allocations: 37.7 kB / 0.7343 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1854, allocations: 3.938 kB / 0.7343 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1855, allocations: 0 / 0.7343 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.313e-05/0.1856, allocations: 11.98 kB / 0.7343 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.1856, allocations: 7.938 kB / 0.7344 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.1858, allocations: 40.42 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.1858, allocations: 8 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 prepare postOptimizeDAE: time 0.0001096/0.1859, allocations: 125.8 kB / 0.7345 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.1859, allocations: 3.953 kB / 0.7345 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.1862, allocations: 110 kB / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1862, allocations: 3.938 kB / 0.7346 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1862, allocations: 3.938 kB / 0.7346 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1862, allocations: 8 kB / 0.7346 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.1866, allocations: 306.1 kB / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1866, allocations: 0 / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.58e-05/0.1867, allocations: 11.98 kB / 0.7349 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1867, allocations: 0 / 0.7349 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1867, allocations: 0 / 0.7349 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1867, allocations: 4 kB / 0.735 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1867, allocations: 0 / 0.735 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.187, allocations: 215.3 kB / 0.7352 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.187, allocations: 0 / 0.7352 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.1871, allocations: 4 kB / 0.7352 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.75e-05/0.1871, allocations: 7.984 kB / 0.7352 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.1872, allocations: 7.984 kB / 0.7352 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.1872, allocations: 4 kB / 0.7352 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.268e-05/0.1872, allocations: 91.27 kB / 0.7353 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1872, allocations: 0 / 0.7353 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002597/0.1875, allocations: 19.94 kB / 0.7353 GB, free: 10.06 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001235/0.1876, allocations: 111.2 kB / 0.7354 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003967/0.188, allocations: 185.5 kB / 0.7356 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.188, allocations: 0 / 0.7356 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.1881, allocations: 35.91 kB / 0.7356 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1884, allocations: 20.27 kB / 0.7356 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.1887, allocations: 159 kB / 0.7358 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.812e-05/0.1888, allocations: 75.27 kB / 0.7358 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.661e-05/0.1888, allocations: 4 kB / 0.7358 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.1889, allocations: 15.38 kB / 0.7359 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1889, allocations: 0 / 0.7359 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of Templates: time 0.004846/0.1937, allocations: 1.546 MB / 0.7374 GB, free: 7.883 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.325047177961096] Failed to read output from testmodel.py, exit status != 0: 0.20191148202866316 0.21548692000000003 0.031559581 Calling exit ...