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.0013/0.0013, allocations: 112.9 kB / 17.12 MB, free: 6.008 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.00149/0.00149, allocations: 212.3 kB / 20.09 MB, free: 3.055 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.422/1.422, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 1.002/1.002, allocations: 150 MB / 459.5 MB, free: 5.348 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.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.00201/0.00201, allocations: 71.58 kB / 0.6366 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.186, allocations: 89.13 MB / 0.7236 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.00233/0.1883, allocations: 0.7104 MB / 0.7243 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1902, allocations: 1.243 MB / 0.7255 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.1902, allocations: 4 kB / 0.7255 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.1903, allocations: 3.938 kB / 0.7255 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.886e-05/0.1904, allocations: 7.875 kB / 0.7255 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005932/0.191, allocations: 146.9 kB / 0.7257 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.1912, allocations: 115.8 kB / 0.7258 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1913, allocations: 8 kB / 0.7258 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1914, allocations: 47.89 kB / 0.7258 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1915, allocations: 55.75 kB / 0.7259 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.1916, allocations: 12 kB / 0.7259 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.567e-05/0.1916, allocations: 27.98 kB / 0.7259 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.1917, allocations: 7.984 kB / 0.7259 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.1918, allocations: 39.84 kB / 0.726 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.192, allocations: 119.6 kB / 0.7261 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.192, allocations: 0 / 0.7261 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.192, allocations: 4 kB / 0.7261 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.192, allocations: 0 / 0.7261 GB, free: 1.051 MB / 0.5294 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.0007589/0.1928, allocations: 412.9 kB / 0.7265 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1928, allocations: 12.03 kB / 0.7265 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.193, allocations: 8.891 kB / 0.7265 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.1931, allocations: 168.3 kB / 0.7267 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1932, allocations: 8.312 kB / 0.7267 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.1932, allocations: 12.36 kB / 0.7267 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.1934, allocations: 70.22 kB / 0.7267 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1934, allocations: 4.172 kB / 0.7268 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1934, allocations: 3.938 kB / 0.7268 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1934, allocations: 0 / 0.7268 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.1936, allocations: 39.95 kB / 0.7268 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.1942, allocations: 324.6 kB / 0.7271 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.1944, allocations: 58.48 kB / 0.7272 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1945, allocations: 24.94 kB / 0.7272 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.1945, allocations: 0 / 0.7272 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/0.1947, allocations: 87.42 kB / 0.7273 GB, free: 15.67 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.1947, allocations: 4 kB / 0.7273 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004636/0.1952, allocations: 137.5 kB / 0.7274 GB, free: 15.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.1952, allocations: 55.39 kB / 0.7275 GB, free: 15.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.1954, allocations: 113.8 kB / 0.7276 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.1954, allocations: 29.7 kB / 0.7276 GB, free: 15.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.1955, allocations: 92.09 kB / 0.7277 GB, free: 15.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.1955, allocations: 23.88 kB / 0.7277 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.414e-05/0.1956, allocations: 41.64 kB / 0.7277 GB, free: 15.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1957, allocations: 314.8 kB / 0.728 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.1959, allocations: 51.95 kB / 0.7281 GB, free: 14.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.1961, allocations: 79.22 kB / 0.7282 GB, free: 14.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.1965, allocations: 137 kB / 0.7283 GB, free: 14.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1965, allocations: 0 / 0.7283 GB, free: 14.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004735/0.1969, allocations: 199.1 kB / 0.7285 GB, free: 14.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.197, allocations: 41.75 kB / 0.7285 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.197, allocations: 4 kB / 0.7285 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.197, allocations: 0 / 0.7285 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1971, allocations: 8 kB / 0.7285 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.1971, allocations: 7.984 kB / 0.7285 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.1973, allocations: 31.91 kB / 0.7286 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.1974, allocations: 11.98 kB / 0.7286 GB, free: 14.21 MB / 0.545 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.0001694/0.1975, allocations: 129.7 kB / 0.7287 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.1975, allocations: 3.953 kB / 0.7287 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.1979, allocations: 110 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.1979, allocations: 4 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1979, allocations: 3.984 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1979, allocations: 480 / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.1984, allocations: 366.4 kB / 0.7292 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1984, allocations: 0 / 0.7292 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.1985, allocations: 8 kB / 0.7292 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1985, allocations: 0 / 0.7292 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1985, allocations: 7.922 kB / 0.7292 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1985, allocations: 0 / 0.7292 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1985, allocations: 0 / 0.7292 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.1988, allocations: 211.9 kB / 0.7294 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.1989, allocations: 89.05 kB / 0.7295 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.1989, allocations: 0 / 0.7295 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.199, allocations: 7.984 kB / 0.7295 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.1991, allocations: 8.016 kB / 0.7295 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.1991, allocations: 11.98 kB / 0.7295 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.1991, allocations: 91.22 kB / 0.7296 GB, free: 13.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1991, allocations: 0 / 0.7296 GB, free: 13.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002663/0.1994, allocations: 31.94 kB / 0.7296 GB, free: 13.04 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: 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.0001627/0.1996, allocations: 99.23 kB / 0.7297 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004007/0.2, allocations: 163.3 kB / 0.7299 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2, allocations: 0 / 0.7299 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.2001, allocations: 31.97 kB / 0.7299 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.2004, allocations: 17.84 kB / 0.7299 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.2008, allocations: 166.4 kB / 0.7301 GB, free: 12.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.2012, allocations: 0.6908 MB / 0.7308 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.947e-05/0.2012, allocations: 4 kB / 0.7308 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.2012, allocations: 11.44 kB / 0.7308 GB, free: 11.8 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.2012, allocations: 4 kB / 0.7308 GB, free: 11.8 MB / 0.545 GB Notification: Performance of Templates: time 0.004787/0.206, allocations: 1.4 MB / 0.7321 GB, free: 10.41 MB / 0.545 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.85509829595685] Failed to read output from testmodel.py, exit status != 0: 0.21359008201397955 0.228672277 0.033768948 Calling exit ...