Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.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.00247/0.00247, allocations: 88.17 kB / 20.21 MB, free: 4.211 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.002731/0.002731, allocations: 165.2 kB / 23.53 MB, free: 0.8984 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.597/1.597, allocations: 177.1 MB / 203.9 MB, free: 5.621 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.034/1.034, allocations: 115 MB / 375.3 MB, free: 7.566 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.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.276e-06/3.276e-06, allocations: 0.875 kB / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.417e-05, allocations: 4.344 kB / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002789/0.002823, allocations: 0.7541 MB / 481.5 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.005195, allocations: 1.264 MB / 482.8 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.005281, allocations: 2.906 kB / 482.8 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.567e-05/0.005346, allocations: 11.25 kB / 482.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.005488, allocations: 17.31 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.006582, allocations: 245.5 kB / 483.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003914/0.006973, allocations: 253.8 kB / 483.3 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.007174, allocations: 38.25 kB / 483.4 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.00745, allocations: 146.2 kB / 483.5 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.007677, allocations: 79.88 kB / 483.6 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.292e-05/0.00776, allocations: 26.19 kB / 483.6 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.007899, allocations: 34.53 kB / 483.6 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.007952, allocations: 38.83 kB / 483.7 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.008092, allocations: 70.38 kB / 483.8 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004423/0.008535, allocations: 286.7 kB / 484 MB, free: 10.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.008541, allocations: 1 kB / 484 MB, free: 10.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.008542, allocations: 0 / 484 MB, free: 10.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.00855, allocations: 0 / 484 MB, free: 10.04 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007635/0.009313, allocations: 0.5158 MB / 484.5 MB, free: 9.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.009357, allocations: 9.375 kB / 484.6 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.009479, allocations: 27.31 kB / 484.6 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006335/0.01011, allocations: 185.9 kB / 484.8 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.01014, allocations: 13.59 kB / 484.8 MB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-05/0.01021, allocations: 23.91 kB / 484.8 MB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.01049, allocations: 113.3 kB / 484.9 MB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.0105, allocations: 0.8125 kB / 484.9 MB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.01052, allocations: 11.97 kB / 484.9 MB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.01053, allocations: 10.22 kB / 484.9 MB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.01072, allocations: 51.89 kB / 485 MB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008854/0.01161, allocations: 452.5 kB / 485.4 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.01201, allocations: 138.6 kB / 485.6 MB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.01218, allocations: 66.38 kB / 485.6 MB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.0122, allocations: 2.688 kB / 485.6 MB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004164/0.01262, allocations: 188 kB / 485.8 MB, free: 8.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.966e-06/0.01262, allocations: 1.156 kB / 485.8 MB, free: 8.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009311/0.01355, allocations: 347.6 kB / 486.2 MB, free: 8.633 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.01359, allocations: 56.66 kB / 486.2 MB, free: 8.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.01395, allocations: 238.9 kB / 486.4 MB, free: 24.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.014, allocations: 35.39 kB / 486.5 MB, free: 24.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.01414, allocations: 162.1 kB / 486.6 MB, free: 24.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.163e-05/0.01422, allocations: 75.73 kB / 486.7 MB, free: 24.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.01444, allocations: 117.6 kB / 486.8 MB, free: 24.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003668/0.01481, allocations: 0.5098 MB / 487.3 MB, free: 23.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.01519, allocations: 183.3 kB / 487.5 MB, free: 23.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.01562, allocations: 269.5 kB / 487.8 MB, free: 23.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005765/0.0162, allocations: 317.4 kB / 488.1 MB, free: 23.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.0162, allocations: 0 / 488.1 MB, free: 23.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001199/0.0174, allocations: 0.5203 MB / 488.6 MB, free: 22.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.583e-05/0.01746, allocations: 64.61 kB / 488.7 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.01747, allocations: 2.562 kB / 488.7 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.01749, allocations: 5.922 kB / 488.7 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.674e-05/0.01757, allocations: 20.72 kB / 488.7 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.01758, allocations: 3.219 kB / 488.7 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.01811, allocations: 60.36 kB / 488.8 MB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.01818, allocations: 22.3 kB / 488.8 MB, free: 22.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,tru.y,fal.y,truCleTruIni.clr,truCleFalIni.clr,falCleTruIni.clr,falCleFalIni.clr,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 2 * 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.0002498/0.01843, allocations: 207.4 kB / 489 MB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.01848, allocations: 28.56 kB / 489 MB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.316e-05/0.01855, allocations: 22.53 kB / 489 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.01855, allocations: 3.844 kB / 489 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.01856, allocations: 2.75 kB / 489 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.01857, allocations: 1.531 kB / 489 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.01975, allocations: 0.621 MB / 489.7 MB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.01976, allocations: 0 / 489.7 MB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.0198, allocations: 11.5 kB / 489.7 MB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.0198, allocations: 1.906 kB / 489.7 MB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.01983, allocations: 10.09 kB / 489.7 MB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.01984, allocations: 7.312 kB / 489.7 MB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01984, allocations: 0 / 489.7 MB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006913/0.02053, allocations: 426.6 kB / 490.1 MB, free: 21.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.02056, allocations: 13.5 kB / 490.1 MB, free: 21.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.0206, allocations: 17.06 kB / 490.1 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.02072, allocations: 8.25 kB / 490.2 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.0208, allocations: 19.61 kB / 490.2 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.02084, allocations: 16.5 kB / 490.2 MB, free: 21.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001659/0.02101, allocations: 149 kB / 490.3 MB, free: 21.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02101, allocations: 0 / 490.3 MB, free: 21.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000588/0.0216, allocations: 68.31 kB / 490.4 MB, free: 21.61 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: 32 (swiCleInp1.clr,swiCleInp.clr,truCleFalIni.u,swiCleInp1.u,swiCleInp.u,truCleTruIni.u,falCleTruIni.u,falCleFalIni.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002266/0.02183, allocations: 114.6 kB / 490.5 MB, free: 21.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009863/0.02281, allocations: 486.6 kB / 491 MB, free: 21.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.02281, allocations: 1.125 kB / 491 MB, free: 21.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.02307, allocations: 117.4 kB / 491.1 MB, free: 21.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.02365, allocations: 40.05 kB / 491.1 MB, free: 21.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007733/0.02442, allocations: 329.8 kB / 491.5 MB, free: 20.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.02454, allocations: 112.6 kB / 491.6 MB, free: 20.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.02464, allocations: 21.97 kB / 491.6 MB, free: 20.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.0247, allocations: 29 kB / 491.6 MB, free: 20.87 MB / 426.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02471, allocations: 0 / 491.6 MB, free: 20.87 MB / 426.7 MB Notification: Performance of Templates: time 0.01094/0.03564, allocations: 2.865 MB / 494.5 MB, free: 20.6 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.703792039072141]