Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.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.001738/0.001738, allocations: 112.2 kB / 17.08 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.001765/0.001765, allocations: 186.8 kB / 20.02 MB, free: 3.086 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.452/1.452, 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.124/1.124, allocations: 147.6 MB / 445.5 MB, free: 8.535 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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 68.42 kB / 0.6114 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1599, allocations: 83.15 MB / 0.6926 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001794/0.1618, allocations: 0.6401 MB / 0.6932 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1634, allocations: 1.185 MB / 0.6943 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.1634, allocations: 4 kB / 0.6943 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.1635, allocations: 9.188 kB / 0.6944 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.024e-05/0.1636, allocations: 13.3 kB / 0.6944 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006327/0.1642, allocations: 209.8 kB / 0.6946 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.1644, allocations: 182.5 kB / 0.6947 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.594e-05/0.1645, allocations: 17.86 kB / 0.6948 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.1646, allocations: 70.16 kB / 0.6948 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.1648, allocations: 56.58 kB / 0.6949 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.1648, allocations: 15.12 kB / 0.6949 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.664e-05/0.1649, allocations: 33.98 kB / 0.6949 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.1649, allocations: 10.67 kB / 0.6949 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.165, allocations: 53.77 kB / 0.695 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.1653, allocations: 154.4 kB / 0.6951 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.1653, allocations: 0 / 0.6951 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1653, allocations: 3.938 kB / 0.6951 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1653, allocations: 5.375 kB / 0.6951 GB, free: 11.28 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006011/0.1659, allocations: 431.7 kB / 0.6956 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1659, allocations: 9.625 kB / 0.6956 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.166, allocations: 11.77 kB / 0.6956 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.1662, allocations: 175 kB / 0.6957 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1662, allocations: 5.875 kB / 0.6958 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.1662, allocations: 8.625 kB / 0.6958 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.1663, allocations: 51.88 kB / 0.6958 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1664, allocations: 192 / 0.6958 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1664, allocations: 13.3 kB / 0.6958 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.1664, allocations: 0 / 0.6958 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.305e-05/0.1664, allocations: 20.17 kB / 0.6958 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.1669, allocations: 343.2 kB / 0.6962 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.173e-05/0.167, allocations: 40.12 kB / 0.6962 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.1671, allocations: 14.36 kB / 0.6962 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.1671, allocations: 0 / 0.6962 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.1672, allocations: 89.39 kB / 0.6963 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.1672, allocations: 0 / 0.6963 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0002452/0.1675, allocations: 99 kB / 0.6964 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.1676, allocations: 58.14 kB / 0.6965 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1677, allocations: 122.1 kB / 0.6966 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.1677, allocations: 33.77 kB / 0.6966 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.1678, allocations: 88.27 kB / 0.6967 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.1678, allocations: 30.56 kB / 0.6967 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.532e-05/0.1679, allocations: 52.97 kB / 0.6968 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1681, allocations: 320.1 kB / 0.6971 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.1682, allocations: 58.64 kB / 0.6971 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.1684, allocations: 90.36 kB / 0.6972 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.1686, allocations: 160 kB / 0.6974 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1686, allocations: 1.219 kB / 0.6974 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004361/0.169, allocations: 262.9 kB / 0.6976 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.774e-05/0.1691, allocations: 67.98 kB / 0.6977 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1691, allocations: 5.469 kB / 0.6977 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1692, allocations: 2.562 kB / 0.6977 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.268e-05/0.1692, allocations: 5.375 kB / 0.6977 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1692, allocations: 2.438 kB / 0.6977 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.1695, allocations: 47.69 kB / 0.6977 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.1696, allocations: 17.92 kB / 0.6978 GB, free: 8.801 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.0001098/0.1697, allocations: 127.5 kB / 0.6979 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.1697, allocations: 6.391 kB / 0.6979 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.1698, allocations: 9.5 kB / 0.6979 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1698, allocations: 1.25 kB / 0.6979 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.1698, allocations: 3.984 kB / 0.6979 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1698, allocations: 1.156 kB / 0.6979 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.17, allocations: 176.7 kB / 0.6981 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.17, allocations: 0 / 0.6981 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-06/0.17, allocations: 1.531 kB / 0.6981 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.17, allocations: 1.156 kB / 0.6981 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.17, allocations: 14.05 kB / 0.6981 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.17, allocations: 0 / 0.6981 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.17, allocations: 3.938 kB / 0.6981 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.1702, allocations: 115.9 kB / 0.6982 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.1702, allocations: 82.69 kB / 0.6983 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1703, allocations: 1.531 kB / 0.6983 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.1703, allocations: 0 / 0.6983 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.1703, allocations: 11.73 kB / 0.6983 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.1703, allocations: 6.5 kB / 0.6983 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.042e-05/0.1704, allocations: 95.64 kB / 0.6984 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1704, allocations: 0 / 0.6984 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002346/0.1706, allocations: 30.25 kB / 0.6984 GB, free: 8.133 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001573/0.1708, allocations: 106.3 kB / 0.6985 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003879/0.1712, allocations: 244.2 kB / 0.6988 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1712, allocations: 256 / 0.6988 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.284e-05/0.1713, allocations: 32.64 kB / 0.6988 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.1715, allocations: 16.78 kB / 0.6988 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.1719, allocations: 147.7 kB / 0.6989 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1722, allocations: 0.6839 MB / 0.6996 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.758e-05/0.1722, allocations: 8.109 kB / 0.6996 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.1723, allocations: 19.56 kB / 0.6996 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1723, allocations: 3.938 kB / 0.6996 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of Templates: time 0.00487/0.1771, allocations: 1.846 MB / 0.7014 GB, free: 5.164 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.801077560056001] Failed to read output from testmodel.py, exit status != 0: 0.4965332141146064 0.197689044 0.029738537000000002 Calling exit ...