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.00134/0.00134, allocations: 105 kB / 20.45 MB, free: 1.5 MB / 14.72 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.002238/0.002238, allocations: 217.6 kB / 23.76 MB, free: 4.711 MB / 14.72 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 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 0.9506/0.9506, allocations: 150 MB / 463.9 MB, free: 10.54 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 66.52 kB / 0.6425 GB, free: 9.926 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1841, allocations: 89.18 MB / 0.7296 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002067/0.1862, allocations: 0.7523 MB / 0.7303 GB, free: 76 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1878, allocations: 1.276 MB / 0.7316 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.1879, allocations: 4 kB / 0.7316 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.42e-05/0.1879, allocations: 7.875 kB / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.79e-05/0.188, allocations: 19.84 kB / 0.7316 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007398/0.1888, allocations: 253.8 kB / 0.7318 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.1891, allocations: 259.6 kB / 0.7321 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1892, allocations: 37.28 kB / 0.7321 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.1894, allocations: 103.8 kB / 0.7322 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.1895, allocations: 107.7 kB / 0.7323 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.1896, allocations: 24 kB / 0.7324 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.83e-05/0.1897, allocations: 39.98 kB / 0.7324 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.1897, allocations: 31.89 kB / 0.7324 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.1898, allocations: 95.7 kB / 0.7325 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.1901, allocations: 243.1 kB / 0.7327 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1901, allocations: 4 kB / 0.7327 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1901, allocations: 0 / 0.7327 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.1901, allocations: 0 / 0.7327 GB, free: 13.59 MB / 0.5606 GB 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.0006433/0.1908, allocations: 421.2 kB / 0.7331 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1908, allocations: 8.031 kB / 0.7332 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.1909, allocations: 20.84 kB / 0.7332 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005132/0.1914, allocations: 186.5 kB / 0.7334 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.1914, allocations: 16.38 kB / 0.7334 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.1915, allocations: 24.36 kB / 0.7334 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.1917, allocations: 110.1 kB / 0.7335 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1917, allocations: 3.938 kB / 0.7335 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.1917, allocations: 11.92 kB / 0.7335 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1917, allocations: 4 kB / 0.7335 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1918, allocations: 59.84 kB / 0.7336 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006981/0.1925, allocations: 447.4 kB / 0.734 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.1928, allocations: 122.6 kB / 0.7341 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.073e-05/0.1928, allocations: 56.83 kB / 0.7342 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.1929, allocations: 0 / 0.7342 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003268/0.1932, allocations: 183.2 kB / 0.7343 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.363e-06/0.1932, allocations: 0 / 0.7343 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.0005445/0.1937, allocations: 313.5 kB / 0.7346 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.1938, allocations: 63.33 kB / 0.7347 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.1939, allocations: 157.7 kB / 0.7349 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.194, allocations: 41.7 kB / 0.7349 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1941, allocations: 109 kB / 0.735 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.271e-05/0.1942, allocations: 75.47 kB / 0.7351 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.1943, allocations: 94.05 kB / 0.7352 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1945, allocations: 330.8 kB / 0.7355 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.1947, allocations: 104.8 kB / 0.7356 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.1949, allocations: 177.6 kB / 0.7357 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.1953, allocations: 270.9 kB / 0.736 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1953, allocations: 4 kB / 0.736 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006709/0.196, allocations: 426.3 kB / 0.7364 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.042e-05/0.196, allocations: 71.33 kB / 0.7365 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.196, allocations: 0 / 0.7365 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.196, allocations: 4 kB / 0.7365 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.842e-05/0.1961, allocations: 19.88 kB / 0.7365 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1961, allocations: 4 kB / 0.7365 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.1964, allocations: 75.91 kB / 0.7366 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.1965, allocations: 23.98 kB / 0.7366 GB, free: 9.344 MB / 0.5606 GB 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.0001515/0.1966, allocations: 157 kB / 0.7368 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.1966, allocations: 15.91 kB / 0.7368 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.1967, allocations: 25.97 kB / 0.7368 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1967, allocations: 3.938 kB / 0.7368 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1967, allocations: 4 kB / 0.7368 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.1967, allocations: 3.984 kB / 0.7368 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007585/0.1975, allocations: 0.6001 MB / 0.7374 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1975, allocations: 0 / 0.7374 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/0.1975, allocations: 11.98 kB / 0.7374 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1975, allocations: 8 kB / 0.7374 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1975, allocations: 0 / 0.7374 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1975, allocations: 4 kB / 0.7374 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1975, allocations: 3.938 kB / 0.7374 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.1979, allocations: 364.1 kB / 0.7378 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.1979, allocations: 23.83 kB / 0.7378 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.198, allocations: 4 kB / 0.7378 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/0.198, allocations: 4 kB / 0.7378 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.1981, allocations: 27.95 kB / 0.7378 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.1981, allocations: 16 kB / 0.7378 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.688e-05/0.1982, allocations: 101.3 kB / 0.7379 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1982, allocations: 0 / 0.7379 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003058/0.1985, allocations: 60 kB / 0.738 GB, free: 7.855 MB / 0.5606 GB 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.0001495/0.1986, allocations: 113.2 kB / 0.7381 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005227/0.1992, allocations: 355.2 kB / 0.7384 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1992, allocations: 0 / 0.7384 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.1993, allocations: 96.36 kB / 0.7385 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.1996, allocations: 27.97 kB / 0.7386 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/0.2002, allocations: 346.5 kB / 0.7389 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.2006, allocations: 0.7216 MB / 0.7396 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.2006, allocations: 31.42 kB / 0.7396 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2006, allocations: 0 / 0.7396 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of Templates: time 0.004785/0.2054, allocations: 2.555 MB / 0.7421 GB, free: 3.547 MB / 0.5606 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.049441522918642] Failed to read output from testmodel.py, exit status != 0: 0.21337911114096642 0.22793088700000003 0.034874482000000005 Calling exit ...