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.001409/0.001409, allocations: 99.77 kB / 20.49 MB, free: 1.324 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.001683/0.001683, allocations: 216.6 kB / 23.79 MB, free: 4.457 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.371/1.371, allocations: 230.6 MB / 257.6 MB, free: 7.781 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.9259/0.9259, allocations: 150 MB / 464 MB, free: 10.21 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: translateModel(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [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.001983/0.001983, allocations: 74.38 kB / 0.6425 GB, free: 9.363 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1584, allocations: 89.17 MB / 0.7296 GB, free: 260 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001767/0.1601, allocations: 0.5959 MB / 0.7301 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1613, allocations: 0.8471 MB / 0.731 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.1613, allocations: 4 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.1613, allocations: 0 / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.426e-05/0.1614, allocations: 11.92 kB / 0.731 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.1615, allocations: 11.98 kB / 0.731 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.419e-05/0.1616, allocations: 23.92 kB / 0.731 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.208e-05/0.1617, allocations: 8 kB / 0.731 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.131e-05/0.1618, allocations: 11.94 kB / 0.731 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.062e-05/0.1618, allocations: 11.97 kB / 0.7311 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.1618, allocations: 4 kB / 0.7311 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.1619, allocations: 0 / 0.7311 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.1619, allocations: 15.92 kB / 0.7311 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.1619, allocations: 4 kB / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 7.201e-05/0.162, allocations: 19.91 kB / 0.7311 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.162, allocations: 8 kB / 0.7311 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.162, allocations: 0 / 0.7311 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.162, allocations: 0 / 0.7311 GB, free: 14.66 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.0004525/0.1624, allocations: 262.3 kB / 0.7313 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1625, allocations: 12.03 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.1625, allocations: 4.875 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1626, allocations: 114.5 kB / 0.7315 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1626, allocations: 384 / 0.7315 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.1626, allocations: 384 / 0.7315 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1628, allocations: 54.23 kB / 0.7315 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1628, allocations: 192 / 0.7315 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1628, allocations: 3.938 kB / 0.7315 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1628, allocations: 4 kB / 0.7315 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.163, allocations: 35.95 kB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.1633, allocations: 204.5 kB / 0.7318 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.1634, allocations: 34.56 kB / 0.7318 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/0.1635, allocations: 36.83 kB / 0.7318 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.1636, allocations: 7.875 kB / 0.7318 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.1636, allocations: 30.56 kB / 0.7319 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1636, allocations: 0 / 0.7319 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003473/0.1639, allocations: 85.58 kB / 0.732 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.164, allocations: 55.41 kB / 0.732 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.221e-05/0.1641, allocations: 101.8 kB / 0.7321 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1641, allocations: 29.83 kB / 0.7321 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.1641, allocations: 80.14 kB / 0.7322 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.1642, allocations: 7.953 kB / 0.7322 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.1642, allocations: 13.72 kB / 0.7322 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1644, allocations: 318.8 kB / 0.7325 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.651e-05/0.1644, allocations: 15.98 kB / 0.7325 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.412e-05/0.1645, allocations: 15.98 kB / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1647, allocations: 44.88 kB / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1647, allocations: 0 / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002012/0.1649, allocations: 77.53 kB / 0.7327 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1649, allocations: 4 kB / 0.7327 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1649, allocations: 0 / 0.7327 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1649, allocations: 0 / 0.7327 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.231e-05/0.165, allocations: 11.98 kB / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.165, allocations: 32 / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.364e-05/0.1651, allocations: 11.98 kB / 0.7327 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.1651, allocations: 0 / 0.7327 GB, free: 12.84 MB / 0.5606 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.687e-05/0.1651, allocations: 109.8 kB / 0.7328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.1652, allocations: 11.89 kB / 0.7328 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.618e-05/0.1652, allocations: 3.312 kB / 0.7328 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1652, allocations: 0 / 0.7328 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1652, allocations: 0 / 0.7328 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1652, allocations: 4 kB / 0.7328 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1653, allocations: 105.5 kB / 0.7329 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1653, allocations: 4 kB / 0.7329 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.892e-05/0.1654, allocations: 11.98 kB / 0.7329 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1654, allocations: 7.922 kB / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1654, allocations: 4 kB / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1654, allocations: 0 / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1654, allocations: 0 / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.1657, allocations: 167.4 kB / 0.7331 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.1657, allocations: 11.88 kB / 0.7331 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1657, allocations: 8.016 kB / 0.7331 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.1658, allocations: 4 kB / 0.7331 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.1658, allocations: 7.984 kB / 0.7331 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.1658, allocations: 7.938 kB / 0.7332 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.1659, allocations: 83.28 kB / 0.7332 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1659, allocations: 0 / 0.7332 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002054/0.1661, allocations: 4 kB / 0.7332 GB, free: 12.24 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: 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 9.811e-05/0.1662, allocations: 95.23 kB / 0.7333 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.1664, allocations: 47.91 kB / 0.7334 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.1664, allocations: 0 / 0.7334 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.1665, allocations: 19.97 kB / 0.7334 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.1668, allocations: 10.34 kB / 0.7334 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.167, allocations: 109.5 kB / 0.7335 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.441e-05/0.1671, allocations: 59.34 kB / 0.7336 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.038e-05/0.1671, allocations: 8.125 kB / 0.7336 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.1672, allocations: 7.438 kB / 0.7336 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.1672, allocations: 0 / 0.7336 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.002767/0.1699, allocations: 0.6465 MB / 0.7342 GB, free: 11.21 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.195123756071553] Failed to read output from testmodel.py, exit status != 0: 0.177905353019014 0.19167831200000002 0.026843478 Calling exit ...