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.001455/0.001455, allocations: 110.5 kB / 17.12 MB, free: 6.008 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.001707/0.001707, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.49/1.49, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 1.027/1.027, allocations: 150 MB / 459.5 MB, free: 5.328 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: "" <> 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.002096/0.002096, allocations: 68.31 kB / 0.6361 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1467, allocations: 89.13 MB / 0.7231 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001981/0.1487, allocations: 0.5845 MB / 0.7237 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.1503, allocations: 1.149 MB / 0.7248 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.1504, allocations: 0 / 0.7248 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.1504, allocations: 3.938 kB / 0.7248 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.163e-05/0.1505, allocations: 7.922 kB / 0.7248 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.151, allocations: 130.5 kB / 0.725 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.1512, allocations: 91.75 kB / 0.7251 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.725e-05/0.1513, allocations: 8 kB / 0.7251 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.459e-05/0.1514, allocations: 31.97 kB / 0.7251 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1515, allocations: 31.89 kB / 0.7251 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.1515, allocations: 8 kB / 0.7251 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.641e-05/0.1516, allocations: 23.98 kB / 0.7252 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.1516, allocations: 3.938 kB / 0.7252 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.1517, allocations: 39.89 kB / 0.7252 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.1519, allocations: 92 kB / 0.7253 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1519, allocations: 0 / 0.7253 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1519, allocations: 3.938 kB / 0.7253 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1519, allocations: 0 / 0.7253 GB, free: 1.895 MB / 0.5294 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.0005086/0.1524, allocations: 373.1 kB / 0.7256 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1524, allocations: 8.031 kB / 0.7257 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/0.1525, allocations: 34.75 kB / 0.7257 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.1525, allocations: 8.891 kB / 0.7257 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1526, allocations: 172.3 kB / 0.7259 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1527, allocations: 8.375 kB / 0.7259 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1527, allocations: 4.375 kB / 0.7259 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.1528, allocations: 38.25 kB / 0.7259 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1528, allocations: 3.938 kB / 0.7259 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1528, allocations: 0 / 0.7259 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1528, allocations: 4 kB / 0.7259 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.975e-05/0.1529, allocations: 11.94 kB / 0.7259 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.1533, allocations: 292.8 kB / 0.7262 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.098e-05/0.1534, allocations: 30.52 kB / 0.7262 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.328e-05/0.1534, allocations: 8.922 kB / 0.7262 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.1534, allocations: 0 / 0.7262 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.1536, allocations: 63.33 kB / 0.7263 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1536, allocations: 0 / 0.7263 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.000226/0.1538, allocations: 77.61 kB / 0.7264 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.1539, allocations: 55.41 kB / 0.7264 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.154, allocations: 105.8 kB / 0.7265 GB, free: 416 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.154, allocations: 33.7 kB / 0.7266 GB, free: 376 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.1541, allocations: 84.09 kB / 0.7266 GB, free: 288 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.1541, allocations: 7.953 kB / 0.7267 GB, free: 280 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/0.1542, allocations: 33.7 kB / 0.7267 GB, free: 240 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1543, allocations: 318.8 kB / 0.727 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.703e-05/0.1544, allocations: 31.98 kB / 0.727 GB, free: 15.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.77e-05/0.1545, allocations: 58.69 kB / 0.7271 GB, free: 15.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1546, allocations: 88.19 kB / 0.7272 GB, free: 15.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1546, allocations: 0 / 0.7272 GB, free: 15.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002864/0.1549, allocations: 151.3 kB / 0.7273 GB, free: 15.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.155, allocations: 39.41 kB / 0.7273 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.155, allocations: 4.109 kB / 0.7273 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.155, allocations: 3.984 kB / 0.7273 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.119e-05/0.155, allocations: 7.938 kB / 0.7274 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.155, allocations: 0 / 0.7274 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.1552, allocations: 23.97 kB / 0.7274 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.1553, allocations: 15.98 kB / 0.7274 GB, free: 15.46 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 9.336e-05/0.1554, allocations: 113.8 kB / 0.7275 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.1554, allocations: 3.953 kB / 0.7275 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.1554, allocations: 15.91 kB / 0.7275 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1554, allocations: 0 / 0.7275 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1554, allocations: 0 / 0.7275 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1554, allocations: 0 / 0.7275 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.1556, allocations: 165.6 kB / 0.7277 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1556, allocations: 0 / 0.7277 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-05/0.1556, allocations: 0 / 0.7277 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1556, allocations: 4 kB / 0.7277 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.1556, allocations: 4 kB / 0.7277 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1556, allocations: 0 / 0.7277 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1556, allocations: 4 kB / 0.7277 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.1557, allocations: 92.94 kB / 0.7278 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.1558, allocations: 81.05 kB / 0.7279 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.1558, allocations: 8.062 kB / 0.7279 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.496e-05/0.1558, allocations: 0 / 0.7279 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.1558, allocations: 3.984 kB / 0.7279 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1558, allocations: 7.938 kB / 0.7279 GB, free: 14.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.602e-05/0.1559, allocations: 83.28 kB / 0.728 GB, free: 14.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1559, allocations: 4 kB / 0.728 GB, free: 14.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002174/0.1561, allocations: 16 kB / 0.728 GB, free: 14.76 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.0004737/0.1566, allocations: 0.6318 MB / 0.7286 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002862/0.1569, allocations: 115.4 kB / 0.7287 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1569, allocations: 4.125 kB / 0.7287 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.1569, allocations: 11.94 kB / 0.7287 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.1571, allocations: 17.09 kB / 0.7287 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.1587, allocations: 1.377 MB / 0.7301 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.159, allocations: 0.6846 MB / 0.7307 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.397e-05/0.1591, allocations: 4 kB / 0.7307 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.1591, allocations: 11.44 kB / 0.7308 GB, free: 11.74 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1591, allocations: 0 / 0.7308 GB, free: 11.74 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.1842, allocations: 2.023 MB / 0.7327 GB, free: 9.863 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.262, allocations: 13.22 kB / 0.7327 GB, free: 9.852 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.1369382890407] Failed to read output from testmodel.py, exit status != 0: 8.329894849099219 8.347202101 8.192317923 Calling exit ...