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.0006559/0.0006559, allocations: 72.19 kB / 9.907 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008711/0.001527, allocations: 447.8 kB / 10.34 MB, free: 348 kB / 10.45 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.0006855/0.0006855, allocations: 161.1 kB / 11.23 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008629/0.001548, allocations: 463.6 kB / 11.69 MB, free: 2.477 MB / 13.93 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.9551/0.9551, allocations: 177.1 MB / 189.6 MB, free: 3.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.183/1.138, allocations: 53.66 MB / 243.2 MB, free: 2.352 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6518/0.6518, allocations: 119.1 MB / 363.1 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07958/0.7314, allocations: 37.84 MB / 400.9 MB, free: 15.28 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.593e-06/1.593e-06, allocations: 0 / 402.2 MB, free: 13.96 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.845e-05, allocations: 5.828 kB / 402.2 MB, free: 13.96 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001259/0.001277, allocations: 0.8086 MB / 403 MB, free: 13.15 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.002413, allocations: 1.279 MB / 404.3 MB, free: 11.86 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.002469, allocations: 4 kB / 404.3 MB, free: 11.85 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.0025, allocations: 15.8 kB / 404.3 MB, free: 11.84 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.109e-05/0.002541, allocations: 11.81 kB / 404.4 MB, free: 11.82 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.002935, allocations: 243.4 kB / 404.6 MB, free: 11.59 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.003169, allocations: 247.6 kB / 404.8 MB, free: 11.34 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.003284, allocations: 41.8 kB / 404.9 MB, free: 11.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.00344, allocations: 159.7 kB / 405 MB, free: 11.14 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.003556, allocations: 75.8 kB / 405.1 MB, free: 11.07 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.003586, allocations: 24 kB / 405.1 MB, free: 11.05 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.165e-05/0.003657, allocations: 27.98 kB / 405.2 MB, free: 11.02 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.003683, allocations: 23.94 kB / 405.2 MB, free: 11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.109e-05/0.003734, allocations: 55.92 kB / 405.2 MB, free: 10.94 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.003899, allocations: 147.5 kB / 405.4 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.00391, allocations: 0 / 405.4 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003911, allocations: 0 / 405.4 MB, free: 10.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.003922, allocations: 3.938 kB / 405.4 MB, free: 10.79 MB / 394.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.0004303/0.004352, allocations: 427.4 kB / 405.8 MB, free: 10.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.004381, allocations: 11.89 kB / 405.8 MB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.004424, allocations: 28.91 kB / 405.8 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.004572, allocations: 143.9 kB / 406 MB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.004586, allocations: 12.38 kB / 406 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.00461, allocations: 24.38 kB / 406 MB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.192e-05/0.004702, allocations: 94.11 kB / 406.1 MB, free: 10 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.004708, allocations: 192 / 406.1 MB, free: 10 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.004718, allocations: 4.375 kB / 406.1 MB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.004722, allocations: 4.375 kB / 406.1 MB, free: 9.992 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.589e-05/0.004758, allocations: 39.12 kB / 406.2 MB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.005061, allocations: 264 kB / 406.4 MB, free: 9.684 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.00517, allocations: 90.39 kB / 406.5 MB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.0052, allocations: 32.84 kB / 406.5 MB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-06/0.005205, allocations: 0 / 406.5 MB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.005351, allocations: 163.1 kB / 406.7 MB, free: 9.379 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 1.123e-06/0.005352, allocations: 0 / 406.7 MB, free: 9.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.0001839/0.005535, allocations: 185.5 kB / 406.9 MB, free: 9.191 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.005569, allocations: 55.41 kB / 406.9 MB, free: 9.125 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.818e-05/0.005647, allocations: 165.1 kB / 407.1 MB, free: 8.953 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.005674, allocations: 45.7 kB / 407.1 MB, free: 8.902 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.005717, allocations: 105 kB / 407.2 MB, free: 8.797 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.005753, allocations: 63.52 kB / 407.3 MB, free: 8.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.201e-05/0.005835, allocations: 101.9 kB / 407.4 MB, free: 8.629 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.005908, allocations: 338.7 kB / 407.7 MB, free: 8.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.653e-05/0.005994, allocations: 116.2 kB / 407.8 MB, free: 8.164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.00611, allocations: 193.4 kB / 408 MB, free: 7.938 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.006257, allocations: 234.7 kB / 408.3 MB, free: 7.672 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.006261, allocations: 3.938 kB / 408.3 MB, free: 7.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002551/0.006516, allocations: 365.1 kB / 408.6 MB, free: 7.281 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.00656, allocations: 75.33 kB / 408.7 MB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006565, allocations: 0 / 408.7 MB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.006573, allocations: 4 kB / 408.7 MB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.404e-05/0.006608, allocations: 24.11 kB / 408.7 MB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.006612, allocations: 8 kB / 408.7 MB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.006779, allocations: 55.78 kB / 408.8 MB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.0068, allocations: 16 kB / 408.8 MB, free: 7.09 MB / 394.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 8.797e-05/0.006888, allocations: 153.7 kB / 409 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.006907, allocations: 19.98 kB / 409 MB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.006937, allocations: 21.97 kB / 409 MB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.006941, allocations: 7.984 kB / 409 MB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.006944, allocations: 4 kB / 409 MB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.006947, allocations: 0 / 409 MB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.00728, allocations: 394.7 kB / 409.4 MB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.007282, allocations: 0 / 409.4 MB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.007298, allocations: 7.984 kB / 409.4 MB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.00731, allocations: 19.84 kB / 409.4 MB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.007313, allocations: 4 kB / 409.4 MB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.517e-06/0.007321, allocations: 8 kB / 409.4 MB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.007324, allocations: 3.938 kB / 409.4 MB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007325, allocations: 3.938 kB / 409.4 MB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.007455, allocations: 245.7 kB / 409.7 MB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.007469, allocations: 8 kB / 409.7 MB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.738e-05/0.007506, allocations: 4 kB / 409.7 MB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.007538, allocations: 23.89 kB / 409.7 MB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.007553, allocations: 8 kB / 409.7 MB, free: 6.121 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.163e-05/0.007575, allocations: 24.83 kB / 409.7 MB, free: 6.094 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007575, allocations: 0 / 409.7 MB, free: 6.094 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.00775, allocations: 68 kB / 409.8 MB, free: 6.027 MB / 394.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 9.865e-05/0.007849, allocations: 98.28 kB / 409.9 MB, free: 5.922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.008102, allocations: 364.5 kB / 410.3 MB, free: 5.523 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.008109, allocations: 4 kB / 410.3 MB, free: 5.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.524e-05/0.008165, allocations: 76.69 kB / 410.3 MB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.008332, allocations: 51.45 kB / 410.4 MB, free: 5.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.008828, allocations: 302 kB / 410.7 MB, free: 5.074 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.141e-05/0.00887, allocations: 76.81 kB / 410.8 MB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.523e-05/0.008915, allocations: 26.28 kB / 410.8 MB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.009036, allocations: 95.34 kB / 410.9 MB, free: 4.859 MB / 394.7 MB Notification: Performance of SimCode: time 6.52e-07/0.009037, allocations: 0 / 410.9 MB, free: 4.859 MB / 394.7 MB Notification: Performance of Templates: time 0.004301/0.01334, allocations: 3.138 MB / 414 MB, free: 1.781 MB / 394.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.301052387803793]