Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001543/0.001543, allocations: 105.4 kB / 16.45 MB, free: 6.453 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.001742/0.001742, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.448/1.448, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8408/0.8408, allocations: 133.9 MB / 442.8 MB, free: 11.32 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001886/0.001886, allocations: 82.47 kB / 0.6135 GB, free: 8.703 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1611, allocations: 85.84 MB / 0.6973 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001864/0.163, allocations: 0.5749 MB / 0.6979 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004771/0.1634, allocations: 199.8 kB / 0.6981 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.164e-05/0.1635, allocations: 0 / 0.6981 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.139e-05/0.1635, allocations: 0 / 0.6981 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-06/0.1635, allocations: 0 / 0.6981 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.1638, allocations: 51.84 kB / 0.6981 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.902e-05/0.1639, allocations: 0 / 0.6981 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.1639, allocations: 3.984 kB / 0.6981 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.475e-05/0.1639, allocations: 0 / 0.6981 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.502e-05/0.1639, allocations: 11.94 kB / 0.6981 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.725e-06/0.1639, allocations: 3.984 kB / 0.6981 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.1641, allocations: 55.89 kB / 0.6982 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.872e-06/0.1641, allocations: 0 / 0.6982 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.365e-05/0.1641, allocations: 0 / 0.6982 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.1642, allocations: 36.16 kB / 0.6982 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1643, allocations: 4 kB / 0.6982 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.582e-06/0.1643, allocations: 0 / 0.6982 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1643, allocations: 0 / 0.6982 GB, free: 2.004 MB / 0.5137 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.0003311/0.1646, allocations: 319.5 kB / 0.6985 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1646, allocations: 13.11 kB / 0.6985 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.1647, allocations: 34.75 kB / 0.6986 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.867e-05/0.1647, allocations: 0.9375 kB / 0.6986 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1648, allocations: 164.3 kB / 0.6987 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.1648, allocations: 384 / 0.6987 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1648, allocations: 384 / 0.6987 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.462e-05/0.1649, allocations: 34.25 kB / 0.6988 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1649, allocations: 7.875 kB / 0.6988 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.1649, allocations: 0 / 0.6988 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1649, allocations: 4 kB / 0.6988 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.1649, allocations: 0 / 0.6988 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.1651, allocations: 145.7 kB / 0.6989 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.428e-05/0.1651, allocations: 22.55 kB / 0.6989 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.1651, allocations: 4.859 kB / 0.6989 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007706/0.1659, allocations: 461.5 kB / 0.6994 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1659, allocations: 30.56 kB / 0.6994 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1659, allocations: 3.938 kB / 0.6994 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001338/0.1661, allocations: 37.59 kB / 0.6994 GB, free: 488 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.1661, allocations: 51.41 kB / 0.6995 GB, free: 424 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.373e-05/0.1662, allocations: 89.86 kB / 0.6996 GB, free: 324 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1662, allocations: 33.75 kB / 0.6996 GB, free: 284 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.1662, allocations: 92.14 kB / 0.6997 GB, free: 188 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.1662, allocations: 0 / 0.6997 GB, free: 188 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.1663, allocations: 9.719 kB / 0.6997 GB, free: 172 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1664, allocations: 310.8 kB / 0.7 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.1664, allocations: 4 kB / 0.7 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.1664, allocations: 0 / 0.7 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.1665, allocations: 8.859 kB / 0.7 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1665, allocations: 4.062 kB / 0.7 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.547e-05/0.1665, allocations: 37.69 kB / 0.7001 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1665, allocations: 4 kB / 0.7001 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1666, allocations: 3.938 kB / 0.7001 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1666, allocations: 0 / 0.7001 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.496e-05/0.1666, allocations: 7.938 kB / 0.7001 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1666, allocations: 0 / 0.7001 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-06/0.1666, allocations: 0 / 0.7001 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.1666, allocations: 0 / 0.7001 GB, free: 15.78 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 8.888e-05/0.1667, allocations: 113.9 kB / 0.7002 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-06/0.1667, allocations: 0 / 0.7002 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.665e-05/0.1668, allocations: 48.75 kB / 0.7002 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1668, allocations: 0 / 0.7002 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1668, allocations: 0 / 0.7002 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.1668, allocations: 0 / 0.7002 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.1669, allocations: 141.7 kB / 0.7004 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1669, allocations: 0 / 0.7004 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.615e-05/0.167, allocations: 7.984 kB / 0.7004 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.167, allocations: 3.984 kB / 0.7004 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.167, allocations: 7.969 kB / 0.7004 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.167, allocations: 3.984 kB / 0.7004 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.167, allocations: 7.875 kB / 0.7004 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.755e-05/0.167, allocations: 57.14 kB / 0.7004 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.1671, allocations: 77.11 kB / 0.7005 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.1671, allocations: 11.86 kB / 0.7005 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-06/0.1671, allocations: 0 / 0.7005 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.1671, allocations: 4.031 kB / 0.7005 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.1671, allocations: 4 kB / 0.7005 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.304e-05/0.1672, allocations: 75.28 kB / 0.7006 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1672, allocations: 0 / 0.7006 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000202/0.1674, allocations: 11.94 kB / 0.7006 GB, free: 15.11 MB / 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.0004879/0.1678, allocations: 0.6163 MB / 0.7012 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.178e-05/0.1679, allocations: 4 kB / 0.7012 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1679, allocations: 0 / 0.7012 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/0.1679, allocations: 7.984 kB / 0.7012 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.1681, allocations: 1.531 kB / 0.7012 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.1684, allocations: 110.9 kB / 0.7013 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.1687, allocations: 0.6766 MB / 0.702 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.248e-05/0.1687, allocations: 7.938 kB / 0.702 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.43e-05/0.1687, allocations: 7.438 kB / 0.702 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1687, allocations: 0 / 0.702 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.1923, allocations: 1.126 MB / 0.7031 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.816/8.008, allocations: 13.41 kB / 0.7031 GB, free: 12.54 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.584132479008986] Failed to read output from testmodel.py, exit status != 0: 8.077049075000104 8.098206989 7.9311492 Calling exit ...