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.001576/0.001576, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.001821/0.001821, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.62/1.62, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.056/1.056, allocations: 150 MB / 460.2 MB, free: 5.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="cs",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.001973/0.001973, allocations: 64.03 kB / 0.6368 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1558, allocations: 89.15 MB / 0.7238 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001709/0.1575, allocations: 0.5764 MB / 0.7244 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.159, allocations: 1.149 MB / 0.7255 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.494e-05/0.159, allocations: 4 kB / 0.7255 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.1591, allocations: 0 / 0.7255 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.101e-05/0.1591, allocations: 7.938 kB / 0.7255 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.1596, allocations: 127.8 kB / 0.7256 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1597, allocations: 99.8 kB / 0.7257 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.593e-05/0.1598, allocations: 3.938 kB / 0.7257 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.431e-05/0.1599, allocations: 31.97 kB / 0.7258 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.16, allocations: 39.89 kB / 0.7258 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.16, allocations: 8 kB / 0.7258 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.364e-05/0.16, allocations: 19.98 kB / 0.7258 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.1601, allocations: 15.92 kB / 0.7259 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.1601, allocations: 23.92 kB / 0.7259 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.1603, allocations: 88 kB / 0.726 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1603, allocations: 0 / 0.726 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1603, allocations: 0 / 0.726 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.1603, allocations: 0 / 0.726 GB, free: 1.883 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.00049/0.1608, allocations: 381 kB / 0.7263 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1608, allocations: 12.03 kB / 0.7263 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.762e-05/0.1608, allocations: 4.188 kB / 0.7263 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.565e-05/0.1609, allocations: 30.75 kB / 0.7264 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.1609, allocations: 8.891 kB / 0.7264 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.161, allocations: 176.2 kB / 0.7265 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.161, allocations: 8.375 kB / 0.7266 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.1611, allocations: 4.375 kB / 0.7266 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.54e-05/0.1612, allocations: 42 kB / 0.7266 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1612, allocations: 0 / 0.7266 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1612, allocations: 4 kB / 0.7266 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1612, allocations: 0 / 0.7266 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.1612, allocations: 8 kB / 0.7266 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.1616, allocations: 300.8 kB / 0.7269 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.812e-05/0.1617, allocations: 26.52 kB / 0.7269 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.1617, allocations: 12.92 kB / 0.7269 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.1617, allocations: 3.984 kB / 0.7269 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.1619, allocations: 63.41 kB / 0.727 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.1619, allocations: 0 / 0.727 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001931/0.162, allocations: 69.61 kB / 0.7271 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.1621, allocations: 55.41 kB / 0.7271 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.229e-05/0.1622, allocations: 109.8 kB / 0.7272 GB, free: 384 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.1622, allocations: 25.7 kB / 0.7272 GB, free: 352 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.1623, allocations: 92.09 kB / 0.7273 GB, free: 256 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.1623, allocations: 7.891 kB / 0.7273 GB, free: 248 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/0.1624, allocations: 33.7 kB / 0.7274 GB, free: 208 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.1625, allocations: 326.8 kB / 0.7277 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.1626, allocations: 27.98 kB / 0.7277 GB, free: 15.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.93e-05/0.1627, allocations: 46.56 kB / 0.7278 GB, free: 15.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.1628, allocations: 88.2 kB / 0.7278 GB, free: 15.69 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1628, allocations: 4 kB / 0.7278 GB, free: 15.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002875/0.1631, allocations: 147.3 kB / 0.728 GB, free: 15.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.1631, allocations: 37.69 kB / 0.728 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1631, allocations: 4 kB / 0.728 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1631, allocations: 0 / 0.728 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.019e-05/0.1632, allocations: 4 kB / 0.728 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1632, allocations: 0 / 0.728 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.1634, allocations: 24.03 kB / 0.7281 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.1634, allocations: 11.98 kB / 0.7281 GB, free: 15.45 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.74e-05/0.1635, allocations: 125.7 kB / 0.7282 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.1635, allocations: 7.953 kB / 0.7282 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.1636, allocations: 3.906 kB / 0.7282 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1636, allocations: 0 / 0.7282 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1636, allocations: 0 / 0.7282 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1636, allocations: 4 kB / 0.7282 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.1637, allocations: 169.6 kB / 0.7284 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.1637, allocations: 240 / 0.7284 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-05/0.1637, allocations: 8 kB / 0.7284 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1637, allocations: 0 / 0.7284 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.1637, allocations: 0 / 0.7284 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1637, allocations: 8.047 kB / 0.7284 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1637, allocations: 7.984 kB / 0.7284 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.1639, allocations: 89.02 kB / 0.7285 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.1639, allocations: 84.98 kB / 0.7285 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1639, allocations: 0 / 0.7285 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.559e-05/0.1639, allocations: 4 kB / 0.7286 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.164, allocations: 7.984 kB / 0.7286 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.164, allocations: 0 / 0.7286 GB, free: 14.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.435e-05/0.164, allocations: 87.28 kB / 0.7286 GB, free: 14.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.164, allocations: 0 / 0.7286 GB, free: 14.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000217/0.1642, allocations: 23.92 kB / 0.7287 GB, free: 14.72 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.0004456/0.1647, allocations: 0.6241 MB / 0.7293 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1649, allocations: 111.3 kB / 0.7294 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1649, allocations: 0 / 0.7294 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.051e-05/0.1649, allocations: 12 kB / 0.7294 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.1651, allocations: 13.55 kB / 0.7294 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.1667, allocations: 1.389 MB / 0.7308 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.167, allocations: 0.6807 MB / 0.7314 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.038e-05/0.167, allocations: 4 kB / 0.7314 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.167, allocations: 15.42 kB / 0.7314 GB, free: 11.71 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.167, allocations: 0 / 0.7314 GB, free: 11.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.1853, allocations: 2.065 MB / 0.7335 GB, free: 9.805 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.314, allocations: 3.984 kB / 0.7335 GB, free: 9.801 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 12.440207990992349] Failed to read output from testmodel.py, exit status != 0: 8.442868973012082 8.467635943 8.302909535 Calling exit ...