Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.001333/0.001333, allocations: 79.73 kB / 20.51 MB, free: 1.117 MB / 14.72 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.00141/0.00141, allocations: 163.5 kB / 23.76 MB, free: 4.191 MB / 14.72 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.458/1.458, allocations: 177.2 MB / 204.1 MB, free: 9.012 MB / 190.1 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.9121/0.9121, allocations: 113.9 MB / 374.5 MB, free: 12.89 MB / 350.1 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.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 63.92 kB / 0.555 GB, free: 2.793 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1609, allocations: 89.14 MB / 0.6421 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00184/0.1627, allocations: 0.5788 MB / 0.6426 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1643, allocations: 1.136 MB / 0.6437 GB, free: 7.891 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.1643, allocations: 0 / 0.6437 GB, free: 7.891 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/0.1643, allocations: 3.938 kB / 0.6437 GB, free: 7.887 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.145e-05/0.1644, allocations: 3.938 kB / 0.6437 GB, free: 7.883 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.1649, allocations: 130.3 kB / 0.6439 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.165, allocations: 83.89 kB / 0.644 GB, free: 7.676 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.453e-05/0.1651, allocations: 7.984 kB / 0.644 GB, free: 7.668 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.97e-05/0.1652, allocations: 43.84 kB / 0.644 GB, free: 7.625 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.964e-05/0.1653, allocations: 19.97 kB / 0.644 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1653, allocations: 8 kB / 0.644 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.366e-05/0.1654, allocations: 27.92 kB / 0.6441 GB, free: 7.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.1654, allocations: 3.984 kB / 0.6441 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.389e-05/0.1654, allocations: 35.92 kB / 0.6441 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.1656, allocations: 83.72 kB / 0.6442 GB, free: 7.449 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1656, allocations: 0 / 0.6442 GB, free: 7.449 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1656, allocations: 3.938 kB / 0.6442 GB, free: 7.445 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.1656, allocations: 0 / 0.6442 GB, free: 7.445 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000464/0.1661, allocations: 300 kB / 0.6445 GB, free: 7.113 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1661, allocations: 8.031 kB / 0.6445 GB, free: 7.105 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.1662, allocations: 8.891 kB / 0.6445 GB, free: 7.098 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.1663, allocations: 114.5 kB / 0.6446 GB, free: 6.961 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.1663, allocations: 8.375 kB / 0.6446 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.1663, allocations: 4.375 kB / 0.6446 GB, free: 6.949 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.497e-05/0.1664, allocations: 50.19 kB / 0.6446 GB, free: 6.895 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1664, allocations: 4.172 kB / 0.6447 GB, free: 6.891 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1664, allocations: 3.938 kB / 0.6447 GB, free: 6.887 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1664, allocations: 0 / 0.6447 GB, free: 6.887 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.431e-05/0.1665, allocations: 4 kB / 0.6447 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.1668, allocations: 228.6 kB / 0.6449 GB, free: 6.629 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.927e-05/0.1669, allocations: 22.58 kB / 0.6449 GB, free: 6.598 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/0.1669, allocations: 12.8 kB / 0.6449 GB, free: 6.582 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.1669, allocations: 8 kB / 0.6449 GB, free: 6.574 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.1671, allocations: 63.34 kB / 0.645 GB, free: 6.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1671, allocations: 4 kB / 0.645 GB, free: 6.496 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001929/0.1673, allocations: 69.67 kB / 0.6451 GB, free: 6.422 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.1673, allocations: 59.34 kB / 0.6451 GB, free: 6.352 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1674, allocations: 113.8 kB / 0.6452 GB, free: 6.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1675, allocations: 25.7 kB / 0.6452 GB, free: 6.199 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.1675, allocations: 92.09 kB / 0.6453 GB, free: 6.105 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.1675, allocations: 7.953 kB / 0.6453 GB, free: 6.098 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.1676, allocations: 29.7 kB / 0.6454 GB, free: 6.062 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1678, allocations: 318.8 kB / 0.6457 GB, free: 5.742 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-05/0.1679, allocations: 65.62 kB / 0.6457 GB, free: 5.672 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.168, allocations: 84.25 kB / 0.6458 GB, free: 5.574 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.1681, allocations: 88.27 kB / 0.6459 GB, free: 5.473 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1681, allocations: 0 / 0.6459 GB, free: 5.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002873/0.1684, allocations: 180.9 kB / 0.6461 GB, free: 5.277 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.1684, allocations: 41.69 kB / 0.6461 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1684, allocations: 0 / 0.6461 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1684, allocations: 4 kB / 0.6461 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.52e-05/0.1685, allocations: 0 / 0.6461 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1685, allocations: 8.062 kB / 0.6461 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.1687, allocations: 23.97 kB / 0.6461 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1687, allocations: 4 kB / 0.6461 GB, free: 5.191 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001017/0.1688, allocations: 121.8 kB / 0.6463 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.1688, allocations: 11.89 kB / 0.6463 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.1688, allocations: 4 kB / 0.6463 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1688, allocations: 0 / 0.6463 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1689, allocations: 0 / 0.6463 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1689, allocations: 0 / 0.6463 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.169, allocations: 117.3 kB / 0.6464 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.169, allocations: 0 / 0.6464 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.169, allocations: 11.88 kB / 0.6464 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.169, allocations: 0 / 0.6464 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.169, allocations: 0 / 0.6464 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.169, allocations: 0 / 0.6464 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.169, allocations: 0 / 0.6464 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.1691, allocations: 85.11 kB / 0.6465 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.1691, allocations: 11.83 kB / 0.6465 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.1691, allocations: 4 kB / 0.6465 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.67e-05/0.1692, allocations: 4 kB / 0.6465 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.1692, allocations: 8.266 kB / 0.6465 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1692, allocations: 8 kB / 0.6465 GB, free: 4.746 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.1692, allocations: 79.28 kB / 0.6466 GB, free: 4.668 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1692, allocations: 0 / 0.6466 GB, free: 4.668 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002159/0.1695, allocations: 20 kB / 0.6466 GB, free: 4.648 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001256/0.1696, allocations: 103.2 kB / 0.6467 GB, free: 4.539 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.1698, allocations: 145 kB / 0.6468 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1698, allocations: 0 / 0.6468 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-05/0.1699, allocations: 24.05 kB / 0.6469 GB, free: 4.355 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.17, allocations: 14.56 kB / 0.6469 GB, free: 4.344 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.1703, allocations: 130 kB / 0.647 GB, free: 4.188 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.356e-05/0.1704, allocations: 63.34 kB / 0.6471 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.003e-05/0.1704, allocations: 4 kB / 0.6471 GB, free: 4.102 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.1704, allocations: 8.5 kB / 0.6471 GB, free: 4.094 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.1704, allocations: 0 / 0.6471 GB, free: 4.094 MB / 0.545 GB Notification: Performance of Templates: time 0.00385/0.1743, allocations: 1.184 MB / 0.6482 GB, free: 2.941 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.283173948992044] Failed to read output from testmodel.py, exit status != 0: 0.18246460997033864 0.19690263000000002 0.028279741 Calling exit ...