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.001786/0.001786, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002202/0.002202, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 7.793 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.8224/0.8224, allocations: 134 MB / 446.4 MB, free: 9.949 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.00213/0.00213, allocations: 70.42 kB / 0.6185 GB, free: 6.844 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1651, allocations: 85.92 MB / 0.7024 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001765/0.1669, allocations: 0.5759 MB / 0.703 GB, free: 460 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004585/0.1673, allocations: 171.8 kB / 0.7031 GB, free: 288 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.096e-05/0.1673, allocations: 3.938 kB / 0.7031 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.111e-05/0.1673, allocations: 0 / 0.7031 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.1674, allocations: 0 / 0.7031 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.1677, allocations: 55.83 kB / 0.7032 GB, free: 228 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.219e-05/0.1677, allocations: 7.984 kB / 0.7032 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.1678, allocations: 0 / 0.7032 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.029e-05/0.1678, allocations: 0 / 0.7032 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.98e-05/0.1678, allocations: 8 kB / 0.7032 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.999e-06/0.1678, allocations: 0 / 0.7032 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1679, allocations: 51.94 kB / 0.7033 GB, free: 160 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.168, allocations: 0 / 0.7033 GB, free: 160 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.14e-05/0.168, allocations: 0 / 0.7033 GB, free: 160 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.1681, allocations: 44.03 kB / 0.7033 GB, free: 116 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1681, allocations: 4 kB / 0.7033 GB, free: 112 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1681, allocations: 0 / 0.7033 GB, free: 112 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1681, allocations: 4 kB / 0.7033 GB, free: 108 kB / 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.0002968/0.1684, allocations: 238.4 kB / 0.7035 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1684, allocations: 12.03 kB / 0.7036 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.1685, allocations: 34.73 kB / 0.7036 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.809e-05/0.1685, allocations: 0.9375 kB / 0.7036 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.197e-05/0.1685, allocations: 102.5 kB / 0.7037 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.1686, allocations: 384 / 0.7037 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.1686, allocations: 4.375 kB / 0.7037 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.281e-05/0.1686, allocations: 26.27 kB / 0.7037 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1687, allocations: 3.938 kB / 0.7037 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.1687, allocations: 0 / 0.7037 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.1687, allocations: 4 kB / 0.7037 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.1687, allocations: 7.938 kB / 0.7037 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.1688, allocations: 120.8 kB / 0.7038 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.881e-05/0.1688, allocations: 18.61 kB / 0.7039 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.1689, allocations: 8.797 kB / 0.7039 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005313/0.1694, allocations: 71.98 kB / 0.7039 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.1694, allocations: 34.56 kB / 0.704 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1694, allocations: 0 / 0.704 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001251/0.1696, allocations: 45.52 kB / 0.704 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.1696, allocations: 51.41 kB / 0.7041 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.658e-05/0.1696, allocations: 93.86 kB / 0.7042 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.1696, allocations: 25.7 kB / 0.7042 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.1697, allocations: 84.14 kB / 0.7043 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.1697, allocations: 0 / 0.7043 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.1697, allocations: 9.719 kB / 0.7043 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1699, allocations: 311 kB / 0.7046 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.1699, allocations: 8 kB / 0.7046 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-06/0.1699, allocations: 3.938 kB / 0.7046 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.092e-05/0.1699, allocations: 12.86 kB / 0.7046 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1699, allocations: 3.938 kB / 0.7046 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.419e-05/0.17, allocations: 33.69 kB / 0.7046 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.17, allocations: 4 kB / 0.7046 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.17, allocations: 3.938 kB / 0.7046 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.17, allocations: 4 kB / 0.7046 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.469e-05/0.17, allocations: 96 / 0.7046 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.17, allocations: 8 kB / 0.7046 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.218e-06/0.17, allocations: 0 / 0.7046 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.17, allocations: 0 / 0.7046 GB, free: 14.55 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.164e-05/0.1701, allocations: 109.8 kB / 0.7047 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-06/0.1701, allocations: 0 / 0.7047 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.13e-05/0.1702, allocations: 48.56 kB / 0.7048 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1702, allocations: 0 / 0.7048 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1702, allocations: 0 / 0.7048 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1702, allocations: 0 / 0.7048 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.1703, allocations: 116.8 kB / 0.7049 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1703, allocations: 4.031 kB / 0.7049 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.1703, allocations: 7.969 kB / 0.7049 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1703, allocations: 0 / 0.7049 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1704, allocations: 7.938 kB / 0.7049 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1704, allocations: 0 / 0.7049 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1704, allocations: 0 / 0.7049 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.115e-05/0.1704, allocations: 53.14 kB / 0.705 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-06/0.1704, allocations: 4 kB / 0.705 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1704, allocations: 7.922 kB / 0.705 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.1704, allocations: 3.938 kB / 0.705 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-06/0.1705, allocations: 4.031 kB / 0.705 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.1705, allocations: 3.938 kB / 0.705 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.132e-05/0.1705, allocations: 75.28 kB / 0.7051 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1705, allocations: 4 kB / 0.7051 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001921/0.1707, allocations: 11.94 kB / 0.7051 GB, free: 14.02 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.0004567/0.1711, allocations: 0.6124 MB / 0.7057 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.594e-05/0.1712, allocations: 7.922 kB / 0.7057 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1712, allocations: 7.938 kB / 0.7057 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.286e-06/0.1712, allocations: 4 kB / 0.7057 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.1713, allocations: 0 / 0.7057 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.1716, allocations: 106.7 kB / 0.7058 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.447e-05/0.1717, allocations: 59.2 kB / 0.7059 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.266e-05/0.1717, allocations: 4 kB / 0.7059 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.1717, allocations: 7.438 kB / 0.7059 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1717, allocations: 4.125 kB / 0.7059 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.1991, allocations: 1.634 MB / 0.7075 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.11, allocations: 4 kB / 0.7075 GB, free: 11.61 MB / 0.5294 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 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: 14.541583030018955] Failed to read output from testmodel.py, exit status != 0: 11.214976689778268 11.232561288 11.06142668 Calling exit ...