Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.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.001883/0.001883, 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.002441/0.002441, allocations: 217 kB / 22.25 MB, free: 4.855 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.797 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.8534/0.8534, allocations: 134 MB / 446.4 MB, free: 9.941 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.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",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.002009/0.002009, allocations: 67.05 kB / 0.6185 GB, free: 6.863 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1759, allocations: 85.91 MB / 0.7024 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.002239/0.1781, allocations: 0.5799 MB / 0.703 GB, free: 476 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006163/0.1787, allocations: 179.8 kB / 0.7032 GB, free: 296 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.701e-05/0.1787, allocations: 0 / 0.7032 GB, free: 296 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.1787, allocations: 0 / 0.7032 GB, free: 296 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.614e-06/0.1788, allocations: 4 kB / 0.7032 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.1792, allocations: 55.81 kB / 0.7032 GB, free: 236 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.012e-05/0.1793, allocations: 0 / 0.7032 GB, free: 236 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.1793, allocations: 12 kB / 0.7032 GB, free: 224 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.413e-05/0.1793, allocations: 0 / 0.7032 GB, free: 224 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.04e-05/0.1793, allocations: 3.938 kB / 0.7032 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.853e-06/0.1793, allocations: 0 / 0.7032 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.1795, allocations: 59.88 kB / 0.7033 GB, free: 160 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.1796, allocations: 3.984 kB / 0.7033 GB, free: 156 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.1796, allocations: 3.938 kB / 0.7033 GB, free: 152 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.1797, allocations: 32.17 kB / 0.7033 GB, free: 120 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1797, allocations: 0 / 0.7033 GB, free: 120 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1797, allocations: 0 / 0.7033 GB, free: 120 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.1797, allocations: 0 / 0.7033 GB, free: 120 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.0003798/0.1801, allocations: 250.4 kB / 0.7036 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1802, allocations: 8.031 kB / 0.7036 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.1802, allocations: 34.75 kB / 0.7036 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.1802, allocations: 0.9375 kB / 0.7036 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.483e-05/0.1803, allocations: 102.5 kB / 0.7037 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1803, allocations: 4.312 kB / 0.7037 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.1804, allocations: 384 / 0.7037 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.1805, allocations: 34.25 kB / 0.7037 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1805, allocations: 3.938 kB / 0.7037 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1805, allocations: 0 / 0.7037 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1805, allocations: 0 / 0.7037 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.906e-05/0.1805, allocations: 4 kB / 0.7037 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.1807, allocations: 120.8 kB / 0.7039 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.591e-05/0.1807, allocations: 18.52 kB / 0.7039 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.1808, allocations: 8.953 kB / 0.7039 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007359/0.1815, allocations: 79.91 kB / 0.704 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1815, allocations: 34.56 kB / 0.704 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.1815, allocations: 0 / 0.704 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001622/0.1817, allocations: 41.59 kB / 0.704 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.1817, allocations: 55.41 kB / 0.7041 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.597e-05/0.1818, allocations: 89.86 kB / 0.7042 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1818, allocations: 25.7 kB / 0.7042 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.1819, allocations: 84.12 kB / 0.7043 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.1819, allocations: 0 / 0.7043 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.1819, allocations: 17.66 kB / 0.7043 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.1821, allocations: 314.8 kB / 0.7046 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.1821, allocations: 4.125 kB / 0.7046 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.1821, allocations: 0 / 0.7046 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.752e-05/0.1822, allocations: 12.86 kB / 0.7046 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1822, allocations: 0 / 0.7046 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.489e-05/0.1822, allocations: 33.69 kB / 0.7046 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1822, allocations: 8 kB / 0.7047 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1823, allocations: 3.938 kB / 0.7047 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1823, allocations: 3.938 kB / 0.7047 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.152e-05/0.1823, allocations: 0 / 0.7047 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1823, allocations: 8.094 kB / 0.7047 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.244e-05/0.1823, allocations: 3.938 kB / 0.7047 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1823, allocations: 0 / 0.7047 GB, free: 14.54 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 9.634e-05/0.1824, allocations: 105.8 kB / 0.7048 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-06/0.1824, allocations: 0 / 0.7048 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.1825, allocations: 44.62 kB / 0.7048 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1825, allocations: 4 kB / 0.7048 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1825, allocations: 0 / 0.7048 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1826, allocations: 0 / 0.7048 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.1827, allocations: 120.8 kB / 0.7049 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1827, allocations: 4.031 kB / 0.7049 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.1827, allocations: 4 kB / 0.7049 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1827, allocations: 0 / 0.7049 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1827, allocations: 7.922 kB / 0.7049 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1827, allocations: 0 / 0.7049 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1827, allocations: 0 / 0.7049 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.289e-05/0.1828, allocations: 61.08 kB / 0.705 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-06/0.1828, allocations: 0 / 0.705 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.1828, allocations: 3.938 kB / 0.705 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.111e-05/0.1828, allocations: 3.984 kB / 0.705 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.1828, allocations: 7.984 kB / 0.705 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1828, allocations: 4.031 kB / 0.705 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.054e-05/0.1829, allocations: 75.28 kB / 0.7051 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1829, allocations: 0 / 0.7051 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002886/0.1832, allocations: 15.94 kB / 0.7051 GB, free: 14.01 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.0005946/0.1838, allocations: 0.6123 MB / 0.7057 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.424e-05/0.1838, allocations: 12.03 kB / 0.7057 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1838, allocations: 0 / 0.7057 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.685e-06/0.1839, allocations: 0 / 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.0001876/0.184, allocations: 10.48 kB / 0.7057 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.1844, allocations: 94.73 kB / 0.7058 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.341e-05/0.1845, allocations: 59.22 kB / 0.7059 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.453e-05/0.1845, allocations: 3.984 kB / 0.7059 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.1845, allocations: 7.438 kB / 0.7059 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.1845, allocations: 0 / 0.7059 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.2157, allocations: 1.656 MB / 0.7075 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.24, allocations: 1.5 kB / 0.7075 GB, free: 11.59 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1_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_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.902652421966195] Failed to read output from testmodel.py, exit status != 0: 11.344973782077432 11.361251473 11.178442863 Calling exit ...