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.0008906/0.0008906, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.00101/0.00101, allocations: 173 kB / 24.25 MB, free: 304 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 1.037/1.037, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.6681/0.6681, allocations: 115 MB / 376 MB, free: 7.664 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 2.856e-06/2.856e-06, allocations: 0 / 481.5 MB, free: 11.98 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.293e-05, allocations: 2.312 kB / 481.5 MB, free: 11.98 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002292/0.002325, allocations: 0.7545 MB / 482.3 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.004019, allocations: 1.289 MB / 483.6 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.671e-05/0.004096, allocations: 2.75 kB / 483.6 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.581e-05/0.004141, allocations: 11.16 kB / 483.6 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.425e-05/0.004226, allocations: 15.69 kB / 483.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.004914, allocations: 242.9 kB / 483.8 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.00522, allocations: 256.9 kB / 484.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.005382, allocations: 41.27 kB / 484.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.005578, allocations: 141.9 kB / 484.3 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.005736, allocations: 80.03 kB / 484.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.328e-05/0.00579, allocations: 24.88 kB / 484.4 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.005891, allocations: 42.92 kB / 484.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.005932, allocations: 36.8 kB / 484.4 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.972e-05/0.006032, allocations: 72.98 kB / 484.5 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.006321, allocations: 199.5 kB / 484.7 MB, free: 10.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.006325, allocations: 1.375 kB / 484.7 MB, free: 10.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.006327, allocations: 1.219 kB / 484.7 MB, free: 10.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.006332, allocations: 0 / 484.7 MB, free: 10.12 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.0005991/0.006932, allocations: 0.5158 MB / 485.2 MB, free: 9.637 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.006979, allocations: 9.969 kB / 485.2 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.007083, allocations: 27.19 kB / 485.3 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.007536, allocations: 182.2 kB / 485.4 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.007563, allocations: 13.22 kB / 485.5 MB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.007609, allocations: 25.14 kB / 485.5 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.007803, allocations: 97.98 kB / 485.6 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.007816, allocations: 192 / 485.6 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.007834, allocations: 11.58 kB / 485.6 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.007845, allocations: 10.75 kB / 485.6 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.991e-05/0.007945, allocations: 38.38 kB / 485.6 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/0.008549, allocations: 438 kB / 486.1 MB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.008773, allocations: 106.8 kB / 486.2 MB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.061e-05/0.008864, allocations: 47.67 kB / 486.2 MB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.008875, allocations: 2.5 kB / 486.2 MB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/0.00914, allocations: 168 kB / 486.4 MB, free: 8.906 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.009142, allocations: 2.156 kB / 486.4 MB, free: 8.906 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.000581/0.009723, allocations: 299.3 kB / 486.7 MB, free: 8.812 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.009778, allocations: 61.08 kB / 486.7 MB, free: 8.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.01013, allocations: 214.2 kB / 486.9 MB, free: 24.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.01018, allocations: 39.45 kB / 487 MB, free: 24.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.083e-05/0.01027, allocations: 162.2 kB / 487.1 MB, free: 24.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.01032, allocations: 68.38 kB / 487.2 MB, free: 24.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.01045, allocations: 107.9 kB / 487.3 MB, free: 24.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.01062, allocations: 0.5072 MB / 487.8 MB, free: 23.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.01084, allocations: 145.7 kB / 488 MB, free: 23.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.01105, allocations: 232 kB / 488.2 MB, free: 23.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.0113, allocations: 265.6 kB / 488.5 MB, free: 23.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.01131, allocations: 1.562 kB / 488.5 MB, free: 23.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00047/0.01178, allocations: 483.6 kB / 488.9 MB, free: 23.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.01182, allocations: 62.83 kB / 489 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01182, allocations: 2 kB / 489 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.01184, allocations: 4.812 kB / 489 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.098e-05/0.01187, allocations: 18.02 kB / 489 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.01188, allocations: 3.75 kB / 489 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.01208, allocations: 64.25 kB / 489.1 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.01211, allocations: 22.03 kB / 489.1 MB, free: 22.96 MB / 426.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,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.0001134/0.01222, allocations: 199.9 kB / 489.3 MB, free: 22.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.01225, allocations: 27.91 kB / 489.3 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.01229, allocations: 25.62 kB / 489.3 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.01229, allocations: 2.312 kB / 489.3 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.0123, allocations: 1.125 kB / 489.3 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01231, allocations: 0 / 489.3 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005472/0.01285, allocations: 0.581 MB / 489.9 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.01286, allocations: 5.094 kB / 489.9 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.56e-05/0.01287, allocations: 8.344 kB / 489.9 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.01288, allocations: 4.234 kB / 489.9 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.01289, allocations: 10.84 kB / 490 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01289, allocations: 2.531 kB / 490 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01289, allocations: 0 / 490 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.01318, allocations: 395.1 kB / 490.3 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.01319, allocations: 21.89 kB / 490.4 MB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.01321, allocations: 10.66 kB / 490.4 MB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.329e-05/0.01326, allocations: 6.219 kB / 490.4 MB, free: 22.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.0133, allocations: 25.2 kB / 490.4 MB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.01333, allocations: 16.98 kB / 490.4 MB, free: 22.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.733e-05/0.01338, allocations: 138.3 kB / 490.6 MB, free: 21.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01338, allocations: 4.781 kB / 490.6 MB, free: 21.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.01363, allocations: 64.77 kB / 490.6 MB, free: 21.93 MB / 426.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.0001782/0.01381, allocations: 114.9 kB / 490.7 MB, free: 21.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004048/0.01421, allocations: 401 kB / 491.1 MB, free: 21.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01421, allocations: 0 / 491.1 MB, free: 21.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.877e-05/0.01431, allocations: 100.4 kB / 491.2 MB, free: 21.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.01458, allocations: 35.72 kB / 491.3 MB, free: 21.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.01504, allocations: 307.3 kB / 491.6 MB, free: 21.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.481e-05/0.01508, allocations: 78.48 kB / 491.6 MB, free: 21.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.491e-05/0.01514, allocations: 22.84 kB / 491.7 MB, free: 21.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.01517, allocations: 22.53 kB / 491.7 MB, free: 21.27 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01517, allocations: 0 / 491.7 MB, free: 21.27 MB / 426.7 MB Notification: Performance of Templates: time 0.005109/0.02028, allocations: 2.868 MB / 494.6 MB, free: 21 MB / 426.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.5894343450199813]