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.001029/0.001029, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.001046/0.001046, allocations: 173 kB / 24.15 MB, free: 352 kB / 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.9283/0.9283, allocations: 177.1 MB / 204.6 MB, free: 5.5 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.6124/0.6124, allocations: 115 MB / 376 MB, free: 7.496 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 1.804e-06/1.804e-06, allocations: 0 / 428.7 MB, free: 2.801 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.273e-05, allocations: 2.312 kB / 428.7 MB, free: 2.797 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001486/0.001509, allocations: 0.7616 MB / 429.5 MB, free: 2.035 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.002899, allocations: 1.298 MB / 430.8 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.61e-05/0.002965, allocations: 4 kB / 430.8 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.003002, allocations: 11.81 kB / 430.8 MB, free: 0.707 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.007e-05/0.003082, allocations: 19.8 kB / 430.8 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.003641, allocations: 239.4 kB / 431.1 MB, free: 464 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.003887, allocations: 247.6 kB / 431.3 MB, free: 216 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.004004, allocations: 45.91 kB / 431.3 MB, free: 168 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.004162, allocations: 155.7 kB / 431.5 MB, free: 12 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.004311, allocations: 79.88 kB / 431.6 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.004345, allocations: 24 kB / 431.6 MB, free: 15.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.873e-05/0.004414, allocations: 28 kB / 431.6 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.34e-05/0.004447, allocations: 35.89 kB / 431.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.004509, allocations: 71.86 kB / 431.7 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.004752, allocations: 183.3 kB / 431.9 MB, free: 15.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004755, allocations: 0 / 431.9 MB, free: 15.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004755, allocations: 0 / 431.9 MB, free: 15.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.004759, allocations: 8 kB / 431.9 MB, free: 15.59 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.0004318/0.005191, allocations: 387.8 kB / 432.3 MB, free: 15.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.005225, allocations: 12.02 kB / 432.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.005274, allocations: 24.92 kB / 432.3 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.005435, allocations: 141.6 kB / 432.5 MB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.005454, allocations: 12.38 kB / 432.5 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.005481, allocations: 20.38 kB / 432.5 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.005581, allocations: 90.11 kB / 432.6 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.005588, allocations: 192 / 432.6 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.005598, allocations: 8.375 kB / 432.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.005606, allocations: 4.375 kB / 432.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.519e-05/0.005641, allocations: 39.8 kB / 432.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.005971, allocations: 260 kB / 432.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.006087, allocations: 98.39 kB / 433 MB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.006117, allocations: 28.84 kB / 433 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.006129, allocations: 11.97 kB / 433 MB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.006269, allocations: 151.2 kB / 433.2 MB, free: 14.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.292e-06/0.006271, allocations: 0 / 433.2 MB, free: 14.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.0001986/0.006469, allocations: 182.3 kB / 433.4 MB, free: 14.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.006506, allocations: 59.39 kB / 433.4 MB, free: 13.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.006602, allocations: 166.4 kB / 433.6 MB, free: 13.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.006632, allocations: 37.7 kB / 433.6 MB, free: 13.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.006681, allocations: 101 kB / 433.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.006719, allocations: 79.39 kB / 433.8 MB, free: 13.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.4e-05/0.006803, allocations: 97.98 kB / 433.9 MB, free: 13.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.609e-05/0.006879, allocations: 334.8 kB / 434.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.929e-05/0.006968, allocations: 120.2 kB / 434.3 MB, free: 12.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.007077, allocations: 189.3 kB / 434.5 MB, free: 12.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.007229, allocations: 230.7 kB / 434.7 MB, free: 12.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.007233, allocations: 3.938 kB / 434.7 MB, free: 12.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004082/0.007641, allocations: 361.1 kB / 435.1 MB, free: 12.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.007682, allocations: 74.67 kB / 435.2 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.007687, allocations: 0 / 435.2 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.007699, allocations: 4 kB / 435.2 MB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.585e-05/0.007725, allocations: 15.94 kB / 435.2 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.007731, allocations: 7.984 kB / 435.2 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.007896, allocations: 52 kB / 435.2 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.007918, allocations: 23.98 kB / 435.3 MB, free: 11.93 MB / 410.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,falCleFalIni.clr,falCleTruIni.clr,truCleFalIni.clr,truCleTruIni.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,fal.y,tru.y) * 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.0001127/0.008031, allocations: 145.7 kB / 435.4 MB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.008053, allocations: 19.98 kB / 435.4 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.008092, allocations: 21.95 kB / 435.5 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.008095, allocations: 11.88 kB / 435.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.008099, allocations: 0 / 435.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.008104, allocations: 4 kB / 435.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.008543, allocations: 386.8 kB / 435.8 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.008545, allocations: 0 / 435.8 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.00856, allocations: 7.984 kB / 435.9 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.008564, allocations: 0 / 435.9 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.008574, allocations: 11.94 kB / 435.9 MB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.008577, allocations: 0 / 435.9 MB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.008579, allocations: 0 / 435.9 MB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.008738, allocations: 240.4 kB / 436.1 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.008759, allocations: 19.83 kB / 436.1 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.008773, allocations: 12 kB / 436.1 MB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.972e-05/0.008813, allocations: 4 kB / 436.1 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.008863, allocations: 23.89 kB / 436.2 MB, free: 11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.008882, allocations: 16 kB / 436.2 MB, free: 10.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.68e-05/0.008909, allocations: 24.83 kB / 436.2 MB, free: 10.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008909, allocations: 0 / 436.2 MB, free: 10.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.009113, allocations: 60 kB / 436.3 MB, free: 10.9 MB / 410.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.0001295/0.009242, allocations: 98.34 kB / 436.4 MB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003598/0.009602, allocations: 365.2 kB / 436.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.009608, allocations: 4 kB / 436.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.656e-05/0.009675, allocations: 80.67 kB / 436.8 MB, free: 10.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.009856, allocations: 27.97 kB / 436.8 MB, free: 10.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.01022, allocations: 301.7 kB / 437.1 MB, free: 9.961 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.435e-05/0.01027, allocations: 77.33 kB / 437.2 MB, free: 9.863 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.731e-05/0.01031, allocations: 30.28 kB / 437.2 MB, free: 9.832 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.01043, allocations: 103.3 kB / 437.3 MB, free: 9.73 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01043, allocations: 0 / 437.3 MB, free: 9.73 MB / 410.7 MB Notification: Performance of Templates: time 0.004925/0.01536, allocations: 3.062 MB / 440.4 MB, free: 6.691 MB / 410.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.431849243119359]