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.001395/0.001395, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.00189/0.00189, allocations: 219.7 kB / 23 MB, free: 5.004 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8 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.992/0.992, allocations: 150 MB / 463.1 MB, free: 10.52 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.002315/0.002315, allocations: 70.5 kB / 0.6417 GB, free: 9.973 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.207, allocations: 89.17 MB / 0.7288 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.003175/0.2102, allocations: 0.7108 MB / 0.7295 GB, free: 144 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00301/0.2132, allocations: 1.24 MB / 0.7307 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.2133, allocations: 4 kB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.2133, allocations: 3.938 kB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.776e-05/0.2134, allocations: 11.94 kB / 0.7307 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.2142, allocations: 143.4 kB / 0.7309 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.2145, allocations: 115.8 kB / 0.731 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.2146, allocations: 15.97 kB / 0.731 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.2148, allocations: 47.91 kB / 0.731 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.215, allocations: 43.88 kB / 0.7311 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.215, allocations: 19.94 kB / 0.7311 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.2151, allocations: 23.98 kB / 0.7311 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.95e-05/0.2152, allocations: 15.98 kB / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.2153, allocations: 35.86 kB / 0.7312 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.2156, allocations: 119.6 kB / 0.7313 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2156, allocations: 0 / 0.7313 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2156, allocations: 0 / 0.7313 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.2156, allocations: 3.938 kB / 0.7313 GB, free: 14.3 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.0008664/0.2164, allocations: 335.8 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 8.414e-05/0.2165, allocations: 12.03 kB / 0.7316 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.2167, allocations: 16.86 kB / 0.7316 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.2169, allocations: 114.4 kB / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.217, allocations: 8.375 kB / 0.7318 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.217, allocations: 4.375 kB / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.2174, allocations: 66.22 kB / 0.7318 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.2174, allocations: 192 / 0.7318 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.2174, allocations: 3.938 kB / 0.7318 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2174, allocations: 0 / 0.7318 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.2178, allocations: 55.88 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009533/0.2187, allocations: 295.8 kB / 0.7322 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.219, allocations: 46.55 kB / 0.7322 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.2192, allocations: 32.92 kB / 0.7322 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.2193, allocations: 7.938 kB / 0.7322 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000454/0.2197, allocations: 83.36 kB / 0.7323 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 2.464e-06/0.2197, allocations: 0 / 0.7323 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0007966/0.2205, allocations: 133.6 kB / 0.7324 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/0.2206, allocations: 59.41 kB / 0.7325 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.2208, allocations: 109.8 kB / 0.7326 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.2208, allocations: 33.7 kB / 0.7326 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.2209, allocations: 100.2 kB / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.221, allocations: 15.86 kB / 0.7328 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.2211, allocations: 33.7 kB / 0.7328 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.2213, allocations: 326.8 kB / 0.7331 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.2216, allocations: 47.97 kB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.2219, allocations: 71.39 kB / 0.7332 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.2224, allocations: 133 kB / 0.7333 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2224, allocations: 0 / 0.7333 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007878/0.2232, allocations: 203.1 kB / 0.7335 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-05/0.2232, allocations: 37.69 kB / 0.7336 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2232, allocations: 4 kB / 0.7336 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2233, allocations: 0 / 0.7336 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.2234, allocations: 16.39 kB / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.2234, allocations: 8.062 kB / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.2238, allocations: 35.89 kB / 0.7336 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.2238, allocations: 4 kB / 0.7336 GB, free: 11.66 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.0001665/0.224, allocations: 121.8 kB / 0.7337 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.224, allocations: 11.89 kB / 0.7338 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005248/0.2245, allocations: 121.9 kB / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2246, allocations: 4 kB / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2246, allocations: 0 / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2246, allocations: 0 / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007237/0.2253, allocations: 329.6 kB / 0.7342 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2253, allocations: 0 / 0.7342 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.2254, allocations: 11.98 kB / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2254, allocations: 96 / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.2254, allocations: 15.92 kB / 0.7342 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2254, allocations: 0 / 0.7342 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2254, allocations: 0 / 0.7342 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.226, allocations: 207.4 kB / 0.7344 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.226, allocations: 4 kB / 0.7344 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.226, allocations: 3.984 kB / 0.7344 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.2262, allocations: 8 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.2262, allocations: 15.92 kB / 0.7344 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.2263, allocations: 0 / 0.7344 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.516e-05/0.2263, allocations: 91.27 kB / 0.7345 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2263, allocations: 0 / 0.7345 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004798/0.2268, allocations: 23.94 kB / 0.7346 GB, free: 10.62 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.0002136/0.227, allocations: 111.2 kB / 0.7347 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006534/0.2277, allocations: 147.3 kB / 0.7348 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2277, allocations: 0 / 0.7348 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.2279, allocations: 39.91 kB / 0.7348 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.2284, allocations: 16.91 kB / 0.7349 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.2289, allocations: 161.1 kB / 0.735 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.2293, allocations: 0.6971 MB / 0.7357 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.116e-05/0.2293, allocations: 3.984 kB / 0.7357 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.2293, allocations: 11.44 kB / 0.7357 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.2293, allocations: 0 / 0.7357 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of Templates: time 0.004929/0.2343, allocations: 1.428 MB / 0.7371 GB, free: 7.965 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: 5.848255722783506] Failed to read output from testmodel.py, exit status != 0: 0.24490243289619684 0.259385154 0.040560907 Calling exit ...