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.001458/0.001458, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001819/0.001819, allocations: 165 kB / 23.8 MB, free: 0.7734 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 0.9537/0.9537, allocations: 177.1 MB / 204.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.6055/0.6055, allocations: 114.9 MB / 375.7 MB, free: 7.641 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.864e-06/1.864e-06, allocations: 0.5469 kB / 481.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.635e-05, allocations: 5.406 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001197/0.001213, allocations: 0.7482 MB / 482.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.002403, allocations: 1.192 MB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.002456, allocations: 0 / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.002488, allocations: 3.938 kB / 483.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.737e-05/0.002565, allocations: 11.19 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.002989, allocations: 135.3 kB / 483.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.003137, allocations: 116.4 kB / 483.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.003244, allocations: 9.375 kB / 483.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.003366, allocations: 65.17 kB / 483.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.068e-05/0.003447, allocations: 37.62 kB / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.003474, allocations: 10.5 kB / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.003537, allocations: 24.2 kB / 483.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.003559, allocations: 13.38 kB / 483.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.00361, allocations: 32.36 kB / 483.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.003769, allocations: 102 kB / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003771, allocations: 0 / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.003772, allocations: 0.5625 kB / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.003775, allocations: 2.156 kB / 484 MB, free: 10.39 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.0003896/0.004165, allocations: 428.6 kB / 484.4 MB, free: 9.965 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.004201, allocations: 9.438 kB / 484.4 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.004251, allocations: 12.64 kB / 484.4 MB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.633e-05/0.004327, allocations: 119.2 kB / 484.6 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.004341, allocations: 4.656 kB / 484.6 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.00436, allocations: 6.938 kB / 484.6 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.004473, allocations: 65 kB / 484.6 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.004483, allocations: 2.5 kB / 484.6 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.004492, allocations: 384 / 484.6 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.0045, allocations: 6.094 kB / 484.6 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.502e-05/0.004535, allocations: 22.34 kB / 484.7 MB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.004983, allocations: 308 kB / 485 MB, free: 25.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.005089, allocations: 48.28 kB / 485 MB, free: 25.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.00512, allocations: 18.28 kB / 485 MB, free: 25.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.005131, allocations: 2.656 kB / 485 MB, free: 25.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.005237, allocations: 86.28 kB / 485.1 MB, free: 25.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.005238, allocations: 0 / 485.1 MB, free: 25.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002342/0.005473, allocations: 99.34 kB / 485.2 MB, free: 25.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.005507, allocations: 52.72 kB / 485.3 MB, free: 25.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.005608, allocations: 184.3 kB / 485.4 MB, free: 25.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.005624, allocations: 33.14 kB / 485.5 MB, free: 25.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.005689, allocations: 137.9 kB / 485.6 MB, free: 24.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.005711, allocations: 13.19 kB / 485.6 MB, free: 24.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.005768, allocations: 45.22 kB / 485.7 MB, free: 24.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.005886, allocations: 498.8 kB / 486.2 MB, free: 24.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.339e-05/0.00597, allocations: 60.62 kB / 486.2 MB, free: 24.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.241e-05/0.006062, allocations: 110.9 kB / 486.3 MB, free: 24.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.006175, allocations: 121.9 kB / 486.4 MB, free: 24.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006177, allocations: 0 / 486.4 MB, free: 24.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002444/0.006421, allocations: 211.2 kB / 486.7 MB, free: 23.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.006448, allocations: 37.02 kB / 486.7 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.006454, allocations: 1.062 kB / 486.7 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.006473, allocations: 3.594 kB / 486.7 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.163e-05/0.006545, allocations: 12.34 kB / 486.7 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.006551, allocations: 1.219 kB / 486.7 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.012e-05/0.006641, allocations: 31.3 kB / 486.7 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.006656, allocations: 15.75 kB / 486.8 MB, free: 23.94 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 8.196e-05/0.006738, allocations: 166.7 kB / 486.9 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.006752, allocations: 13.3 kB / 486.9 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.006778, allocations: 14.81 kB / 486.9 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.00678, allocations: 6.078 kB / 486.9 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.006784, allocations: 0 / 486.9 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.006788, allocations: 3.469 kB / 487 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.006997, allocations: 339.8 kB / 487.3 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.006999, allocations: 0 / 487.3 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.377e-05/0.007023, allocations: 8.281 kB / 487.3 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.007024, allocations: 1.844 kB / 487.3 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.007032, allocations: 3.406 kB / 487.3 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.007034, allocations: 1.844 kB / 487.3 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007034, allocations: 0 / 487.3 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.007157, allocations: 239.3 kB / 487.5 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.007166, allocations: 12.44 kB / 487.5 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.007183, allocations: 1.156 kB / 487.5 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.667e-05/0.007219, allocations: 7.594 kB / 487.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.007256, allocations: 6.172 kB / 487.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.007261, allocations: 4.594 kB / 487.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.2e-05/0.007303, allocations: 135.2 kB / 487.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007303, allocations: 0 / 487.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001793/0.007483, allocations: 21.38 kB / 487.7 MB, free: 23.09 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 9.34e-05/0.007576, allocations: 100.5 kB / 487.8 MB, free: 23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.007749, allocations: 167.8 kB / 488 MB, free: 22.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.00775, allocations: 0 / 488 MB, free: 22.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.724e-05/0.007787, allocations: 29.38 kB / 488 MB, free: 22.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.007979, allocations: 19.98 kB / 488 MB, free: 22.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.008261, allocations: 165.7 kB / 488.2 MB, free: 22.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.561e-05/0.008297, allocations: 59.28 kB / 488.2 MB, free: 22.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.38e-05/0.008321, allocations: 5.156 kB / 488.3 MB, free: 22.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.008348, allocations: 14.88 kB / 488.3 MB, free: 22.63 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.008348, allocations: 0 / 488.3 MB, free: 22.63 MB / 426.7 MB Notification: Performance of Templates: time 0.003307/0.01166, allocations: 1.606 MB / 489.9 MB, free: 22.5 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: 3.6044475259259343]