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.001368/0.001368, allocations: 92.22 kB / 20.43 MB, free: 4.137 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.001438/0.001438, allocations: 169 kB / 23.8 MB, free: 0.7656 MB / 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 0.9325/0.9325, allocations: 177.1 MB / 204.2 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.6289/0.6289, allocations: 115 MB / 375.7 MB, free: 7.656 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.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.355e-05, allocations: 4.703 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001725/0.001759, allocations: 0.7677 MB / 482.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.003216, allocations: 1.294 MB / 483.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.625e-05/0.003292, allocations: 1.094 kB / 483.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.248e-05/0.003334, allocations: 12.11 kB / 483.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.408e-05/0.003419, allocations: 14.72 kB / 483.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006668/0.004085, allocations: 245.5 kB / 483.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.004355, allocations: 251.2 kB / 484.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.004521, allocations: 45.28 kB / 484.1 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.004714, allocations: 140.1 kB / 484.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.00485, allocations: 85.02 kB / 484.4 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.449e-05/0.004894, allocations: 24.44 kB / 484.4 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-05/0.00499, allocations: 37.64 kB / 484.4 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.005032, allocations: 33.75 kB / 484.5 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.204e-05/0.005125, allocations: 79.58 kB / 484.5 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.005414, allocations: 200.6 kB / 484.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.005419, allocations: 0.875 kB / 484.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.005421, allocations: 1.125 kB / 484.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.005429, allocations: 0.625 kB / 484.7 MB, free: 10.01 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.0005992/0.006028, allocations: 0.5116 MB / 485.2 MB, free: 9.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.00607, allocations: 11.81 kB / 485.3 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.756e-05/0.006148, allocations: 29.12 kB / 485.3 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.006497, allocations: 178.7 kB / 485.5 MB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.006525, allocations: 14.28 kB / 485.5 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/0.006583, allocations: 23.73 kB / 485.5 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.006771, allocations: 97.58 kB / 485.6 MB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.006784, allocations: 1.562 kB / 485.6 MB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.006801, allocations: 9.156 kB / 485.6 MB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.006813, allocations: 7.844 kB / 485.6 MB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.954e-05/0.006903, allocations: 39.59 kB / 485.6 MB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008111/0.007714, allocations: 435.5 kB / 486.1 MB, free: 24.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.007934, allocations: 108.2 kB / 486.2 MB, free: 24.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.964e-05/0.008014, allocations: 44.83 kB / 486.2 MB, free: 24.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.008025, allocations: 3.281 kB / 486.2 MB, free: 24.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.008267, allocations: 176.3 kB / 486.4 MB, free: 24.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/0.008269, allocations: 0 / 486.4 MB, free: 24.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005627/0.008832, allocations: 300.2 kB / 486.7 MB, free: 24.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.008868, allocations: 57.47 kB / 486.7 MB, free: 24.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.009008, allocations: 218.8 kB / 487 MB, free: 24.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.009044, allocations: 43.67 kB / 487 MB, free: 24.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.009135, allocations: 158.2 kB / 487.2 MB, free: 24.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.009184, allocations: 66.89 kB / 487.2 MB, free: 24.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.009337, allocations: 106.6 kB / 487.3 MB, free: 24.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.009509, allocations: 0.5037 MB / 487.8 MB, free: 23.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.009732, allocations: 145.8 kB / 488 MB, free: 23.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.00997, allocations: 231.3 kB / 488.2 MB, free: 23.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.01029, allocations: 269.5 kB / 488.5 MB, free: 23.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.01029, allocations: 2.812 kB / 488.5 MB, free: 23.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007785/0.01107, allocations: 483.4 kB / 488.9 MB, free: 22.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.71e-05/0.01114, allocations: 63.86 kB / 489 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.01115, allocations: 2.719 kB / 489 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.01117, allocations: 3.969 kB / 489 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.586e-05/0.01122, allocations: 18.02 kB / 489 MB, free: 22.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.01122, allocations: 8.25 kB / 489 MB, free: 22.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.01158, allocations: 59.88 kB / 489.1 MB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.01163, allocations: 19.72 kB / 489.1 MB, free: 22.84 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.0001373/0.01177, allocations: 201.2 kB / 489.3 MB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.01181, allocations: 29.89 kB / 489.3 MB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.01185, allocations: 17.47 kB / 489.3 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.01186, allocations: 3.906 kB / 489.4 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.01187, allocations: 0 / 489.4 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.01187, allocations: 4.172 kB / 489.4 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.01246, allocations: 0.5817 MB / 489.9 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.01246, allocations: 4 kB / 489.9 MB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.01249, allocations: 12.03 kB / 490 MB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.01249, allocations: 2.062 kB / 490 MB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.0125, allocations: 10.09 kB / 490 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.01251, allocations: 2.188 kB / 490 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.01251, allocations: 1.406 kB / 490 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.01281, allocations: 394.3 kB / 490.4 MB, free: 21.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.01282, allocations: 22 kB / 490.4 MB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.01284, allocations: 10.62 kB / 490.4 MB, free: 21.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.187e-05/0.01288, allocations: 5.875 kB / 490.4 MB, free: 21.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.01292, allocations: 22.47 kB / 490.4 MB, free: 21.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.01294, allocations: 12.41 kB / 490.4 MB, free: 21.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.633e-05/0.013, allocations: 145.8 kB / 490.6 MB, free: 21.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.013, allocations: 5.219 kB / 490.6 MB, free: 21.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.01322, allocations: 62.52 kB / 490.6 MB, free: 21.82 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.0001362/0.01336, allocations: 112.6 kB / 490.7 MB, free: 21.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003691/0.01373, allocations: 399 kB / 491.1 MB, free: 21.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01373, allocations: 1.969 kB / 491.1 MB, free: 21.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.784e-05/0.01382, allocations: 93.33 kB / 491.2 MB, free: 21.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.01405, allocations: 42.5 kB / 491.3 MB, free: 21.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.01447, allocations: 309.6 kB / 491.6 MB, free: 21.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.237e-05/0.01451, allocations: 77 kB / 491.6 MB, free: 21.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.837e-05/0.01456, allocations: 28.33 kB / 491.7 MB, free: 21.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.01459, allocations: 23.69 kB / 491.7 MB, free: 21.15 MB / 426.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01459, allocations: 0 / 491.7 MB, free: 21.15 MB / 426.7 MB Notification: Performance of Templates: time 0.004734/0.01932, allocations: 2.847 MB / 494.5 MB, free: 20.9 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.6466312329284847]