Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.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.001259/0.001259, 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.001333/0.001333, allocations: 216.3 kB / 23.79 MB, free: 4.449 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.406/1.406, allocations: 230.6 MB / 257.6 MB, free: 7.758 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.9305/0.9305, allocations: 150 MB / 464 MB, free: 10.21 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.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge") [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.001973/0.001973, allocations: 72.41 kB / 0.6425 GB, free: 9.324 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.191, allocations: 89.17 MB / 0.7296 GB, free: 220 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.00216/0.1932, allocations: 0.7142 MB / 0.7303 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.1949, allocations: 1.163 MB / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.195, allocations: 0 / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.195, allocations: 7.938 kB / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.643e-05/0.1951, allocations: 11.94 kB / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.1955, allocations: 142.5 kB / 0.7316 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.1957, allocations: 115.8 kB / 0.7317 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.988e-05/0.1958, allocations: 11.98 kB / 0.7317 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.719e-05/0.1959, allocations: 43.91 kB / 0.7317 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.932e-05/0.196, allocations: 39.88 kB / 0.7318 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.196, allocations: 12 kB / 0.7318 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.332e-05/0.1961, allocations: 31.92 kB / 0.7318 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.1961, allocations: 11.98 kB / 0.7318 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.74e-05/0.1962, allocations: 39.84 kB / 0.7319 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1964, allocations: 103.7 kB / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1964, allocations: 0 / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1964, allocations: 0 / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1964, allocations: 0 / 0.732 GB, free: 13.77 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.0006104/0.197, allocations: 339.8 kB / 0.7323 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.197, allocations: 8.031 kB / 0.7323 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.1971, allocations: 16.77 kB / 0.7323 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.1972, allocations: 129.2 kB / 0.7324 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1972, allocations: 8.375 kB / 0.7325 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.1973, allocations: 8.375 kB / 0.7325 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.1976, allocations: 58.23 kB / 0.7325 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1976, allocations: 4.172 kB / 0.7325 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1976, allocations: 11.88 kB / 0.7325 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1976, allocations: 0 / 0.7325 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.1978, allocations: 39.97 kB / 0.7326 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004847/0.1983, allocations: 260.4 kB / 0.7328 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.1985, allocations: 58.59 kB / 0.7329 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.1986, allocations: 32.91 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.1986, allocations: 4 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.1988, allocations: 91.33 kB / 0.733 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.1988, allocations: 0 / 0.733 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004464/0.1993, allocations: 145.6 kB / 0.7331 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.1993, allocations: 55.41 kB / 0.7332 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1994, allocations: 121.8 kB / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.1995, allocations: 29.7 kB / 0.7333 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.1995, allocations: 92.12 kB / 0.7334 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.1996, allocations: 11.91 kB / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.861e-05/0.1996, allocations: 37.7 kB / 0.7335 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1998, allocations: 326.8 kB / 0.7338 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.2, allocations: 85.66 kB / 0.7339 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.2002, allocations: 114 kB / 0.734 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.2005, allocations: 137.8 kB / 0.7341 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2005, allocations: 4 kB / 0.7341 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004845/0.2009, allocations: 261 kB / 0.7344 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.201, allocations: 33.7 kB / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.201, allocations: 0 / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.201, allocations: 0 / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.2012, allocations: 15.98 kB / 0.7344 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2012, allocations: 4 kB / 0.7344 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.2014, allocations: 43.97 kB / 0.7344 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.2014, allocations: 8 kB / 0.7345 GB, free: 10.98 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001062/0.2015, allocations: 128 kB / 0.7346 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.2015, allocations: 11.94 kB / 0.7346 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.2015, allocations: 8.375 kB / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2015, allocations: 0 / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2015, allocations: 0 / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2015, allocations: 0 / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.2021, allocations: 318.1 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2021, allocations: 3.938 kB / 0.7349 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.567e-05/0.2021, allocations: 11.98 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2021, allocations: 0 / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.2021, allocations: 0 / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2021, allocations: 0 / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2021, allocations: 0 / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.2025, allocations: 223.3 kB / 0.7351 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.2025, allocations: 7.953 kB / 0.7351 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.2026, allocations: 0 / 0.7351 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.701e-05/0.2026, allocations: 16.05 kB / 0.7351 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.2027, allocations: 7.984 kB / 0.7352 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.2027, allocations: 0 / 0.7352 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.675e-05/0.2028, allocations: 91.27 kB / 0.7352 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2028, allocations: 3.938 kB / 0.7352 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002658/0.203, allocations: 27.94 kB / 0.7353 GB, free: 10.07 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001504/0.2032, allocations: 110.2 kB / 0.7354 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.2036, allocations: 200.9 kB / 0.7356 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2036, allocations: 0 / 0.7356 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.2037, allocations: 35.97 kB / 0.7356 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.204, allocations: 8 kB / 0.7356 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.2043, allocations: 167 kB / 0.7358 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.655e-05/0.2044, allocations: 71.34 kB / 0.7358 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.2046, allocations: 11.84 kB / 0.7359 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.2046, allocations: 11.44 kB / 0.7359 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.2046, allocations: 0 / 0.7359 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of Templates: time 0.004541/0.2091, allocations: 1.61 MB / 0.7374 GB, free: 7.824 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.446458951802924] Failed to read output from testmodel.py, exit status != 0: 0.21721877297386527 0.23184817100000002 0.032354332 Calling exit ...