Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.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.001315/0.001315, allocations: 111.3 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.002163/0.002163, allocations: 204 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.561/1.561, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.005/1.005, allocations: 150 MB / 459.5 MB, free: 5.266 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.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",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.002053/0.002053, allocations: 69.98 kB / 0.6361 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.159, allocations: 89.13 MB / 0.7232 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002975/0.1619, allocations: 1.453 MB / 0.7246 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005933/0.1625, allocations: 245.6 kB / 0.7248 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.1626, allocations: 3.938 kB / 0.7248 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.1626, allocations: 0 / 0.7248 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.1626, allocations: 3.938 kB / 0.7248 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.163, allocations: 59.83 kB / 0.7249 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.217e-05/0.1631, allocations: 27.92 kB / 0.7249 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.654e-05/0.1632, allocations: 3.984 kB / 0.7249 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.1632, allocations: 11.98 kB / 0.7249 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.1633, allocations: 7.938 kB / 0.7249 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1633, allocations: 4 kB / 0.7249 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1634, allocations: 55.94 kB / 0.725 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.1634, allocations: 11.94 kB / 0.725 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.1635, allocations: 3.938 kB / 0.725 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.1636, allocations: 60.06 kB / 0.7251 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1636, allocations: 0 / 0.7251 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1636, allocations: 0 / 0.7251 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1636, allocations: 4 kB / 0.7251 GB, free: 2.051 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.0005273/0.1641, allocations: 349 kB / 0.7254 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1642, allocations: 12.03 kB / 0.7254 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.1642, allocations: 30.75 kB / 0.7254 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.355e-05/0.1643, allocations: 0.9375 kB / 0.7254 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.1644, allocations: 168.3 kB / 0.7256 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1644, allocations: 384 / 0.7256 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.1644, allocations: 4.359 kB / 0.7256 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1646, allocations: 54.19 kB / 0.7257 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1646, allocations: 3.938 kB / 0.7257 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1646, allocations: 0 / 0.7257 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1646, allocations: 4 kB / 0.7257 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.1648, allocations: 35.95 kB / 0.7257 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.1652, allocations: 244.9 kB / 0.7259 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.1653, allocations: 42.53 kB / 0.726 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.96e-05/0.1654, allocations: 20.91 kB / 0.726 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006937/0.1661, allocations: 461.4 kB / 0.7264 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.1661, allocations: 34.56 kB / 0.7265 GB, free: 356 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 2.935e-06/0.1661, allocations: 7.922 kB / 0.7265 GB, free: 348 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003636/0.1665, allocations: 77.64 kB / 0.7265 GB, free: 264 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.1665, allocations: 55.41 kB / 0.7266 GB, free: 196 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.1666, allocations: 93.86 kB / 0.7267 GB, free: 92 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1666, allocations: 29.83 kB / 0.7267 GB, free: 56 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.1667, allocations: 92.12 kB / 0.7268 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.1667, allocations: 7.938 kB / 0.7268 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.1667, allocations: 17.66 kB / 0.7268 GB, free: 15.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1669, allocations: 314.8 kB / 0.7271 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.603e-05/0.167, allocations: 15.92 kB / 0.7271 GB, free: 15.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-05/0.1671, allocations: 19.97 kB / 0.7272 GB, free: 15.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.1672, allocations: 40.89 kB / 0.7272 GB, free: 15.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1672, allocations: 3.938 kB / 0.7272 GB, free: 15.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002016/0.1674, allocations: 65.66 kB / 0.7273 GB, free: 15.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1674, allocations: 4 kB / 0.7273 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1674, allocations: 0 / 0.7273 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1674, allocations: 4.031 kB / 0.7273 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.1675, allocations: 8 kB / 0.7273 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1675, allocations: 3.984 kB / 0.7273 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.696e-05/0.1676, allocations: 7.953 kB / 0.7273 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.1676, allocations: 3.938 kB / 0.7273 GB, free: 15.43 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: 0 () * 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 0.0001085/0.1677, allocations: 113.8 kB / 0.7274 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.1677, allocations: 4 kB / 0.7274 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.1679, allocations: 72.77 kB / 0.7275 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.168, allocations: 0 / 0.7275 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.168, allocations: 4 kB / 0.7275 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.168, allocations: 0 / 0.7275 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.1681, allocations: 157.6 kB / 0.7276 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.1681, allocations: 0 / 0.7276 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.1682, allocations: 7.984 kB / 0.7276 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1682, allocations: 0 / 0.7276 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1682, allocations: 4 kB / 0.7276 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1682, allocations: 4.031 kB / 0.7276 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1682, allocations: 0 / 0.7276 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.1685, allocations: 167.4 kB / 0.7278 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.1685, allocations: 77.11 kB / 0.7279 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.1685, allocations: 4 kB / 0.7279 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.1686, allocations: 7.984 kB / 0.7279 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.1686, allocations: 4.031 kB / 0.7279 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1686, allocations: 4 kB / 0.7279 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.346e-05/0.1687, allocations: 83.27 kB / 0.728 GB, free: 14.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1687, allocations: 0 / 0.728 GB, free: 14.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002325/0.1689, allocations: 23.88 kB / 0.728 GB, free: 14.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 (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.0006655/0.1696, allocations: 0.7239 MB / 0.7287 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.1698, allocations: 31.97 kB / 0.7287 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1698, allocations: 4.094 kB / 0.7287 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.685e-05/0.1699, allocations: 19.98 kB / 0.7288 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.1701, allocations: 5.547 kB / 0.7288 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.1705, allocations: 143 kB / 0.7289 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1709, allocations: 0.6768 MB / 0.7296 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.884e-05/0.1709, allocations: 0 / 0.7296 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.1709, allocations: 15.5 kB / 0.7296 GB, free: 12.9 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1709, allocations: 0 / 0.7296 GB, free: 12.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.1946, allocations: 1.504 MB / 0.7311 GB, free: 11.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.293, allocations: 11 kB / 0.7311 GB, free: 11.47 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.343562067952007] Failed to read output from testmodel.py, exit status != 0: 8.360595742007717 8.375479629 8.209062811 Calling exit ...