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.001303/0.001303, 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.001381/0.001381, allocations: 209.9 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.9473/0.9473, allocations: 150 MB / 463.9 MB, free: 10.47 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.002087/0.002087, allocations: 66.02 kB / 0.6425 GB, free: 9.82 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2031, allocations: 89.17 MB / 0.7296 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002101/0.2052, allocations: 0.7166 MB / 0.7303 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.207, allocations: 1.24 MB / 0.7315 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.207, allocations: 0 / 0.7315 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.2071, allocations: 3.938 kB / 0.7315 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.751e-05/0.2071, allocations: 19.84 kB / 0.7315 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005526/0.2077, allocations: 135.7 kB / 0.7316 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.2079, allocations: 119.8 kB / 0.7317 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.208, allocations: 8 kB / 0.7317 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.2081, allocations: 47.84 kB / 0.7318 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.2082, allocations: 47.81 kB / 0.7318 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.2082, allocations: 16 kB / 0.7319 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.033e-05/0.2083, allocations: 27.98 kB / 0.7319 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.2083, allocations: 11.98 kB / 0.7319 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.2084, allocations: 43.83 kB / 0.7319 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.2086, allocations: 115.6 kB / 0.732 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2086, allocations: 0 / 0.732 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2086, allocations: 0 / 0.732 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2086, allocations: 0 / 0.732 GB, free: 14.15 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.0006602/0.2093, allocations: 331.8 kB / 0.7324 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2093, allocations: 16.03 kB / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.2094, allocations: 12.89 kB / 0.7324 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.2096, allocations: 122.3 kB / 0.7325 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.2096, allocations: 8.359 kB / 0.7325 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.2096, allocations: 4.375 kB / 0.7325 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.2098, allocations: 66.22 kB / 0.7326 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2098, allocations: 192 / 0.7326 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.2098, allocations: 7.938 kB / 0.7326 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2099, allocations: 4 kB / 0.7326 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.21, allocations: 43.95 kB / 0.7326 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.2105, allocations: 299.7 kB / 0.7329 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.2107, allocations: 50.53 kB / 0.733 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.2108, allocations: 28.94 kB / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.2108, allocations: 0 / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.2111, allocations: 83.36 kB / 0.7331 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.2111, allocations: 0 / 0.7331 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.000449/0.2115, allocations: 145.6 kB / 0.7332 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.2116, allocations: 59.39 kB / 0.7333 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.51e-05/0.2116, allocations: 105.8 kB / 0.7334 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.2117, allocations: 33.7 kB / 0.7334 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.2118, allocations: 92.14 kB / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.2118, allocations: 19.86 kB / 0.7335 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.2118, allocations: 33.69 kB / 0.7335 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.212, allocations: 322.8 kB / 0.7338 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.2122, allocations: 51.95 kB / 0.7339 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.2123, allocations: 88.91 kB / 0.734 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.2126, allocations: 125 kB / 0.7341 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2126, allocations: 4 kB / 0.7341 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004525/0.2131, allocations: 195.7 kB / 0.7343 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.2131, allocations: 37.7 kB / 0.7343 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2131, allocations: 3.984 kB / 0.7343 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2131, allocations: 0 / 0.7343 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/0.2132, allocations: 8 kB / 0.7343 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.2132, allocations: 15.98 kB / 0.7344 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.2134, allocations: 31.91 kB / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.2134, allocations: 11.98 kB / 0.7344 GB, free: 11.5 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.0001195/0.2136, allocations: 128.8 kB / 0.7345 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.2136, allocations: 3.953 kB / 0.7345 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.2139, allocations: 118 kB / 0.7346 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2139, allocations: 0 / 0.7346 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2139, allocations: 0 / 0.7346 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2139, allocations: 3.984 kB / 0.7346 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.2143, allocations: 337.9 kB / 0.735 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2143, allocations: 3.984 kB / 0.735 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.079e-05/0.2144, allocations: 12 kB / 0.735 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2144, allocations: 0 / 0.735 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2144, allocations: 7.984 kB / 0.735 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2144, allocations: 0 / 0.735 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2144, allocations: 4 kB / 0.735 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.2147, allocations: 203.3 kB / 0.7352 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.2147, allocations: 4 kB / 0.7352 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.2147, allocations: 0 / 0.7352 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.2148, allocations: 15.98 kB / 0.7352 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.2149, allocations: 11.92 kB / 0.7352 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.2149, allocations: 0 / 0.7352 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.433e-05/0.2149, allocations: 87.28 kB / 0.7353 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2149, allocations: 0 / 0.7353 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002609/0.2152, allocations: 27.94 kB / 0.7353 GB, free: 10.48 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.0001467/0.2153, allocations: 103.2 kB / 0.7354 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003914/0.2157, allocations: 159.3 kB / 0.7356 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2157, allocations: 3.938 kB / 0.7356 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.2159, allocations: 43.89 kB / 0.7356 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.2161, allocations: 14.72 kB / 0.7356 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.2165, allocations: 184.6 kB / 0.7358 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.2169, allocations: 0.6923 MB / 0.7365 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.2169, allocations: 15.44 kB / 0.7365 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2169, allocations: 0 / 0.7365 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of Templates: time 0.003182/0.2201, allocations: 1.201 MB / 0.7377 GB, free: 8 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.923294679028913] Failed to read output from testmodel.py, exit status != 0: 0.2289352109655738 0.24222747200000003 0.030745348000000002 Calling exit ...