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.001114/0.001114, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001065/0.001065, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9517/0.9517, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.5767/0.5767, allocations: 115 MB / 375.7 MB, free: 7.664 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 2.074e-06/2.074e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.522e-05, allocations: 2.312 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001449/0.001464, allocations: 0.7652 MB / 482.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.002929, allocations: 1.288 MB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.002987, allocations: 1.094 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.352e-05/0.00303, allocations: 14.95 kB / 483.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.483e-05/0.003105, allocations: 17.58 kB / 483.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006202/0.003725, allocations: 250.4 kB / 483.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.004005, allocations: 250.2 kB / 484.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.00414, allocations: 41.19 kB / 484.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.004324, allocations: 150.8 kB / 484.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.004456, allocations: 80.23 kB / 484.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.004497, allocations: 21.62 kB / 484.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-05/0.00457, allocations: 34.06 kB / 484.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.004602, allocations: 29.97 kB / 484.4 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.608e-05/0.004678, allocations: 73.81 kB / 484.5 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.004888, allocations: 184.7 kB / 484.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.00489, allocations: 0 / 484.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00489, allocations: 0.5625 kB / 484.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.004894, allocations: 0 / 484.7 MB, free: 10.05 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.0004666/0.005361, allocations: 0.5097 MB / 485.2 MB, free: 9.562 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.005395, allocations: 9.125 kB / 485.2 MB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.64e-05/0.005472, allocations: 30.38 kB / 485.2 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.00564, allocations: 168.1 kB / 485.4 MB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.005659, allocations: 14.06 kB / 485.4 MB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.005694, allocations: 23.86 kB / 485.4 MB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.005843, allocations: 97.89 kB / 485.5 MB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.005851, allocations: 192 / 485.5 MB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.005865, allocations: 6.969 kB / 485.6 MB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.005875, allocations: 4.062 kB / 485.6 MB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.403e-05/0.005949, allocations: 49.28 kB / 485.6 MB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.006399, allocations: 434.8 kB / 486 MB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.006572, allocations: 114 kB / 486.1 MB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.006636, allocations: 47.22 kB / 486.2 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.006645, allocations: 3.375 kB / 486.2 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.006834, allocations: 160.6 kB / 486.3 MB, free: 8.832 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.352e-06/0.006835, allocations: 0.5 kB / 486.3 MB, free: 8.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.0004403/0.007275, allocations: 305.2 kB / 486.6 MB, free: 8.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.007308, allocations: 58.16 kB / 486.7 MB, free: 8.668 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.711e-05/0.007405, allocations: 217.9 kB / 486.9 MB, free: 8.477 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.007434, allocations: 40.55 kB / 487 MB, free: 8.438 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.007576, allocations: 161.7 kB / 487.1 MB, free: 24.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.007615, allocations: 67.61 kB / 487.2 MB, free: 24.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.007732, allocations: 100.2 kB / 487.3 MB, free: 24.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.007862, allocations: 0.5025 MB / 487.8 MB, free: 23.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.008028, allocations: 148.5 kB / 487.9 MB, free: 23.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.008215, allocations: 230.5 kB / 488.1 MB, free: 23.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.008447, allocations: 271.2 kB / 488.4 MB, free: 23.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.00845, allocations: 1.625 kB / 488.4 MB, free: 23.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004849/0.008935, allocations: 471.3 kB / 488.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.008967, allocations: 74.7 kB / 488.9 MB, free: 22.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.008973, allocations: 2.906 kB / 489 MB, free: 22.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.008989, allocations: 7.406 kB / 489 MB, free: 22.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.624e-05/0.009026, allocations: 19.09 kB / 489 MB, free: 22.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.009033, allocations: 4.594 kB / 489 MB, free: 22.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.009258, allocations: 60.02 kB / 489 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.009289, allocations: 19.5 kB / 489.1 MB, free: 22.88 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.0001095/0.009398, allocations: 197.9 kB / 489.3 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.009427, allocations: 30.97 kB / 489.3 MB, free: 22.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.009457, allocations: 19.59 kB / 489.3 MB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.009461, allocations: 3.25 kB / 489.3 MB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.009466, allocations: 1.188 kB / 489.3 MB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.00947, allocations: 4.625 kB / 489.3 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.009996, allocations: 0.5829 MB / 489.9 MB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.009997, allocations: 0.6875 kB / 489.9 MB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.01001, allocations: 11.95 kB / 489.9 MB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01002, allocations: 4.688 kB / 489.9 MB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.01003, allocations: 10.81 kB / 489.9 MB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.01004, allocations: 4.172 kB / 489.9 MB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01004, allocations: 3.938 kB / 489.9 MB, free: 22.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.01037, allocations: 391.9 kB / 490.3 MB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.01039, allocations: 17.06 kB / 490.3 MB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.01042, allocations: 10.81 kB / 490.3 MB, free: 22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.01048, allocations: 8.547 kB / 490.3 MB, free: 22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.01053, allocations: 21.77 kB / 490.4 MB, free: 22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.01056, allocations: 12.12 kB / 490.4 MB, free: 22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.278e-05/0.01062, allocations: 145.5 kB / 490.5 MB, free: 21.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01062, allocations: 0 / 490.5 MB, free: 21.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.01099, allocations: 65.05 kB / 490.6 MB, free: 21.86 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.0001212/0.01111, allocations: 112.7 kB / 490.7 MB, free: 21.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004476/0.01156, allocations: 400.2 kB / 491.1 MB, free: 21.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01156, allocations: 2.219 kB / 491.1 MB, free: 21.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.01168, allocations: 100.7 kB / 491.2 MB, free: 21.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.01199, allocations: 32.28 kB / 491.2 MB, free: 21.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.01246, allocations: 307.5 kB / 491.5 MB, free: 21.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.927e-05/0.01251, allocations: 76.97 kB / 491.6 MB, free: 21.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.472e-05/0.01257, allocations: 28.64 kB / 491.6 MB, free: 21.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.01262, allocations: 24.22 kB / 491.6 MB, free: 21.19 MB / 426.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01262, allocations: 0 / 491.6 MB, free: 21.19 MB / 426.7 MB Notification: Performance of Templates: time 0.005687/0.0183, allocations: 3.033 MB / 494.7 MB, free: 20.89 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: 3.599605235736817]