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.001352/0.001352, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001452/0.001452, allocations: 214.1 kB / 23.75 MB, free: 4.445 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.9786/0.9786, allocations: 149.9 MB / 463.8 MB, free: 10.41 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.002071/0.002071, allocations: 74.84 kB / 0.6423 GB, free: 9.711 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.179, allocations: 89.17 MB / 0.7294 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001999/0.181, allocations: 0.7329 MB / 0.7301 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1827, allocations: 1.256 MB / 0.7313 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.1827, allocations: 4 kB / 0.7313 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.272e-05/0.1828, allocations: 11.86 kB / 0.7313 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.391e-05/0.1829, allocations: 19.84 kB / 0.7314 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006595/0.1835, allocations: 242.3 kB / 0.7316 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.1838, allocations: 259.6 kB / 0.7318 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.184, allocations: 41.27 kB / 0.7319 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1841, allocations: 99.81 kB / 0.732 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.1842, allocations: 91.61 kB / 0.7321 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.1843, allocations: 24 kB / 0.7321 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.703e-05/0.1844, allocations: 35.98 kB / 0.7321 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.1844, allocations: 31.91 kB / 0.7322 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1845, allocations: 87.73 kB / 0.7322 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.1848, allocations: 247.1 kB / 0.7325 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.1848, allocations: 0 / 0.7325 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.707e-06/0.1848, allocations: 3.984 kB / 0.7325 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1849, allocations: 0 / 0.7325 GB, free: 13.44 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.0006256/0.1855, allocations: 421.2 kB / 0.7329 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1855, allocations: 8.031 kB / 0.7329 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.1856, allocations: 20.84 kB / 0.7329 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005223/0.1861, allocations: 185.2 kB / 0.7331 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.1861, allocations: 20.36 kB / 0.7331 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.1862, allocations: 20.38 kB / 0.7331 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1864, allocations: 110.2 kB / 0.7332 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1864, allocations: 7.875 kB / 0.7332 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1864, allocations: 0 / 0.7332 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1864, allocations: 4 kB / 0.7332 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.1865, allocations: 63.84 kB / 0.7333 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000613/0.1871, allocations: 372 kB / 0.7337 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.1874, allocations: 122.6 kB / 0.7338 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.229e-05/0.1875, allocations: 60.83 kB / 0.7338 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.1875, allocations: 0 / 0.7338 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.1878, allocations: 187.3 kB / 0.734 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.443e-06/0.1878, allocations: 3.938 kB / 0.734 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.000557/0.1883, allocations: 329.5 kB / 0.7343 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.1884, allocations: 55.41 kB / 0.7344 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1886, allocations: 163.6 kB / 0.7345 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.1886, allocations: 41.7 kB / 0.7346 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.299e-05/0.1887, allocations: 117 kB / 0.7347 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.1888, allocations: 67.53 kB / 0.7348 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.1889, allocations: 94.05 kB / 0.7348 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1891, allocations: 330.8 kB / 0.7352 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.1893, allocations: 164.2 kB / 0.7353 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.1896, allocations: 237 kB / 0.7355 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.19, allocations: 278.9 kB / 0.7358 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.19, allocations: 0 / 0.7358 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006931/0.1907, allocations: 485.7 kB / 0.7363 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.67e-05/0.1907, allocations: 67.41 kB / 0.7363 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.1907, allocations: 7.938 kB / 0.7363 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.1907, allocations: 4 kB / 0.7363 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.815e-05/0.1908, allocations: 20.11 kB / 0.7364 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1908, allocations: 7.938 kB / 0.7364 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.1911, allocations: 75.72 kB / 0.7364 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.1912, allocations: 19.98 kB / 0.7365 GB, free: 9.047 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.0001601/0.1913, allocations: 157.1 kB / 0.7366 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.1914, allocations: 15.91 kB / 0.7366 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.1914, allocations: 21.95 kB / 0.7366 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1914, allocations: 0 / 0.7366 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1914, allocations: 3.938 kB / 0.7367 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1914, allocations: 4 kB / 0.7367 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007822/0.1922, allocations: 0.5577 MB / 0.7372 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1922, allocations: 0 / 0.7372 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.1923, allocations: 8 kB / 0.7372 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1923, allocations: 4 kB / 0.7372 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1923, allocations: 4 kB / 0.7372 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1923, allocations: 3.938 kB / 0.7372 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1923, allocations: 3.984 kB / 0.7372 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.1927, allocations: 368.4 kB / 0.7376 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.1927, allocations: 19.84 kB / 0.7376 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.1928, allocations: 7.984 kB / 0.7376 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.1929, allocations: 8 kB / 0.7376 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.1929, allocations: 15.97 kB / 0.7376 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.1929, allocations: 15.98 kB / 0.7376 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.333e-05/0.193, allocations: 105.6 kB / 0.7377 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.193, allocations: 4 kB / 0.7377 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003657/0.1934, allocations: 59.95 kB / 0.7378 GB, free: 7.621 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.0001599/0.1935, allocations: 117.2 kB / 0.7379 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005714/0.1941, allocations: 406.6 kB / 0.7383 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1941, allocations: 0 / 0.7383 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1942, allocations: 96.2 kB / 0.7384 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.1946, allocations: 39.91 kB / 0.7384 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.1952, allocations: 354.7 kB / 0.7388 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.1953, allocations: 104.4 kB / 0.7389 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.1953, allocations: 27.44 kB / 0.7389 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.1953, allocations: 0 / 0.7389 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of Templates: time 0.004868/0.2002, allocations: 2.584 MB / 0.7414 GB, free: 3.832 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.120270761661232] Failed to read output from testmodel.py, exit status != 0: 0.20826953509822488 0.22343183800000002 0.035378463 Calling exit ...