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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 111 kB / 17.76 MB, free: 5.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 186.9 kB / 20.69 MB, free: 2.395 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 246.4 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.075/1.075, allocations: 147.6 MB / 446.2 MB, free: 8.492 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001939/0.001939, allocations: 66.58 kB / 0.612 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1602, allocations: 83.16 MB / 0.6933 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002077/0.1623, allocations: 0.7461 MB / 0.694 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.1642, allocations: 1.249 MB / 0.6952 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.1643, allocations: 3.25 kB / 0.6952 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.394e-05/0.1644, allocations: 11.81 kB / 0.6952 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.243e-05/0.1645, allocations: 17.8 kB / 0.6952 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007678/0.1653, allocations: 255.2 kB / 0.6955 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.1656, allocations: 265.7 kB / 0.6957 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.1658, allocations: 53.7 kB / 0.6958 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.1659, allocations: 102.4 kB / 0.6959 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1661, allocations: 102.9 kB / 0.696 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.943e-05/0.1661, allocations: 29.53 kB / 0.696 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1662, allocations: 38.23 kB / 0.696 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.1663, allocations: 35.81 kB / 0.6961 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.1664, allocations: 98.02 kB / 0.6962 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.1668, allocations: 246.8 kB / 0.6964 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1668, allocations: 3.984 kB / 0.6964 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1668, allocations: 1.312 kB / 0.6964 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.1668, allocations: 0 / 0.6964 GB, free: 10.73 MB / 0.5137 GB 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.0007946/0.1676, allocations: 497.8 kB / 0.6969 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1677, allocations: 8.812 kB / 0.6969 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.452e-05/0.1678, allocations: 24.5 kB / 0.6969 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/0.1683, allocations: 238.6 kB / 0.6971 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.1684, allocations: 12.69 kB / 0.6972 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/0.1684, allocations: 29.36 kB / 0.6972 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.1687, allocations: 129.7 kB / 0.6973 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1687, allocations: 3.938 kB / 0.6973 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.1687, allocations: 5.547 kB / 0.6973 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1688, allocations: 6.625 kB / 0.6973 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.1689, allocations: 75.45 kB / 0.6974 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006774/0.1696, allocations: 451.2 kB / 0.6978 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.1698, allocations: 101.8 kB / 0.6979 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.1699, allocations: 40.88 kB / 0.698 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.1699, allocations: 0 / 0.698 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003041/0.1702, allocations: 141.6 kB / 0.6981 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.1702, allocations: 0 / 0.6981 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.000461/0.1707, allocations: 237.3 kB / 0.6983 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.1708, allocations: 54.16 kB / 0.6984 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1709, allocations: 144.9 kB / 0.6985 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.171, allocations: 38.77 kB / 0.6986 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.1711, allocations: 112.2 kB / 0.6987 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.1711, allocations: 37.14 kB / 0.6987 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.1712, allocations: 70.17 kB / 0.6988 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1714, allocations: 322 kB / 0.6991 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.1715, allocations: 67.38 kB / 0.6991 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.1717, allocations: 139.1 kB / 0.6993 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.172, allocations: 215 kB / 0.6995 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.172, allocations: 0 / 0.6995 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000494/0.1725, allocations: 307.5 kB / 0.6998 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.1726, allocations: 63.41 kB / 0.6998 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.1726, allocations: 12.23 kB / 0.6998 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1727, allocations: 0 / 0.6998 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.069e-05/0.1727, allocations: 11.94 kB / 0.6998 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1727, allocations: 0 / 0.6998 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.1731, allocations: 63.83 kB / 0.6999 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.1731, allocations: 19.98 kB / 0.6999 GB, free: 7.379 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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.0001435/0.1733, allocations: 137.8 kB / 0.7001 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.1733, allocations: 19.83 kB / 0.7001 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.1734, allocations: 12.84 kB / 0.7001 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1734, allocations: 0 / 0.7001 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1734, allocations: 0 / 0.7001 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1734, allocations: 4 kB / 0.7001 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.1739, allocations: 486.3 kB / 0.7006 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.174, allocations: 0 / 0.7006 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.411e-05/0.174, allocations: 8 kB / 0.7006 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.174, allocations: 7.938 kB / 0.7006 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.174, allocations: 3.984 kB / 0.7006 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.174, allocations: 0 / 0.7006 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.174, allocations: 4 kB / 0.7006 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.1744, allocations: 287.3 kB / 0.7009 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.1744, allocations: 89.02 kB / 0.7009 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.1744, allocations: 3.984 kB / 0.7009 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.1745, allocations: 8 kB / 0.701 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.1746, allocations: 15.92 kB / 0.701 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.1746, allocations: 15.92 kB / 0.701 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.058e-05/0.1747, allocations: 101.5 kB / 0.7011 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1747, allocations: 0 / 0.7011 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003136/0.175, allocations: 43.94 kB / 0.7011 GB, free: 6.051 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$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 (16): * Single equations (assignments): 8 * 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.0001699/0.1752, allocations: 107.2 kB / 0.7012 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004513/0.1756, allocations: 302.5 kB / 0.7015 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1757, allocations: 0 / 0.7015 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.1758, allocations: 74.31 kB / 0.7016 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.1761, allocations: 35.89 kB / 0.7016 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.1766, allocations: 285.6 kB / 0.7019 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.177, allocations: 0.7085 MB / 0.7026 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.177, allocations: 15.44 kB / 0.7026 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.177, allocations: 0 / 0.7026 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of Templates: time 0.00469/0.1817, allocations: 1.986 MB / 0.7045 GB, free: 2.473 MB / 0.5137 GB " [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: 8.02956464421004] Failed to read output from testmodel.py, exit status != 0: 0.45555068110115826 0.20309307799999995 0.033660482000000005 Calling exit ...