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.0006606/0.0006606, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008809/0.001541, allocations: 452 kB / 10.43 MB, free: 268 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.001443/0.001443, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001519/0.002962, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9268/0.9268, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08016/1.007, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.6058/0.6058, allocations: 120.1 MB / 364.2 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06161/0.6674, allocations: 38.16 MB / 402.4 MB, free: 12.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.864e-06/1.864e-06, allocations: 0 / 403.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.442e-05, allocations: 2.312 kB / 403.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001514/0.001538, allocations: 0.8049 MB / 404.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.002633, allocations: 1.279 MB / 405.8 MB, free: 8.836 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.002676, allocations: 4 kB / 405.8 MB, free: 8.832 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.002705, allocations: 11.86 kB / 405.8 MB, free: 8.82 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.095e-05/0.002746, allocations: 19.8 kB / 405.9 MB, free: 8.801 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.003096, allocations: 239.4 kB / 406.1 MB, free: 8.566 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.003313, allocations: 255.6 kB / 406.3 MB, free: 8.316 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.003408, allocations: 41.92 kB / 406.4 MB, free: 8.277 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.003557, allocations: 159.7 kB / 406.5 MB, free: 8.121 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.003683, allocations: 71.81 kB / 406.6 MB, free: 8.051 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.003714, allocations: 20 kB / 406.6 MB, free: 8.031 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.513e-05/0.003799, allocations: 39.97 kB / 406.7 MB, free: 7.992 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.003832, allocations: 19.94 kB / 406.7 MB, free: 7.973 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.003889, allocations: 51.92 kB / 406.7 MB, free: 7.922 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.004068, allocations: 147.5 kB / 406.9 MB, free: 7.777 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.004079, allocations: 4 kB / 406.9 MB, free: 7.773 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.00408, allocations: 3.938 kB / 406.9 MB, free: 7.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.004092, allocations: 0 / 406.9 MB, free: 7.77 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.0004928/0.004584, allocations: 423.4 kB / 407.3 MB, free: 7.316 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.619e-05/0.004611, allocations: 8.031 kB / 407.3 MB, free: 7.309 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.004656, allocations: 32.91 kB / 407.3 MB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.004791, allocations: 141.6 kB / 407.5 MB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.004804, allocations: 12.38 kB / 407.5 MB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.004829, allocations: 24.38 kB / 407.5 MB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.246e-05/0.004921, allocations: 98.11 kB / 407.6 MB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.004928, allocations: 192 / 407.6 MB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.004936, allocations: 384 / 407.6 MB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.004942, allocations: 4.375 kB / 407.6 MB, free: 6.973 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.112e-05/0.004973, allocations: 27.92 kB / 407.6 MB, free: 6.945 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.005291, allocations: 267.9 kB / 407.9 MB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.005393, allocations: 94.38 kB / 408 MB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.005423, allocations: 28.84 kB / 408 MB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.00543, allocations: 8 kB / 408 MB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.005567, allocations: 155.1 kB / 408.2 MB, free: 6.363 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 1.002e-06/0.005568, allocations: 0 / 408.2 MB, free: 6.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.000181/0.005749, allocations: 173.6 kB / 408.4 MB, free: 6.188 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.005782, allocations: 63.41 kB / 408.4 MB, free: 6.113 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.664e-05/0.005858, allocations: 158.5 kB / 408.6 MB, free: 5.945 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.005884, allocations: 37.7 kB / 408.6 MB, free: 5.902 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.005932, allocations: 105 kB / 408.7 MB, free: 5.797 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.005969, allocations: 83.39 kB / 408.8 MB, free: 5.715 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.006051, allocations: 94 kB / 408.9 MB, free: 5.613 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.006133, allocations: 334.8 kB / 409.2 MB, free: 5.277 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.892e-05/0.006222, allocations: 120.2 kB / 409.3 MB, free: 5.148 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.00633, allocations: 189.4 kB / 409.5 MB, free: 4.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.006487, allocations: 245.8 kB / 409.8 MB, free: 4.652 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.00649, allocations: 3.938 kB / 409.8 MB, free: 4.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002679/0.006758, allocations: 369.1 kB / 410.1 MB, free: 4.258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.006805, allocations: 67.39 kB / 410.2 MB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.00681, allocations: 0 / 410.2 MB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.006821, allocations: 7.938 kB / 410.2 MB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.129e-05/0.006853, allocations: 19.94 kB / 410.2 MB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.006858, allocations: 7.984 kB / 410.2 MB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.007024, allocations: 59.94 kB / 410.3 MB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.007051, allocations: 23.92 kB / 410.3 MB, free: 4.062 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 9.089e-05/0.007142, allocations: 153.7 kB / 410.5 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.00716, allocations: 19.98 kB / 410.5 MB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.007193, allocations: 21.95 kB / 410.5 MB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.007196, allocations: 4 kB / 410.5 MB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.007198, allocations: 4 kB / 410.5 MB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.007202, allocations: 0 / 410.5 MB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.007514, allocations: 383.9 kB / 410.9 MB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.007516, allocations: 0 / 410.9 MB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.836e-05/0.007534, allocations: 19.92 kB / 410.9 MB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.007545, allocations: 15.84 kB / 410.9 MB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.007547, allocations: 4 kB / 410.9 MB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.007556, allocations: 7.984 kB / 410.9 MB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.007559, allocations: 7.938 kB / 410.9 MB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.00756, allocations: 0 / 410.9 MB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.007686, allocations: 236.7 kB / 411.2 MB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.007698, allocations: 8 kB / 411.2 MB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-05/0.007736, allocations: 7.938 kB / 411.2 MB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.00777, allocations: 31.88 kB / 411.2 MB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.007783, allocations: 8 kB / 411.2 MB, free: 3.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.23e-05/0.007805, allocations: 29.36 kB / 411.2 MB, free: 3.059 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007806, allocations: 0 / 411.2 MB, free: 3.059 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.007975, allocations: 67.94 kB / 411.3 MB, free: 2.992 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 0.0001273/0.008103, allocations: 98.34 kB / 411.4 MB, free: 2.887 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.008364, allocations: 360.5 kB / 411.8 MB, free: 2.492 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.008371, allocations: 4 kB / 411.8 MB, free: 2.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.389e-05/0.008435, allocations: 92.92 kB / 411.9 MB, free: 2.395 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.008645, allocations: 147.3 kB / 412 MB, free: 2.227 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.009151, allocations: 318.4 kB / 412.3 MB, free: 1.891 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.872e-05/0.00919, allocations: 72.95 kB / 412.4 MB, free: 1.797 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.242e-05/0.009232, allocations: 22.28 kB / 412.4 MB, free: 1.777 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.009341, allocations: 99.34 kB / 412.5 MB, free: 1.68 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009341, allocations: 0 / 412.5 MB, free: 1.68 MB / 394.7 MB Notification: Performance of Templates: time 0.004097/0.01344, allocations: 3.057 MB / 415.6 MB, free: 14.61 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.022793316282332]