Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.001342/0.001342, allocations: 114 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.00152/0.00152, 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.502/1.502, 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/1, allocations: 150 MB / 459.5 MB, free: 5.332 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.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.002056/0.002056, allocations: 78.27 kB / 0.6362 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.158, allocations: 89.13 MB / 0.7232 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001652/0.1597, allocations: 0.5814 MB / 0.7238 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004428/0.1601, allocations: 191.8 kB / 0.724 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.126e-05/0.1601, allocations: 0 / 0.724 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.1602, allocations: 0 / 0.724 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.14e-06/0.1602, allocations: 0 / 0.724 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.1605, allocations: 59.81 kB / 0.724 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.411e-05/0.1605, allocations: 0 / 0.724 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.375e-05/0.1606, allocations: 0 / 0.724 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.279e-05/0.1606, allocations: 4 kB / 0.724 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.624e-05/0.1606, allocations: 3.938 kB / 0.724 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.511e-06/0.1606, allocations: 0 / 0.724 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.1608, allocations: 67.86 kB / 0.7241 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.592e-06/0.1608, allocations: 0 / 0.7241 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.513e-05/0.1608, allocations: 4 kB / 0.7241 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.976e-05/0.1609, allocations: 28.19 kB / 0.7241 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1609, allocations: 0 / 0.7241 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1609, allocations: 0 / 0.7241 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.1609, allocations: 0 / 0.7241 GB, free: 3.082 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.0003034/0.1612, allocations: 319.5 kB / 0.7244 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1613, allocations: 12.03 kB / 0.7244 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.1613, allocations: 30.75 kB / 0.7245 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.001e-05/0.1613, allocations: 8.875 kB / 0.7245 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.1614, allocations: 168.4 kB / 0.7246 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.1614, allocations: 384 / 0.7246 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.1614, allocations: 4.312 kB / 0.7246 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.143e-05/0.1615, allocations: 30.27 kB / 0.7247 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1615, allocations: 3.938 kB / 0.7247 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.1615, allocations: 0 / 0.7247 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.1615, allocations: 0 / 0.7247 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.455e-05/0.1615, allocations: 0 / 0.7247 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.1617, allocations: 153.7 kB / 0.7248 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.122e-05/0.1617, allocations: 18.56 kB / 0.7248 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.1617, allocations: 12.73 kB / 0.7248 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007052/0.1625, allocations: 453.6 kB / 0.7253 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1625, allocations: 34.56 kB / 0.7253 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1625, allocations: 0 / 0.7253 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001118/0.1626, allocations: 37.62 kB / 0.7253 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.1626, allocations: 51.41 kB / 0.7254 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.309e-05/0.1627, allocations: 93.86 kB / 0.7255 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1627, allocations: 25.7 kB / 0.7255 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.1627, allocations: 80.14 kB / 0.7256 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.1627, allocations: 3.953 kB / 0.7256 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.1628, allocations: 17.84 kB / 0.7256 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1629, allocations: 310.8 kB / 0.7259 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.1629, allocations: 7.938 kB / 0.7259 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-06/0.1629, allocations: 0 / 0.7259 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.389e-05/0.1629, allocations: 8.859 kB / 0.7259 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1629, allocations: 3.984 kB / 0.7259 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.098e-05/0.163, allocations: 33.7 kB / 0.726 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.163, allocations: 8.094 kB / 0.726 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.163, allocations: 3.938 kB / 0.726 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.163, allocations: 4 kB / 0.726 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.201e-05/0.1631, allocations: 0 / 0.726 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.1631, allocations: 0 / 0.726 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-06/0.1631, allocations: 0 / 0.726 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.1631, allocations: 0 / 0.726 GB, free: 0.8516 MB / 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 (1): * Single equations (assignments): 1 * 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 7.327e-05/0.1631, allocations: 113.8 kB / 0.7261 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.1632, allocations: 11.97 kB / 0.7261 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.675e-05/0.1632, allocations: 40.77 kB / 0.7261 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1632, allocations: 0 / 0.7261 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1632, allocations: 0 / 0.7261 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1632, allocations: 0 / 0.7261 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.1633, allocations: 149.7 kB / 0.7263 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1633, allocations: 7.938 kB / 0.7263 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.034e-05/0.1633, allocations: 0 / 0.7263 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.1634, allocations: 0 / 0.7263 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1634, allocations: 3.938 kB / 0.7263 GB, free: 480 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1634, allocations: 0 / 0.7263 GB, free: 480 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1634, allocations: 7.969 kB / 0.7263 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.546e-05/0.1634, allocations: 61.06 kB / 0.7264 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.1635, allocations: 77.11 kB / 0.7264 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.1635, allocations: 7.938 kB / 0.7264 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.044e-05/0.1635, allocations: 0 / 0.7264 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.1635, allocations: 4 kB / 0.7264 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.1635, allocations: 0 / 0.7264 GB, free: 284 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.286e-05/0.1636, allocations: 81.2 kB / 0.7265 GB, free: 204 kB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1636, allocations: 0 / 0.7265 GB, free: 204 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002/0.1638, allocations: 15.94 kB / 0.7265 GB, free: 188 kB / 0.5294 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 (1): * Single equations (assignments): 1 * 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.0004737/0.1642, allocations: 0.6162 MB / 0.7271 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.917e-05/0.1643, allocations: 4 kB / 0.7271 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1643, allocations: 0 / 0.7271 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.746e-06/0.1643, allocations: 4 kB / 0.7271 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.1644, allocations: 1.875 kB / 0.7271 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.1647, allocations: 110.6 kB / 0.7272 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.165, allocations: 0.673 MB / 0.7279 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.967e-06/0.165, allocations: 4 kB / 0.7279 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.496e-05/0.165, allocations: 7.438 kB / 0.7279 GB, free: 14.67 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.165, allocations: 0 / 0.7279 GB, free: 14.67 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.1889, allocations: 1.14 MB / 0.729 GB, free: 13.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.284, allocations: 14.81 kB / 0.729 GB, free: 13.61 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.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_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.273653914220631] Failed to read output from testmodel.py, exit status != 0: 8.351118109188974 8.373164206 8.208394818 Calling exit ...