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.000962/0.000962, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001144/0.001144, allocations: 169 kB / 24.14 MB, free: 360 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.9873/0.9873, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.6318/0.6318, allocations: 115 MB / 376 MB, free: 7.504 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.545e-06/2.545e-06, allocations: 0 / 428.8 MB, free: 2.758 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.137e-05, allocations: 6.312 kB / 428.8 MB, free: 2.75 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002628/0.002659, allocations: 0.801 MB / 429.6 MB, free: 1.949 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.004488, allocations: 1.295 MB / 430.9 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.23e-05/0.00456, allocations: 0 / 430.9 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 4.451e-05/0.004604, allocations: 11.86 kB / 430.9 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 9.047e-05/0.004695, allocations: 19.8 kB / 430.9 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007261/0.005421, allocations: 243.4 kB / 431.1 MB, free: 380 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.00576, allocations: 255.6 kB / 431.4 MB, free: 124 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.005906, allocations: 45.91 kB / 431.4 MB, free: 76 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.006171, allocations: 147.8 kB / 431.6 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.006336, allocations: 75.73 kB / 431.7 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.006376, allocations: 24 kB / 431.7 MB, free: 15.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.006478, allocations: 35.98 kB / 431.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.006517, allocations: 35.89 kB / 431.7 MB, free: 15.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.728e-05/0.006595, allocations: 67.88 kB / 431.8 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.006856, allocations: 179.4 kB / 432 MB, free: 15.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.006859, allocations: 0 / 432 MB, free: 15.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.00686, allocations: 0 / 432 MB, free: 15.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.006865, allocations: 3.938 kB / 432 MB, free: 15.52 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.0005077/0.007373, allocations: 395.8 kB / 432.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.007411, allocations: 12.03 kB / 432.4 MB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.007473, allocations: 32.91 kB / 432.4 MB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.007683, allocations: 137.7 kB / 432.6 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.007706, allocations: 16.36 kB / 432.6 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.007739, allocations: 20.38 kB / 432.6 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.007879, allocations: 98.05 kB / 432.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.007887, allocations: 192 / 432.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.007903, allocations: 12.36 kB / 432.7 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.00791, allocations: 384 / 432.7 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.027e-05/0.00796, allocations: 31.92 kB / 432.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.008439, allocations: 263.9 kB / 433 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.008613, allocations: 86.45 kB / 433.1 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.008662, allocations: 32.83 kB / 433.1 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.008674, allocations: 4 kB / 433.1 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.008903, allocations: 151.1 kB / 433.3 MB, free: 14.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.655e-06/0.008906, allocations: 4 kB / 433.3 MB, free: 14.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002856/0.009191, allocations: 178.4 kB / 433.4 MB, free: 13.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.009235, allocations: 63.34 kB / 433.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.009354, allocations: 166.4 kB / 433.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.009389, allocations: 37.7 kB / 433.7 MB, free: 13.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.009456, allocations: 105 kB / 433.8 MB, free: 13.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.009511, allocations: 79.39 kB / 433.9 MB, free: 13.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.009639, allocations: 97.94 kB / 434 MB, free: 13.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.009751, allocations: 330.8 kB / 434.3 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.00989, allocations: 120.2 kB / 434.4 MB, free: 12.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.01005, allocations: 189.4 kB / 434.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.01028, allocations: 230.7 kB / 434.8 MB, free: 12.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.01028, allocations: 3.938 kB / 434.8 MB, free: 12.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004191/0.0107, allocations: 357.1 kB / 435.2 MB, free: 12.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.547e-05/0.01077, allocations: 71.58 kB / 435.2 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.01077, allocations: 4 kB / 435.3 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.01079, allocations: 4 kB / 435.3 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.014e-05/0.01084, allocations: 23.92 kB / 435.3 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.01085, allocations: 4 kB / 435.3 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.01112, allocations: 55.8 kB / 435.3 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.01115, allocations: 16 kB / 435.4 MB, free: 11.86 MB / 410.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.000143/0.01129, allocations: 157.6 kB / 435.5 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.01133, allocations: 19.98 kB / 435.5 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.01137, allocations: 17.97 kB / 435.5 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.01137, allocations: 4 kB / 435.5 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01138, allocations: 0 / 435.5 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.01138, allocations: 3.984 kB / 435.6 MB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.01187, allocations: 382.8 kB / 435.9 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01187, allocations: 4 kB / 435.9 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.01189, allocations: 7.938 kB / 435.9 MB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.0119, allocations: 4 kB / 435.9 MB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.01191, allocations: 7.984 kB / 436 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.01191, allocations: 4 kB / 436 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01191, allocations: 0 / 436 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.01213, allocations: 248.4 kB / 436.2 MB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.01215, allocations: 19.83 kB / 436.2 MB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.01217, allocations: 7.984 kB / 436.2 MB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.792e-05/0.01223, allocations: 11.94 kB / 436.2 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.01228, allocations: 23.84 kB / 436.3 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.0123, allocations: 15.98 kB / 436.3 MB, free: 10.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.223e-05/0.01233, allocations: 28.58 kB / 436.3 MB, free: 10.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01233, allocations: 0 / 436.3 MB, free: 10.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003031/0.01264, allocations: 64 kB / 436.4 MB, free: 10.8 MB / 410.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.0001503/0.01279, allocations: 90.41 kB / 436.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003668/0.01315, allocations: 369.2 kB / 436.8 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.01316, allocations: 384 / 436.8 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.001e-05/0.01325, allocations: 84.73 kB / 436.9 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.0135, allocations: 27.97 kB / 436.9 MB, free: 10.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.01397, allocations: 301.7 kB / 437.2 MB, free: 9.867 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.019e-05/0.01403, allocations: 76.97 kB / 437.3 MB, free: 9.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.39e-05/0.01409, allocations: 22.28 kB / 437.3 MB, free: 9.746 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.01425, allocations: 107.3 kB / 437.4 MB, free: 9.641 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01425, allocations: 0 / 437.4 MB, free: 9.641 MB / 410.7 MB Notification: Performance of Templates: time 0.006475/0.02072, allocations: 3.072 MB / 440.5 MB, free: 6.594 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5130493179894984]