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.001412/0.001412, allocations: 92.72 kB / 20.21 MB, free: 4.219 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.001586/0.001586, allocations: 157.7 kB / 23.52 MB, free: 0.9141 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 1.484/1.484, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.9817/0.9817, allocations: 115 MB / 375.3 MB, free: 7.59 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 3.016e-06/3.016e-06, allocations: 0 / 480.8 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.75e-05/4.052e-05, allocations: 5.312 kB / 480.8 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002298/0.002338, allocations: 0.7408 MB / 481.5 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.004114, allocations: 1.269 MB / 482.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.004228, allocations: 3.812 kB / 482.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.34e-05/0.004281, allocations: 11.06 kB / 482.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.004382, allocations: 14.81 kB / 482.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007856/0.005168, allocations: 243.8 kB / 483.1 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.005542, allocations: 252.4 kB / 483.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.005708, allocations: 36.73 kB / 483.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.006, allocations: 153.2 kB / 483.5 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.006195, allocations: 78.25 kB / 483.6 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.358e-05/0.006279, allocations: 23.84 kB / 483.6 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.006394, allocations: 43.78 kB / 483.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.006438, allocations: 32.7 kB / 483.7 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.006565, allocations: 75.77 kB / 483.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.006992, allocations: 283.7 kB / 484 MB, free: 9.949 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.006996, allocations: 1.062 kB / 484 MB, free: 9.949 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.006998, allocations: 0.5 kB / 484 MB, free: 9.949 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.007011, allocations: 1.812 kB / 484 MB, free: 9.949 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.0007506/0.007762, allocations: 417.5 kB / 484.4 MB, free: 9.574 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.007806, allocations: 9.844 kB / 484.4 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.007933, allocations: 30.16 kB / 484.5 MB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.008477, allocations: 183.2 kB / 484.7 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.008507, allocations: 13.06 kB / 484.7 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.008562, allocations: 23.94 kB / 484.7 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.008782, allocations: 110 kB / 484.8 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.008793, allocations: 0.9062 kB / 484.8 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.008812, allocations: 9.641 kB / 484.8 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.008822, allocations: 9.25 kB / 484.8 MB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.008941, allocations: 55.48 kB / 484.9 MB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006219/0.009563, allocations: 380.8 kB / 485.2 MB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.009798, allocations: 124.5 kB / 485.4 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.026e-05/0.009888, allocations: 54.78 kB / 485.4 MB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.009905, allocations: 2.812 kB / 485.4 MB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003588/0.01026, allocations: 177.7 kB / 485.6 MB, free: 8.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.01027, allocations: 0.5625 kB / 485.6 MB, free: 8.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006303/0.0109, allocations: 358.7 kB / 485.9 MB, free: 8.727 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.01094, allocations: 60 kB / 486 MB, free: 8.664 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.01131, allocations: 158.8 kB / 486.2 MB, free: 24.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.01135, allocations: 40.28 kB / 486.2 MB, free: 24.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.01146, allocations: 108.6 kB / 486.3 MB, free: 24.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.01151, allocations: 65.09 kB / 486.4 MB, free: 24.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.01167, allocations: 99.17 kB / 486.5 MB, free: 24.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.01187, allocations: 332.7 kB / 486.8 MB, free: 23.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.01214, allocations: 168.5 kB / 487 MB, free: 23.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.01241, allocations: 238.2 kB / 487.2 MB, free: 23.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.01277, allocations: 282.3 kB / 487.5 MB, free: 23.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.01277, allocations: 3.094 kB / 487.5 MB, free: 23.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007759/0.01355, allocations: 0.4973 MB / 488 MB, free: 23.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.521e-05/0.0136, allocations: 65.05 kB / 488 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.01361, allocations: 2.156 kB / 488 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/0.01365, allocations: 2.781 kB / 488 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.0137, allocations: 20.06 kB / 488 MB, free: 23.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.01371, allocations: 2.688 kB / 488 MB, free: 23.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.01409, allocations: 70.69 kB / 488.1 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.01414, allocations: 23.78 kB / 488.1 MB, free: 23.13 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.0001947/0.01434, allocations: 160.3 kB / 488.3 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.01439, allocations: 27 kB / 488.3 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.01444, allocations: 24.38 kB / 488.3 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.01444, allocations: 3.625 kB / 488.4 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.01445, allocations: 2.188 kB / 488.4 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01446, allocations: 0 / 488.4 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008379/0.01529, allocations: 0.5444 MB / 488.9 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.0153, allocations: 0.5625 kB / 488.9 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.01533, allocations: 11.95 kB / 488.9 MB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.01534, allocations: 5.344 kB / 488.9 MB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/0.01536, allocations: 6.375 kB / 488.9 MB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.01536, allocations: 4.312 kB / 488.9 MB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01536, allocations: 3.375 kB / 488.9 MB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.0159, allocations: 372.1 kB / 489.3 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.01595, allocations: 14.72 kB / 489.3 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.01598, allocations: 12.89 kB / 489.3 MB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.01605, allocations: 13.31 kB / 489.3 MB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.01613, allocations: 19.12 kB / 489.4 MB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.01617, allocations: 13.31 kB / 489.4 MB, free: 22.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.01628, allocations: 106.6 kB / 489.5 MB, free: 22.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01628, allocations: 0.9062 kB / 489.5 MB, free: 22.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004144/0.01669, allocations: 65.33 kB / 489.5 MB, free: 22.27 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.0002673/0.01696, allocations: 123.8 kB / 489.7 MB, free: 22.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007172/0.01768, allocations: 410 kB / 490.1 MB, free: 21.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.01768, allocations: 0 / 490.1 MB, free: 21.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.01785, allocations: 96.34 kB / 490.1 MB, free: 21.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.01824, allocations: 40.61 kB / 490.2 MB, free: 21.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/0.01891, allocations: 326 kB / 490.5 MB, free: 21.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.01903, allocations: 111.8 kB / 490.6 MB, free: 21.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.721e-05/0.0191, allocations: 23.64 kB / 490.6 MB, free: 21.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.01915, allocations: 22.16 kB / 490.7 MB, free: 21.55 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01915, allocations: 3.531 kB / 490.7 MB, free: 21.55 MB / 426.7 MB Notification: Performance of Templates: time 0.008066/0.02722, allocations: 2.862 MB / 493.5 MB, free: 21.29 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.531844464014284]