Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.001287/0.001287, allocations: 108.5 kB / 17.12 MB, free: 5.926 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.001404/0.001404, allocations: 205 kB / 20.09 MB, free: 2.977 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.437/1.437, allocations: 230.6 MB / 253.5 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 0.9545/0.9545, allocations: 150 MB / 459.5 MB, free: 5.293 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.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.002021/0.002021, allocations: 76.91 kB / 0.6361 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1602, allocations: 89.13 MB / 0.7232 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001817/0.162, allocations: 0.5303 MB / 0.7237 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 4.175e-05/0.1621, allocations: 3.938 kB / 0.7237 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.1621, allocations: 0 / 0.7237 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.1621, allocations: 0 / 0.7237 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.895e-05/0.1621, allocations: 0 / 0.7237 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.321e-05/0.1622, allocations: 0 / 0.7237 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.114e-05/0.1622, allocations: 4 kB / 0.7237 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.1623, allocations: 7.984 kB / 0.7237 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.218e-05/0.1623, allocations: 0 / 0.7237 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.756e-05/0.1623, allocations: 0 / 0.7237 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.1623, allocations: 4 kB / 0.7237 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.178e-06/0.1623, allocations: 4 kB / 0.7237 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.1623, allocations: 3.984 kB / 0.7237 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.74e-05/0.1624, allocations: 0 / 0.7237 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.629e-05/0.1624, allocations: 3.938 kB / 0.7237 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1624, allocations: 0 / 0.7237 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1624, allocations: 0 / 0.7237 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1624, allocations: 0 / 0.7237 GB, free: 3.469 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003241/0.1627, allocations: 319.8 kB / 0.724 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1628, allocations: 11.97 kB / 0.724 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.1628, allocations: 42.69 kB / 0.7241 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.737e-05/0.1628, allocations: 0.9375 kB / 0.7241 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.163, allocations: 164.3 kB / 0.7242 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.163, allocations: 384 / 0.7242 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.163, allocations: 384 / 0.7242 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.723e-05/0.1631, allocations: 30.27 kB / 0.7243 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1631, allocations: 3.938 kB / 0.7243 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.1631, allocations: 0 / 0.7243 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1631, allocations: 0 / 0.7243 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.822e-05/0.1631, allocations: 3.984 kB / 0.7243 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.1634, allocations: 387.5 kB / 0.7246 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.314e-05/0.1635, allocations: 173.1 kB / 0.7248 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.1635, allocations: 80.17 kB / 0.7249 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.1636, allocations: 79.28 kB / 0.725 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/0.1636, allocations: 113.8 kB / 0.7251 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.1636, allocations: 0 / 0.7251 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.999e-05/0.1637, allocations: 29.64 kB / 0.7251 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.1638, allocations: 127.1 kB / 0.7252 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.1638, allocations: 97.86 kB / 0.7253 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1639, allocations: 25.7 kB / 0.7253 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.1639, allocations: 84.27 kB / 0.7254 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.1639, allocations: 0 / 0.7254 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.1639, allocations: 13.72 kB / 0.7254 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.164, allocations: 318.8 kB / 0.7257 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.197e-06/0.164, allocations: 0 / 0.7257 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-06/0.164, allocations: 0 / 0.7257 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.533e-05/0.1641, allocations: 75.28 kB / 0.7258 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.007e-05/0.1641, allocations: 79.22 kB / 0.7259 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.885e-05/0.1642, allocations: 41.64 kB / 0.7259 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.1642, allocations: 79.28 kB / 0.726 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.425e-05/0.1642, allocations: 75.28 kB / 0.7261 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.756e-05/0.1643, allocations: 160.5 kB / 0.7262 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.317e-05/0.1643, allocations: 79.22 kB / 0.7263 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.832e-05/0.1644, allocations: 150.6 kB / 0.7264 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.848e-05/0.1645, allocations: 83.2 kB / 0.7265 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.1645, allocations: 83.28 kB / 0.7266 GB, free: 284 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001205/0.1646, allocations: 260.3 kB / 0.7268 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.614e-05/0.1647, allocations: 108.9 kB / 0.7269 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.954e-05/0.1648, allocations: 108.1 kB / 0.727 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.523e-05/0.1649, allocations: 180.2 kB / 0.7272 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.948e-05/0.1649, allocations: 188.2 kB / 0.7274 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-05/0.165, allocations: 180.2 kB / 0.7276 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.1653, allocations: 413.1 kB / 0.728 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.682e-05/0.1653, allocations: 101 kB / 0.7281 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.1654, allocations: 101 kB / 0.7282 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.602e-05/0.1655, allocations: 188.2 kB / 0.7283 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/0.1655, allocations: 180.3 kB / 0.7285 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.363e-05/0.1656, allocations: 180.5 kB / 0.7287 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.76e-05/0.1657, allocations: 184.2 kB / 0.7289 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.1658, allocations: 307.7 kB / 0.7292 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/0.1659, allocations: 182.1 kB / 0.7293 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.563e-05/0.166, allocations: 192.2 kB / 0.7295 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-05/0.1661, allocations: 101 kB / 0.7296 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.1662, allocations: 176.3 kB / 0.7298 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.1662, allocations: 108.9 kB / 0.7299 GB, free: 12.69 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.389e-05/0.1663, allocations: 79.28 kB / 0.73 GB, free: 12.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1663, allocations: 0 / 0.73 GB, free: 12.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002522/0.1665, allocations: 0 / 0.73 GB, free: 12.61 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0004488/0.167, allocations: 0.8048 MB / 0.7307 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.147e-05/0.167, allocations: 11.97 kB / 0.7308 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.167, allocations: 0 / 0.7308 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.167, allocations: 0 / 0.7308 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.1674, allocations: 461.6 kB / 0.7312 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.1685, allocations: 1.524 MB / 0.7327 GB, free: 9.711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.1688, allocations: 0.6845 MB / 0.7333 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.663e-06/0.1688, allocations: 0 / 0.7333 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.1688, allocations: 7.438 kB / 0.7334 GB, free: 8.992 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1688, allocations: 0 / 0.7334 GB, free: 8.992 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.192, allocations: 0.9213 MB / 0.7343 GB, free: 8.188 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.628/8.82, allocations: 12.33 kB / 0.7343 GB, free: 8.176 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant_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_Sources_Validation_Constant.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.641831703018397] Failed to read output from testmodel.py, exit status != 0: 8.889840635005385 8.912515707 8.746024168 Calling exit ...