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.000981/0.000981, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.001041/0.001041, allocations: 169 kB / 24.05 MB, free: 452 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 0.9942/0.9942, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.646/0.646, allocations: 115 MB / 376 MB, free: 7.492 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.474e-06/2.474e-06, allocations: 0 / 482 MB, free: 11.76 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.709e-05, allocations: 2.969 kB / 482 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001457/0.001484, allocations: 0.7515 MB / 482.7 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.002868, allocations: 1.29 MB / 484 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.002935, allocations: 3.531 kB / 484 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.00297, allocations: 11.3 kB / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.452e-05/0.003044, allocations: 17.84 kB / 484.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.003562, allocations: 249.8 kB / 484.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.0039, allocations: 252.3 kB / 484.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.004087, allocations: 36.69 kB / 484.6 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.004352, allocations: 157.3 kB / 484.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.004548, allocations: 76.77 kB / 484.8 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.904e-05/0.004607, allocations: 22.19 kB / 484.8 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.004724, allocations: 30.55 kB / 484.9 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.00478, allocations: 33.62 kB / 484.9 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.661e-05/0.004876, allocations: 70.47 kB / 485 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.005183, allocations: 185.3 kB / 485.2 MB, free: 9.906 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.005187, allocations: 1.781 kB / 485.2 MB, free: 9.906 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.005189, allocations: 0 / 485.2 MB, free: 9.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.005196, allocations: 1.031 kB / 485.2 MB, free: 9.906 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.0005719/0.005767, allocations: 0.5105 MB / 485.7 MB, free: 9.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.005812, allocations: 11.56 kB / 485.7 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.005879, allocations: 30.31 kB / 485.7 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.006038, allocations: 162.8 kB / 485.9 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.006057, allocations: 12.88 kB / 485.9 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.006086, allocations: 24.33 kB / 485.9 MB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.006204, allocations: 89.25 kB / 486 MB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.006212, allocations: 2.562 kB / 486 MB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.006223, allocations: 9.312 kB / 486 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.00623, allocations: 2.75 kB / 486 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.272e-05/0.006273, allocations: 33.58 kB / 486 MB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.006649, allocations: 418.5 kB / 486.4 MB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.006776, allocations: 103.8 kB / 486.5 MB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.006816, allocations: 36.23 kB / 486.6 MB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.006825, allocations: 2.969 kB / 486.6 MB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.006998, allocations: 167.2 kB / 486.7 MB, free: 8.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.483e-06/0.006999, allocations: 0 / 486.7 MB, free: 8.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003183/0.007317, allocations: 281.2 kB / 487 MB, free: 8.645 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.007348, allocations: 57.59 kB / 487.1 MB, free: 8.582 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.007603, allocations: 216 kB / 487.3 MB, free: 24.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.007627, allocations: 41.52 kB / 487.3 MB, free: 24.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.00769, allocations: 157.8 kB / 487.5 MB, free: 24.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.007721, allocations: 69.91 kB / 487.6 MB, free: 24.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.843e-05/0.007809, allocations: 106.8 kB / 487.7 MB, free: 24.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.007939, allocations: 0.4987 MB / 488.2 MB, free: 23.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.00805, allocations: 128.6 kB / 488.3 MB, free: 23.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.008181, allocations: 216.8 kB / 488.5 MB, free: 23.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.008353, allocations: 252.5 kB / 488.7 MB, free: 23.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.008356, allocations: 0 / 488.7 MB, free: 23.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000376/0.008732, allocations: 443.8 kB / 489.2 MB, free: 22.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.008769, allocations: 67.64 kB / 489.2 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.008776, allocations: 2.156 kB / 489.2 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.008792, allocations: 4.844 kB / 489.2 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.646e-05/0.008818, allocations: 18.28 kB / 489.3 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.008825, allocations: 12.17 kB / 489.3 MB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.00902, allocations: 59.81 kB / 489.3 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.009046, allocations: 20.53 kB / 489.4 MB, free: 22.82 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,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 0.000107/0.009153, allocations: 196 kB / 489.5 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.00918, allocations: 27.34 kB / 489.6 MB, free: 22.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.415e-05/0.009214, allocations: 22.59 kB / 489.6 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.009219, allocations: 5.812 kB / 489.6 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.009224, allocations: 1.375 kB / 489.6 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.009228, allocations: 0 / 489.6 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.009652, allocations: 0.5473 MB / 490.1 MB, free: 22.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.009655, allocations: 0 / 490.1 MB, free: 22.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/0.009667, allocations: 8.594 kB / 490.2 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.009671, allocations: 2.438 kB / 490.2 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.009681, allocations: 9.609 kB / 490.2 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.009682, allocations: 3.5 kB / 490.2 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.009684, allocations: 5.219 kB / 490.2 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.009947, allocations: 379.8 kB / 490.5 MB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.009962, allocations: 21.41 kB / 490.6 MB, free: 22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.009976, allocations: 5.5 kB / 490.6 MB, free: 21.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.01002, allocations: 8.25 kB / 490.6 MB, free: 21.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.01006, allocations: 25.64 kB / 490.6 MB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.01007, allocations: 7.406 kB / 490.6 MB, free: 21.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.352e-05/0.01012, allocations: 147.5 kB / 490.8 MB, free: 21.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01012, allocations: 0.6875 kB / 490.8 MB, free: 21.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.01035, allocations: 60.64 kB / 490.8 MB, free: 21.84 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.0001211/0.01047, allocations: 114.7 kB / 490.9 MB, free: 21.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.01077, allocations: 372.9 kB / 491.3 MB, free: 21.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.01077, allocations: 0 / 491.3 MB, free: 21.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/0.01086, allocations: 92.27 kB / 491.4 MB, free: 21.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.01107, allocations: 28.27 kB / 491.4 MB, free: 21.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.01144, allocations: 298.5 kB / 491.7 MB, free: 21.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.01148, allocations: 76.75 kB / 491.8 MB, free: 21.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.731e-05/0.01153, allocations: 26.69 kB / 491.8 MB, free: 21.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.01166, allocations: 124.8 kB / 491.9 MB, free: 21.14 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01166, allocations: 0.5625 kB / 491.9 MB, free: 21.14 MB / 426.7 MB Notification: Performance of Templates: time 0.005343/0.017, allocations: 3.066 MB / 495 MB, free: 20.85 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.4976631295867264]