Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001361/0.001361, allocations: 111.7 kB / 17.12 MB, free: 5.945 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.001536/0.001536, allocations: 208 kB / 20.09 MB, free: 2.996 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9991/0.9991, allocations: 150 MB / 459.5 MB, free: 5.34 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.RealToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger",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.002007/0.002007, allocations: 67.42 kB / 0.6361 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1635, allocations: 89.13 MB / 0.7231 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001864/0.1653, allocations: 0.6113 MB / 0.7237 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1664, allocations: 0.8553 MB / 0.7246 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.1664, allocations: 0 / 0.7246 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.1664, allocations: 3.938 kB / 0.7246 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.556e-05/0.1665, allocations: 3.938 kB / 0.7246 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.1666, allocations: 11.98 kB / 0.7246 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.519e-05/0.1667, allocations: 35.91 kB / 0.7246 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.1668, allocations: 3.938 kB / 0.7246 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.8e-05/0.1669, allocations: 15.98 kB / 0.7246 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.1669, allocations: 11.94 kB / 0.7246 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1669, allocations: 0 / 0.7246 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.1669, allocations: 4 kB / 0.7247 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.167, allocations: 3.984 kB / 0.7247 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.167, allocations: 15.92 kB / 0.7247 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.496e-05/0.1671, allocations: 24.19 kB / 0.7247 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1671, allocations: 3.984 kB / 0.7247 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1671, allocations: 0 / 0.7247 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.1671, allocations: 4 kB / 0.7247 GB, free: 2.492 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.0005157/0.1676, allocations: 335.5 kB / 0.725 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1676, allocations: 12.03 kB / 0.725 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.1677, allocations: 30.75 kB / 0.7251 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.1677, allocations: 4.875 kB / 0.7251 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.1679, allocations: 172.3 kB / 0.7252 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.1679, allocations: 4.312 kB / 0.7252 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.1679, allocations: 384 / 0.7252 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.1681, allocations: 58.22 kB / 0.7253 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1681, allocations: 3.938 kB / 0.7253 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.1681, allocations: 0 / 0.7253 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1681, allocations: 4 kB / 0.7253 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.1683, allocations: 27.97 kB / 0.7253 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.1686, allocations: 253 kB / 0.7256 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1688, allocations: 50.42 kB / 0.7256 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1689, allocations: 26.8 kB / 0.7256 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.1689, allocations: 0 / 0.7256 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1689, allocations: 30.56 kB / 0.7257 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1689, allocations: 0 / 0.7257 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003888/0.1693, allocations: 89.62 kB / 0.7258 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.1694, allocations: 55.34 kB / 0.7258 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.002e-05/0.1695, allocations: 105.8 kB / 0.7259 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1695, allocations: 25.7 kB / 0.7259 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.1695, allocations: 84.12 kB / 0.726 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.1696, allocations: 3.953 kB / 0.726 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.1696, allocations: 17.84 kB / 0.726 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1697, allocations: 314.8 kB / 0.7263 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.805e-05/0.1698, allocations: 23.97 kB / 0.7264 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.102e-05/0.1699, allocations: 11.98 kB / 0.7264 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.1701, allocations: 40.83 kB / 0.7264 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1701, allocations: 8 kB / 0.7264 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002267/0.1703, allocations: 69.59 kB / 0.7265 GB, free: 440 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1703, allocations: 6.344 kB / 0.7265 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1704, allocations: 7.984 kB / 0.7265 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1704, allocations: 0 / 0.7265 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1705, allocations: 8 kB / 0.7265 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1705, allocations: 0 / 0.7265 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.821e-05/0.1705, allocations: 7.984 kB / 0.7265 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1705, allocations: 8.031 kB / 0.7265 GB, free: 404 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.682e-05/0.1706, allocations: 113.8 kB / 0.7266 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.1707, allocations: 7.891 kB / 0.7266 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.901e-05/0.1707, allocations: 7.109 kB / 0.7266 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1707, allocations: 4 kB / 0.7266 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1707, allocations: 0 / 0.7266 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1707, allocations: 0 / 0.7266 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.1709, allocations: 165.5 kB / 0.7268 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1709, allocations: 0 / 0.7268 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.125e-05/0.171, allocations: 15.98 kB / 0.7268 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.171, allocations: 3.938 kB / 0.7268 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.171, allocations: 0 / 0.7268 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.171, allocations: 0 / 0.7268 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.171, allocations: 0 / 0.7268 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.1713, allocations: 175.4 kB / 0.727 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.1713, allocations: 81.11 kB / 0.7271 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.1713, allocations: 0 / 0.7271 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.729e-05/0.1714, allocations: 7.984 kB / 0.7271 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.1715, allocations: 4 kB / 0.7271 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.1715, allocations: 4 kB / 0.7271 GB, free: 15.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.1715, allocations: 83.27 kB / 0.7272 GB, free: 15.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1715, allocations: 4 kB / 0.7272 GB, free: 15.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002159/0.1717, allocations: 4 kB / 0.7272 GB, free: 15.64 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006191/0.1724, allocations: 0.7006 MB / 0.7279 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.1726, allocations: 43.98 kB / 0.7279 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1726, allocations: 0 / 0.7279 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.938e-05/0.1727, allocations: 19.98 kB / 0.7279 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.173, allocations: 9.703 kB / 0.7279 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.1735, allocations: 141.3 kB / 0.7281 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.1738, allocations: 0.6768 MB / 0.7287 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.1738, allocations: 8.125 kB / 0.7287 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.1739, allocations: 7.438 kB / 0.7287 GB, free: 13.95 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.1739, allocations: 0 / 0.7287 GB, free: 13.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.1992, allocations: 1.455 MB / 0.7302 GB, free: 12.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.13, allocations: 10.2 kB / 0.7302 GB, free: 12.6 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.151904063066468] Failed to read output from testmodel.py, exit status != 0: 8.199378413148224 8.227033046 8.055044838 Calling exit ...