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.00163/0.00163, allocations: 108.5 kB / 17.07 MB, free: 6.016 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.001585/0.001585, allocations: 190.8 kB / 20.03 MB, free: 3.082 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.457/1.457, allocations: 222.9 MB / 245.7 MB, free: 4.23 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.107/1.107, allocations: 147.6 MB / 445.5 MB, free: 8.555 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.001924/0.001924, allocations: 64.69 kB / 0.6114 GB, free: 37.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1586, allocations: 83.16 MB / 0.6926 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001972/0.1606, allocations: 0.7383 MB / 0.6933 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1624, allocations: 1.241 MB / 0.6945 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.1625, allocations: 1.188 kB / 0.6945 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.744e-05/0.1626, allocations: 16.89 kB / 0.6945 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.318e-05/0.1627, allocations: 17.14 kB / 0.6946 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007954/0.1635, allocations: 254.2 kB / 0.6948 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.1638, allocations: 262.9 kB / 0.695 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.1639, allocations: 60.31 kB / 0.6951 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1641, allocations: 103.7 kB / 0.6952 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.1643, allocations: 107 kB / 0.6953 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.1643, allocations: 24.75 kB / 0.6953 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.496e-05/0.1644, allocations: 39.61 kB / 0.6954 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.1645, allocations: 34.78 kB / 0.6954 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.1646, allocations: 97.73 kB / 0.6955 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.1649, allocations: 251.2 kB / 0.6957 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1649, allocations: 0 / 0.6957 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1649, allocations: 0 / 0.6957 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.165, allocations: 1.375 kB / 0.6957 GB, free: 10.84 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.0006938/0.1657, allocations: 0.4895 MB / 0.6962 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1657, allocations: 9.375 kB / 0.6962 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/0.1658, allocations: 20.78 kB / 0.6962 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.1663, allocations: 238.6 kB / 0.6965 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.1664, allocations: 12.47 kB / 0.6965 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/0.1664, allocations: 29.42 kB / 0.6965 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.1667, allocations: 128 kB / 0.6966 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1667, allocations: 3.938 kB / 0.6966 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.1667, allocations: 6.438 kB / 0.6966 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.1667, allocations: 2.438 kB / 0.6966 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.1669, allocations: 66.83 kB / 0.6967 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/0.1675, allocations: 460.8 kB / 0.6971 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.1677, allocations: 101.9 kB / 0.6972 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.456e-05/0.1678, allocations: 40.34 kB / 0.6973 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.1678, allocations: 0 / 0.6973 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002474/0.168, allocations: 141.1 kB / 0.6974 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.168, allocations: 1.438 kB / 0.6974 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.0004477/0.1685, allocations: 243.9 kB / 0.6976 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.1686, allocations: 54.09 kB / 0.6977 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1687, allocations: 147 kB / 0.6978 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.1687, allocations: 28.92 kB / 0.6979 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.1688, allocations: 113.3 kB / 0.698 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.1689, allocations: 37.11 kB / 0.698 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.169, allocations: 70.58 kB / 0.6981 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.1691, allocations: 321.6 kB / 0.6984 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.1693, allocations: 63.72 kB / 0.6984 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.1695, allocations: 137.5 kB / 0.6986 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.1698, allocations: 217.3 kB / 0.6988 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1698, allocations: 0 / 0.6988 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005243/0.1703, allocations: 316.6 kB / 0.6991 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-05/0.1704, allocations: 59.41 kB / 0.6991 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1704, allocations: 7.984 kB / 0.6991 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.1704, allocations: 7.938 kB / 0.6992 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.121e-05/0.1705, allocations: 16.23 kB / 0.6992 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1705, allocations: 4 kB / 0.6992 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.1708, allocations: 55.83 kB / 0.6992 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.1709, allocations: 19.98 kB / 0.6992 GB, free: 7.613 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.0001333/0.171, allocations: 129.8 kB / 0.6994 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.1711, allocations: 23.84 kB / 0.6994 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.1711, allocations: 12.83 kB / 0.6994 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1711, allocations: 4 kB / 0.6994 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.1711, allocations: 0 / 0.6994 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1711, allocations: 0 / 0.6994 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005367/0.1717, allocations: 490.3 kB / 0.6999 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1717, allocations: 0 / 0.6999 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.41e-05/0.1717, allocations: 4 kB / 0.6999 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1717, allocations: 0 / 0.6999 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.1717, allocations: 11.98 kB / 0.6999 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1718, allocations: 4 kB / 0.6999 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1718, allocations: 0 / 0.6999 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.1721, allocations: 294.1 kB / 0.7002 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.1722, allocations: 89.02 kB / 0.7003 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.1722, allocations: 4 kB / 0.7003 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.525e-05/0.1723, allocations: 7.984 kB / 0.7003 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.1723, allocations: 19.91 kB / 0.7003 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.1724, allocations: 23.92 kB / 0.7003 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.217e-05/0.1725, allocations: 97.33 kB / 0.7004 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1725, allocations: 0 / 0.7004 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003109/0.1728, allocations: 44 kB / 0.7005 GB, free: 6.277 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.000168/0.173, allocations: 111.2 kB / 0.7006 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004431/0.1734, allocations: 299 kB / 0.7008 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1734, allocations: 0 / 0.7008 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.1735, allocations: 71.91 kB / 0.7009 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.1739, allocations: 27.91 kB / 0.7009 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.1744, allocations: 263.4 kB / 0.7012 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.1747, allocations: 0.7086 MB / 0.7019 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.099e-05/0.1748, allocations: 13.08 kB / 0.7019 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.1748, allocations: 11.44 kB / 0.7019 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1748, allocations: 4 kB / 0.7019 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of Templates: time 0.005547/0.1804, allocations: 2.138 MB / 0.704 GB, free: 2.586 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: 5.80123967397958] Failed to read output from testmodel.py, exit status != 0: 0.4841414471156895 0.200715369 0.033081927000000004 Calling exit ...