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.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.001591/0.001591, allocations: 117.5 kB / 17.76 MB, free: 5.215 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.001365/0.001365, allocations: 180.6 kB / 20.69 MB, free: 2.289 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.429/1.429, allocations: 222.9 MB / 246.4 MB, free: 4.34 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.114/1.114, allocations: 147.6 MB / 446.2 MB, free: 8.406 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.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: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.77 kB / 0.612 GB, free: 37.83 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1543, allocations: 83.17 MB / 0.6932 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001757/0.1561, allocations: 0.5813 MB / 0.6938 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1576, allocations: 1.108 MB / 0.6949 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.006e-05/0.1577, allocations: 0 / 0.6949 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.1577, allocations: 1.906 kB / 0.6949 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.432e-05/0.1578, allocations: 3.938 kB / 0.6949 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.1583, allocations: 132.5 kB / 0.695 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.1584, allocations: 101.6 kB / 0.6951 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.64e-05/0.1585, allocations: 8.031 kB / 0.6951 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.545e-05/0.1586, allocations: 36.56 kB / 0.6952 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.848e-05/0.1587, allocations: 32.67 kB / 0.6952 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.1587, allocations: 7.906 kB / 0.6952 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.673e-05/0.1588, allocations: 22.95 kB / 0.6952 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.1588, allocations: 9.641 kB / 0.6952 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.404e-05/0.1589, allocations: 33.22 kB / 0.6953 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.1591, allocations: 82.91 kB / 0.6953 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1591, allocations: 0 / 0.6953 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.023e-06/0.1591, allocations: 0 / 0.6953 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.1591, allocations: 1.781 kB / 0.6953 GB, free: 11.56 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005562/0.1597, allocations: 384.7 kB / 0.6957 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1597, allocations: 8.125 kB / 0.6957 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.1598, allocations: 4.938 kB / 0.6957 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.1599, allocations: 175 kB / 0.6959 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.16, allocations: 3.125 kB / 0.6959 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.16, allocations: 8.359 kB / 0.6959 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.1601, allocations: 39.75 kB / 0.6959 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1601, allocations: 1.469 kB / 0.6959 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1601, allocations: 3.938 kB / 0.6959 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1601, allocations: 5.375 kB / 0.6959 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.578e-05/0.1602, allocations: 8.125 kB / 0.6959 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.1606, allocations: 288.1 kB / 0.6962 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.133e-05/0.1607, allocations: 33.33 kB / 0.6963 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.454e-05/0.1607, allocations: 12.98 kB / 0.6963 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.1607, allocations: 0 / 0.6963 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.1609, allocations: 63.77 kB / 0.6963 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1609, allocations: 0 / 0.6963 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0002072/0.1611, allocations: 75.69 kB / 0.6964 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.1612, allocations: 52.78 kB / 0.6964 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.1613, allocations: 114 kB / 0.6966 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.1613, allocations: 28.45 kB / 0.6966 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.1614, allocations: 82.89 kB / 0.6967 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.1614, allocations: 13.33 kB / 0.6967 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.1615, allocations: 34.02 kB / 0.6967 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1616, allocations: 320.2 kB / 0.697 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.83e-05/0.1617, allocations: 28.48 kB / 0.697 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.649e-05/0.1618, allocations: 48.44 kB / 0.6971 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.1619, allocations: 90.2 kB / 0.6972 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1619, allocations: 3.938 kB / 0.6972 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002603/0.1622, allocations: 148.9 kB / 0.6973 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/0.1623, allocations: 36.56 kB / 0.6974 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1623, allocations: 1.375 kB / 0.6974 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1623, allocations: 1.375 kB / 0.6974 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/0.1623, allocations: 6.75 kB / 0.6974 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1624, allocations: 1.375 kB / 0.6974 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.1626, allocations: 31.09 kB / 0.6974 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.1626, allocations: 9.484 kB / 0.6974 GB, free: 9.457 MB / 0.5137 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.000112/0.1627, allocations: 123.2 kB / 0.6975 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.1627, allocations: 1.375 kB / 0.6975 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.1628, allocations: 5.281 kB / 0.6975 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1628, allocations: 0 / 0.6975 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.1628, allocations: 5.438 kB / 0.6975 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1628, allocations: 0 / 0.6975 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.1629, allocations: 180.4 kB / 0.6977 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1629, allocations: 0 / 0.6977 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.163, allocations: 2.75 kB / 0.6977 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.163, allocations: 0 / 0.6977 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.163, allocations: 1.375 kB / 0.6977 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.163, allocations: 0 / 0.6977 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.163, allocations: 1.375 kB / 0.6977 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.1631, allocations: 89.89 kB / 0.6978 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/0.1632, allocations: 82.44 kB / 0.6979 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1632, allocations: 7.938 kB / 0.6979 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.359e-05/0.1632, allocations: 1.375 kB / 0.6979 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.1633, allocations: 9.359 kB / 0.6979 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.1633, allocations: 1.375 kB / 0.6979 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.1633, allocations: 80.78 kB / 0.698 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1633, allocations: 3.938 kB / 0.698 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002248/0.1636, allocations: 19.12 kB / 0.698 GB, free: 8.816 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: 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.0001476/0.1637, allocations: 106.4 kB / 0.6981 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.164, allocations: 129.8 kB / 0.6982 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.164, allocations: 0 / 0.6982 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.164, allocations: 13.62 kB / 0.6982 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.1642, allocations: 13.42 kB / 0.6982 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.1645, allocations: 149.9 kB / 0.6984 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.1649, allocations: 0.6836 MB / 0.6991 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.1649, allocations: 12.81 kB / 0.6991 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1649, allocations: 0 / 0.6991 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of Templates: time 0.002771/0.1677, allocations: 0.9383 MB / 0.7 GB, free: 7.234 MB / 0.5137 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.080941966967657] Failed to read output from testmodel.py, exit status != 0: 0.47843173309229314 0.189690294 0.027837111 Calling exit ...