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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 104.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.843/0.843, allocations: 134 MB / 436.6 MB, free: 1.289 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 68.19 kB / 0.6052 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1638, allocations: 84.67 MB / 0.6878 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001755/0.1655, allocations: 0.5844 MB / 0.6884 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004725/0.166, allocations: 195.8 kB / 0.6886 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.267e-05/0.166, allocations: 0 / 0.6886 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.185e-05/0.166, allocations: 0 / 0.6886 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.166, allocations: 0 / 0.6886 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.1664, allocations: 57.44 kB / 0.6886 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.33e-05/0.1664, allocations: 4 kB / 0.6886 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.1664, allocations: 0 / 0.6886 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.197e-05/0.1664, allocations: 0 / 0.6886 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.816e-05/0.1665, allocations: 0 / 0.6886 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.43e-06/0.1665, allocations: 4 kB / 0.6887 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.1666, allocations: 63.88 kB / 0.6887 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.1666, allocations: 7.922 kB / 0.6887 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.324e-05/0.1667, allocations: 0 / 0.6887 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.1668, allocations: 28.19 kB / 0.6887 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1668, allocations: 0 / 0.6887 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1668, allocations: 0 / 0.6887 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.1668, allocations: 0 / 0.6887 GB, free: 10.14 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.0003589/0.1671, allocations: 325.8 kB / 0.6891 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1672, allocations: 8.031 kB / 0.6891 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.1672, allocations: 34.75 kB / 0.6891 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.933e-05/0.1672, allocations: 0.9375 kB / 0.6891 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1673, allocations: 164.4 kB / 0.6893 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1674, allocations: 8.312 kB / 0.6893 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.1674, allocations: 384 / 0.6893 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.374e-05/0.1675, allocations: 30.2 kB / 0.6893 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.1675, allocations: 3.938 kB / 0.6893 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-06/0.1675, allocations: 0 / 0.6893 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1675, allocations: 0 / 0.6893 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.1675, allocations: 8 kB / 0.6893 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.1677, allocations: 145.7 kB / 0.6894 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.163e-05/0.1677, allocations: 26.53 kB / 0.6895 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.1677, allocations: 4.859 kB / 0.6895 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008185/0.1685, allocations: 457.5 kB / 0.6899 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.1686, allocations: 34.56 kB / 0.6899 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.398e-06/0.1686, allocations: 3.984 kB / 0.6899 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001305/0.1687, allocations: 37.62 kB / 0.69 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.1688, allocations: 51.41 kB / 0.69 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.476e-05/0.1688, allocations: 93.8 kB / 0.6901 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.1688, allocations: 25.7 kB / 0.6901 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.1689, allocations: 84.27 kB / 0.6902 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.1689, allocations: 3.953 kB / 0.6902 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.1689, allocations: 17.72 kB / 0.6902 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1691, allocations: 314.8 kB / 0.6905 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.1691, allocations: 0 / 0.6905 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-06/0.1691, allocations: 4 kB / 0.6906 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.585e-05/0.1691, allocations: 4.859 kB / 0.6906 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1691, allocations: 0 / 0.6906 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.434e-05/0.1692, allocations: 45.75 kB / 0.6906 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1692, allocations: 4 kB / 0.6906 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1692, allocations: 3.938 kB / 0.6906 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1692, allocations: 0 / 0.6906 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.432e-05/0.1692, allocations: 0 / 0.6906 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1692, allocations: 7.984 kB / 0.6906 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.225e-05/0.1692, allocations: 7.938 kB / 0.6906 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-06/0.1692, allocations: 0 / 0.6906 GB, free: 7.898 MB / 0.5137 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.015e-05/0.1693, allocations: 109.9 kB / 0.6907 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.1693, allocations: 3.984 kB / 0.6907 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.552e-05/0.1694, allocations: 36.77 kB / 0.6908 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1694, allocations: 4 kB / 0.6908 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1694, allocations: 0 / 0.6908 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1694, allocations: 0 / 0.6908 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.1695, allocations: 149.7 kB / 0.6909 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1695, allocations: 0 / 0.6909 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.1695, allocations: 4 kB / 0.6909 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1695, allocations: 0 / 0.6909 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.1695, allocations: 7.969 kB / 0.6909 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1695, allocations: 3.938 kB / 0.6909 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1695, allocations: 0 / 0.6909 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.556e-05/0.1696, allocations: 57.06 kB / 0.691 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.1697, allocations: 81.11 kB / 0.6911 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.1697, allocations: 7.938 kB / 0.6911 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-06/0.1697, allocations: 0 / 0.6911 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.1697, allocations: 0 / 0.6911 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.1697, allocations: 7.969 kB / 0.6911 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.1697, allocations: 75.28 kB / 0.6911 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1697, allocations: 0 / 0.6911 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002/0.1699, allocations: 15.94 kB / 0.6912 GB, free: 7.238 MB / 0.5137 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.0004548/0.1704, allocations: 0.6201 MB / 0.6918 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.314e-05/0.1704, allocations: 4 kB / 0.6918 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.1705, allocations: 0 / 0.6918 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.199e-06/0.1705, allocations: 0 / 0.6918 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.1706, allocations: 6.5 kB / 0.6918 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003039/0.1709, allocations: 122.7 kB / 0.6919 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.1712, allocations: 0.669 MB / 0.6925 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.558e-06/0.1712, allocations: 0 / 0.6925 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.427e-05/0.1712, allocations: 7.438 kB / 0.6926 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1712, allocations: 0 / 0.6926 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.1945, allocations: 1.141 MB / 0.6937 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/8.179, allocations: 8.594 kB / 0.6937 GB, free: 4.664 MB / 0.5137 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 & /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: 11.56288224318996] Failed to read output from testmodel.py, exit status != 0: 8.246968208812177 8.264652121 8.094901341 Calling exit ...