Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.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.00128/0.00128, allocations: 117.6 kB / 17.76 MB, free: 5.348 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.001302/0.001302, allocations: 187 kB / 20.69 MB, free: 2.418 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.427/1.427, allocations: 222.9 MB / 246.4 MB, free: 4.215 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.086/1.086, allocations: 147.6 MB / 446.2 MB, free: 8.422 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001946, allocations: 65.55 kB / 0.612 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1478, allocations: 83.17 MB / 0.6933 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002912/0.1508, allocations: 0.6748 MB / 0.6939 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002879/0.1537, allocations: 1.258 MB / 0.6951 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-05/0.1538, allocations: 3.938 kB / 0.6951 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.926e-05/0.1539, allocations: 11.86 kB / 0.6952 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.154, allocations: 18.84 kB / 0.6952 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.1557, allocations: 312.9 kB / 0.6955 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005625/0.1562, allocations: 265.1 kB / 0.6957 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1564, allocations: 20.3 kB / 0.6957 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.1566, allocations: 102.3 kB / 0.6958 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.157, allocations: 92.27 kB / 0.6959 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.266e-05/0.1571, allocations: 26.78 kB / 0.696 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.1572, allocations: 41.2 kB / 0.696 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.1573, allocations: 11.88 kB / 0.696 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.1575, allocations: 87.05 kB / 0.6961 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000437/0.1579, allocations: 218.4 kB / 0.6963 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.158, allocations: 0 / 0.6963 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.158, allocations: 0 / 0.6963 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.158, allocations: 0 / 0.6963 GB, free: 10.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000983/0.159, allocations: 497.7 kB / 0.6968 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.159, allocations: 9.625 kB / 0.6968 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.1592, allocations: 15.89 kB / 0.6968 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.1594, allocations: 180.3 kB / 0.697 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.1595, allocations: 15.23 kB / 0.697 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.1595, allocations: 16.73 kB / 0.697 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1597, allocations: 55.98 kB / 0.6971 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.1598, allocations: 3.938 kB / 0.6971 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1598, allocations: 1.375 kB / 0.6971 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1598, allocations: 0 / 0.6971 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.475e-05/0.1599, allocations: 22.98 kB / 0.6971 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007354/0.1606, allocations: 418 kB / 0.6975 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.598e-05/0.1607, allocations: 36.19 kB / 0.6975 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.1608, allocations: 17.11 kB / 0.6975 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.1608, allocations: 96 / 0.6975 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.161, allocations: 105.5 kB / 0.6976 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 2.434e-06/0.1611, allocations: 0 / 0.6976 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0005093/0.1616, allocations: 142.3 kB / 0.6978 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.1617, allocations: 52.78 kB / 0.6978 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.1619, allocations: 147.5 kB / 0.698 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.095e-05/0.162, allocations: 36.58 kB / 0.698 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1621, allocations: 94.97 kB / 0.6981 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.1621, allocations: 22.66 kB / 0.6981 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.1624, allocations: 71.66 kB / 0.6982 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002186/0.1626, allocations: 321.2 kB / 0.6985 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.163, allocations: 93.53 kB / 0.6986 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.1634, allocations: 137.8 kB / 0.6987 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/0.164, allocations: 235.2 kB / 0.6989 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.164, allocations: 0 / 0.6989 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001168/0.1652, allocations: 375.7 kB / 0.6993 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.1653, allocations: 101.1 kB / 0.6994 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1653, allocations: 4.188 kB / 0.6994 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.1654, allocations: 4 kB / 0.6994 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.675e-05/0.1654, allocations: 7.938 kB / 0.6994 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1654, allocations: 80 / 0.6994 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008335/0.1663, allocations: 75.84 kB / 0.6995 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.754e-05/0.1664, allocations: 31.95 kB / 0.6995 GB, free: 7.801 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001949/0.1666, allocations: 140.6 kB / 0.6996 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.1666, allocations: 7.953 kB / 0.6996 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.1667, allocations: 12.38 kB / 0.6997 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1667, allocations: 0 / 0.6997 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1667, allocations: 0 / 0.6997 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.1667, allocations: 3.984 kB / 0.6997 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.167, allocations: 193.5 kB / 0.6998 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1671, allocations: 0 / 0.6998 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.734e-05/0.1671, allocations: 8 kB / 0.6998 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1671, allocations: 0 / 0.6998 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.1671, allocations: 7.984 kB / 0.6999 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1672, allocations: 384 / 0.6999 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1672, allocations: 0 / 0.6999 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.1675, allocations: 144.9 kB / 0.7 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/0.1676, allocations: 81.06 kB / 0.7001 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.1676, allocations: 3.984 kB / 0.7001 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.342e-05/0.1677, allocations: 8 kB / 0.7001 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.1678, allocations: 11.98 kB / 0.7001 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1678, allocations: 4 kB / 0.7001 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001077/0.1679, allocations: 99.27 kB / 0.7002 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.429e-06/0.1679, allocations: 0 / 0.7002 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000462/0.1684, allocations: 43.88 kB / 0.7002 GB, free: 6.949 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002321/0.1687, allocations: 113.2 kB / 0.7003 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005202/0.1692, allocations: 366 kB / 0.7007 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1692, allocations: 4 kB / 0.7007 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.706e-05/0.1693, allocations: 43.92 kB / 0.7007 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.1696, allocations: 22.94 kB / 0.7008 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.17, allocations: 205 kB / 0.701 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.1703, allocations: 0.6963 MB / 0.7016 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.1703, allocations: 15.44 kB / 0.7016 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1703, allocations: 288 / 0.7016 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of Templates: time 0.003994/0.1743, allocations: 1.885 MB / 0.7035 GB, free: 3.535 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.010236544068903] Failed to read output from testmodel.py, exit status != 0: 0.43518406082876027 0.19600994500000002 0.035262666000000005 Calling exit ...