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.002525/0.002525, allocations: 92.17 kB / 20.21 MB, free: 4.207 MB / 18.57 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.002961/0.002961, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 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.591/1.591, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 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.057/1.057, allocations: 115 MB / 375.3 MB, free: 7.598 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.304e-05, allocations: 3.688 kB / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001496/0.001519, allocations: 0.7265 MB / 481.5 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.002636, allocations: 1.164 MB / 482.7 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/0.002686, allocations: 3.938 kB / 482.7 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.00271, allocations: 5.156 kB / 482.7 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.364e-05/0.002783, allocations: 14.16 kB / 482.7 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.003179, allocations: 131.1 kB / 482.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.003324, allocations: 120.9 kB / 483 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.003411, allocations: 10.97 kB / 483 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.003521, allocations: 61.23 kB / 483 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.361e-05/0.003604, allocations: 32.56 kB / 483.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.003644, allocations: 17.14 kB / 483.1 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.178e-05/0.003705, allocations: 23.05 kB / 483.1 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.003726, allocations: 14.02 kB / 483.1 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.003779, allocations: 31.92 kB / 483.1 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.00395, allocations: 133.5 kB / 483.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.003952, allocations: 0 / 483.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.003952, allocations: 1.156 kB / 483.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.003956, allocations: 0.8125 kB / 483.3 MB, free: 10.38 MB / 410.7 MB 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.0004675/0.004424, allocations: 433.5 kB / 483.7 MB, free: 9.949 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.004458, allocations: 13.44 kB / 483.7 MB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.004517, allocations: 13.3 kB / 483.7 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.957e-05/0.004596, allocations: 112.8 kB / 483.8 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.004613, allocations: 11.62 kB / 483.8 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.004635, allocations: 13.28 kB / 483.9 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.004775, allocations: 56.36 kB / 483.9 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.004784, allocations: 1.625 kB / 483.9 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.004793, allocations: 4.375 kB / 483.9 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.004797, allocations: 384 / 483.9 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.004918, allocations: 32.95 kB / 483.9 MB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.005287, allocations: 314.8 kB / 484.3 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.005436, allocations: 64.83 kB / 484.3 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.969e-05/0.005506, allocations: 27.72 kB / 484.3 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.005521, allocations: 2.25 kB / 484.3 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.005668, allocations: 102.8 kB / 484.4 MB, free: 9.324 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.00567, allocations: 0 / 484.4 MB, free: 9.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003431/0.006013, allocations: 131.2 kB / 484.6 MB, free: 9.266 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.006038, allocations: 59.22 kB / 484.6 MB, free: 9.199 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/0.006121, allocations: 188.3 kB / 484.8 MB, free: 9.023 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.00614, allocations: 32.95 kB / 484.9 MB, free: 8.988 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.006377, allocations: 143.9 kB / 485 MB, free: 24.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.006397, allocations: 15.31 kB / 485 MB, free: 24.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.4e-05/0.006481, allocations: 46.7 kB / 485.1 MB, free: 24.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002598/0.006741, allocations: 0.4958 MB / 485.5 MB, free: 24.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.006884, allocations: 81 kB / 485.6 MB, free: 24.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.007029, allocations: 136.4 kB / 485.8 MB, free: 24.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.007235, allocations: 147.7 kB / 485.9 MB, free: 24.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.007237, allocations: 1.344 kB / 485.9 MB, free: 24.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004201/0.007657, allocations: 253.9 kB / 486.2 MB, free: 23.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.007688, allocations: 40.02 kB / 486.2 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.007694, allocations: 1.188 kB / 486.2 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.007711, allocations: 2.406 kB / 486.2 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.107e-05/0.007792, allocations: 12.09 kB / 486.2 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.007798, allocations: 1.188 kB / 486.2 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.007951, allocations: 31.31 kB / 486.2 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.007974, allocations: 7.969 kB / 486.2 MB, free: 23.85 MB / 426.7 MB 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.0001293/0.008103, allocations: 171.6 kB / 486.4 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.008125, allocations: 16.34 kB / 486.4 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.008155, allocations: 11.59 kB / 486.4 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.008157, allocations: 1.406 kB / 486.4 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.008162, allocations: 5.188 kB / 486.4 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.008166, allocations: 0 / 486.4 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.008558, allocations: 368.5 kB / 486.8 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.008559, allocations: 0.5625 kB / 486.8 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.008598, allocations: 9.906 kB / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.0086, allocations: 0 / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.008611, allocations: 4.672 kB / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.008614, allocations: 3.125 kB / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.008615, allocations: 4 kB / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.008885, allocations: 259.3 kB / 487.1 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.008898, allocations: 6.359 kB / 487.1 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.008915, allocations: 1.812 kB / 487.1 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.00898, allocations: 7.641 kB / 487.1 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.009027, allocations: 9.516 kB / 487.1 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.009035, allocations: 2.688 kB / 487.1 MB, free: 23.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.017e-05/0.009125, allocations: 135.4 kB / 487.2 MB, free: 22.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009125, allocations: 1.219 kB / 487.2 MB, free: 22.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.009374, allocations: 30.41 kB / 487.3 MB, free: 22.98 MB / 426.7 MB 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.0001292/0.009503, allocations: 103.4 kB / 487.4 MB, free: 22.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.009807, allocations: 213.4 kB / 487.6 MB, free: 22.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.009809, allocations: 0 / 487.6 MB, free: 22.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.204e-05/0.009891, allocations: 45.53 kB / 487.6 MB, free: 22.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.01014, allocations: 19.19 kB / 487.6 MB, free: 22.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.01044, allocations: 165.1 kB / 487.8 MB, free: 22.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.895e-05/0.01047, allocations: 77.03 kB / 487.9 MB, free: 22.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.84e-05/0.0105, allocations: 4.125 kB / 487.9 MB, free: 22.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.01053, allocations: 17.25 kB / 487.9 MB, free: 22.5 MB / 426.7 MB Notification: Performance of SimCode: time 4.7e-07/0.01053, allocations: 0 / 487.9 MB, free: 22.5 MB / 426.7 MB Notification: Performance of Templates: time 0.004424/0.01496, allocations: 1.605 MB / 489.5 MB, free: 22.38 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.708896427066065]