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.001319/0.001319, allocations: 97.11 kB / 19.73 MB, free: 1.871 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.00144/0.00144, allocations: 207.5 kB / 23.04 MB, free: 5.008 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.734 MB / 206.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.9576/0.9576, allocations: 150 MB / 463.2 MB, free: 10.16 MB / 366.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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [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.002095/0.002095, allocations: 70.14 kB / 0.6413 GB, free: 9.828 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1588, allocations: 89.17 MB / 0.7283 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001747/0.1605, allocations: 0.5883 MB / 0.7289 GB, free: 152 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1619, allocations: 1.128 MB / 0.73 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.162, allocations: 0 / 0.73 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.162, allocations: 3.938 kB / 0.73 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.723e-05/0.1621, allocations: 7.922 kB / 0.73 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.1625, allocations: 122.5 kB / 0.7301 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1626, allocations: 87.89 kB / 0.7302 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.228e-05/0.1627, allocations: 7.938 kB / 0.7302 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.966e-05/0.1628, allocations: 39.95 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.48e-05/0.1629, allocations: 28.5 kB / 0.7303 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.1629, allocations: 12 kB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.525e-05/0.163, allocations: 19.98 kB / 0.7303 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.163, allocations: 4 kB / 0.7303 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.163, allocations: 31.91 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.1632, allocations: 84 kB / 0.7304 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1632, allocations: 4 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.963e-06/0.1632, allocations: 0 / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.1632, allocations: 0 / 0.7305 GB, free: 14.57 MB / 0.5606 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.0004292/0.1636, allocations: 300 kB / 0.7307 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1637, allocations: 8.031 kB / 0.7307 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.1637, allocations: 38.73 kB / 0.7308 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.1637, allocations: 8.891 kB / 0.7308 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1638, allocations: 110.5 kB / 0.7309 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1639, allocations: 4.375 kB / 0.7309 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.1639, allocations: 4.375 kB / 0.7309 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.058e-05/0.164, allocations: 42.19 kB / 0.7309 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.164, allocations: 7.875 kB / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.164, allocations: 4 kB / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.164, allocations: 0 / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.164, allocations: 4 kB / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.1644, allocations: 252 kB / 0.7312 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.525e-05/0.1645, allocations: 38.45 kB / 0.7312 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.1645, allocations: 12.78 kB / 0.7312 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.1645, allocations: 4.062 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.1646, allocations: 71.33 kB / 0.7313 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1646, allocations: 0 / 0.7313 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001925/0.1648, allocations: 61.69 kB / 0.7314 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.1649, allocations: 63.34 kB / 0.7314 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.597e-05/0.165, allocations: 105.8 kB / 0.7315 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.165, allocations: 29.7 kB / 0.7316 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.165, allocations: 92.09 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.1651, allocations: 15.94 kB / 0.7317 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.1651, allocations: 33.69 kB / 0.7317 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1652, allocations: 310.8 kB / 0.732 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.873e-05/0.1653, allocations: 61.69 kB / 0.7321 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.1655, allocations: 84.25 kB / 0.7321 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1656, allocations: 88.14 kB / 0.7322 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1656, allocations: 0 / 0.7322 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002784/0.1659, allocations: 181.1 kB / 0.7324 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.1659, allocations: 39.72 kB / 0.7324 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1659, allocations: 4 kB / 0.7324 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1659, allocations: 4 kB / 0.7324 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.35e-05/0.166, allocations: 0 / 0.7324 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.166, allocations: 4 kB / 0.7324 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.1662, allocations: 23.97 kB / 0.7325 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.1662, allocations: 11.98 kB / 0.7325 GB, free: 12.23 MB / 0.5606 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 8.771e-05/0.1663, allocations: 113.8 kB / 0.7326 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.1663, allocations: 11.95 kB / 0.7326 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.1663, allocations: 8 kB / 0.7326 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1663, allocations: 0 / 0.7326 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1663, allocations: 0 / 0.7326 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1663, allocations: 3.938 kB / 0.7326 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.1664, allocations: 132.7 kB / 0.7327 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.1664, allocations: 3.984 kB / 0.7327 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.875e-05/0.1665, allocations: 7.938 kB / 0.7328 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1665, allocations: 0 / 0.7328 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.1665, allocations: 0 / 0.7328 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1665, allocations: 4 kB / 0.7328 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1665, allocations: 0 / 0.7328 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.1666, allocations: 93 kB / 0.7328 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.1666, allocations: 7.938 kB / 0.7329 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.1666, allocations: 4 kB / 0.7329 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.373e-05/0.1666, allocations: 0 / 0.7329 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.1667, allocations: 0 / 0.7329 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.1667, allocations: 4 kB / 0.7329 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.1667, allocations: 87.27 kB / 0.7329 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1667, allocations: 0 / 0.7329 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002132/0.1669, allocations: 19.94 kB / 0.733 GB, free: 11.66 MB / 0.5606 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.0004303/0.1674, allocations: 0.6312 MB / 0.7336 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.1676, allocations: 145 kB / 0.7337 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1676, allocations: 0 / 0.7337 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.204e-05/0.1676, allocations: 12 kB / 0.7337 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.1678, allocations: 8.516 kB / 0.7337 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1694, allocations: 1.522 MB / 0.7352 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.696e-05/0.1694, allocations: 71.41 kB / 0.7353 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.789e-05/0.1694, allocations: 0 / 0.7353 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.1695, allocations: 19.41 kB / 0.7353 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1695, allocations: 0 / 0.7353 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.1979, allocations: 2.633 MB / 0.7379 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/10.98, allocations: 8.062 kB / 0.7379 GB, free: 6.594 MB / 0.5606 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.70747943292372] Failed to read output from testmodel.py, exit status != 0: 11.087095799157396 11.111987634 10.944029232 Calling exit ...