Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.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.001982/0.001982, 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.002511/0.002511, 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.566/1.566, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.9954/0.9954, allocations: 150 MB / 459.5 MB, free: 5.324 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.Integers.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract",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.001993/0.001993, allocations: 74.42 kB / 0.6361 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1534, allocations: 89.14 MB / 0.7232 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002057/0.1555, allocations: 0.7487 MB / 0.7239 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1567, allocations: 0.9112 MB / 0.7248 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.468e-05/0.1567, allocations: 4 kB / 0.7248 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.1567, allocations: 7.875 kB / 0.7248 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.89e-05/0.1568, allocations: 7.875 kB / 0.7248 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.157, allocations: 35.95 kB / 0.7249 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.1571, allocations: 83.81 kB / 0.7249 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1572, allocations: 27.91 kB / 0.725 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.478e-05/0.1573, allocations: 35.91 kB / 0.725 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.908e-05/0.1574, allocations: 55.81 kB / 0.725 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.1575, allocations: 8 kB / 0.7251 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.843e-05/0.1575, allocations: 8 kB / 0.7251 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.1575, allocations: 19.92 kB / 0.7251 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.1576, allocations: 35.78 kB / 0.7251 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.1577, allocations: 87.88 kB / 0.7252 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1577, allocations: 4 kB / 0.7252 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1577, allocations: 0 / 0.7252 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.1577, allocations: 0 / 0.7252 GB, free: 1.945 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007253/0.1584, allocations: 407.1 kB / 0.7256 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1585, allocations: 8.031 kB / 0.7256 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.1585, allocations: 38.73 kB / 0.7256 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.1586, allocations: 8.891 kB / 0.7256 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.1587, allocations: 175.1 kB / 0.7258 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.1588, allocations: 8.312 kB / 0.7258 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1588, allocations: 8.125 kB / 0.7258 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.1591, allocations: 109.5 kB / 0.7259 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1591, allocations: 0 / 0.7259 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1592, allocations: 4 kB / 0.7259 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1592, allocations: 4 kB / 0.7259 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004145/0.1596, allocations: 91.89 kB / 0.726 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.1602, allocations: 356.6 kB / 0.7264 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006487/0.1608, allocations: 110.6 kB / 0.7265 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.161, allocations: 56.81 kB / 0.7265 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.161, allocations: 0 / 0.7265 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1611, allocations: 38.56 kB / 0.7266 GB, free: 388 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1611, allocations: 0 / 0.7266 GB, free: 388 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007251/0.1618, allocations: 181.4 kB / 0.7267 GB, free: 200 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.1618, allocations: 59.39 kB / 0.7268 GB, free: 128 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.162, allocations: 125.8 kB / 0.7269 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.162, allocations: 29.7 kB / 0.7269 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.162, allocations: 92.03 kB / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.1621, allocations: 31.72 kB / 0.7271 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.1621, allocations: 25.7 kB / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1623, allocations: 314.8 kB / 0.7274 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.1625, allocations: 55.95 kB / 0.7274 GB, free: 15.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.1627, allocations: 43.95 kB / 0.7275 GB, free: 15.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.163, allocations: 92.78 kB / 0.7276 GB, free: 15.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.163, allocations: 0 / 0.7276 GB, free: 15.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004545/0.1635, allocations: 137.5 kB / 0.7277 GB, free: 15.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1635, allocations: 8 kB / 0.7277 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1635, allocations: 0 / 0.7277 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1635, allocations: 0 / 0.7277 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.1637, allocations: 27.91 kB / 0.7277 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1637, allocations: 3.938 kB / 0.7277 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.1638, allocations: 23.92 kB / 0.7278 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1639, allocations: 4 kB / 0.7278 GB, free: 15.09 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001047/0.164, allocations: 117.8 kB / 0.7279 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.164, allocations: 7.953 kB / 0.7279 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.164, allocations: 8.375 kB / 0.7279 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.164, allocations: 4 kB / 0.7279 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.164, allocations: 7.875 kB / 0.7279 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.164, allocations: 0 / 0.7279 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.1643, allocations: 197.6 kB / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1643, allocations: 0 / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.1644, allocations: 27.97 kB / 0.7281 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1644, allocations: 4 kB / 0.7281 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1644, allocations: 4 kB / 0.7281 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1644, allocations: 0 / 0.7281 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1644, allocations: 3.938 kB / 0.7281 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.1649, allocations: 231.4 kB / 0.7284 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.165, allocations: 85.05 kB / 0.7284 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.165, allocations: 3.984 kB / 0.7284 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.1652, allocations: 15.98 kB / 0.7285 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.1652, allocations: 23.86 kB / 0.7285 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.1653, allocations: 7.984 kB / 0.7285 GB, free: 14.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.273e-05/0.1653, allocations: 91.27 kB / 0.7286 GB, free: 14.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1653, allocations: 0 / 0.7286 GB, free: 14.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002582/0.1656, allocations: 19.95 kB / 0.7286 GB, free: 14.14 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000837/0.1664, allocations: 0.7638 MB / 0.7293 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004431/0.1669, allocations: 111.8 kB / 0.7294 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1669, allocations: 0 / 0.7294 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.1671, allocations: 64.11 kB / 0.7295 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.1674, allocations: 9.656 kB / 0.7295 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.1698, allocations: 1.548 MB / 0.731 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.1701, allocations: 0.6924 MB / 0.7317 GB, free: 10.83 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.51e-05/0.1702, allocations: 8 kB / 0.7317 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.636e-05/0.1703, allocations: 35.41 kB / 0.7317 GB, free: 10.79 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1703, allocations: 0 / 0.7317 GB, free: 10.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.1968, allocations: 2.701 MB / 0.7344 GB, free: 8.203 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/8.443, allocations: 12.94 kB / 0.7344 GB, free: 8.195 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract_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_Integers_Validation_Subtract.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.510008689016104] Failed to read output from testmodel.py, exit status != 0: 8.520263157086447 8.549166754 8.38716181 Calling exit ...