Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001775/0.001775, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002237/0.002237, allocations: 219 kB / 22.26 MB, free: 5.125 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.977 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.8593/0.8593, allocations: 134 MB / 446.4 MB, free: 10.19 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.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.002014/0.002014, allocations: 70.05 kB / 0.6186 GB, free: 7.172 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.17, allocations: 85.89 MB / 0.7024 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002832/0.1729, allocations: 1.465 MB / 0.7039 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005764/0.1735, allocations: 248.1 kB / 0.7041 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.1735, allocations: 3.938 kB / 0.7041 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.1735, allocations: 0 / 0.7041 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.783e-05/0.1736, allocations: 3.938 kB / 0.7041 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.1739, allocations: 59.83 kB / 0.7042 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.185e-05/0.174, allocations: 19.98 kB / 0.7042 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.255e-05/0.1741, allocations: 7.984 kB / 0.7042 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.251e-05/0.1741, allocations: 8 kB / 0.7042 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.077e-05/0.1742, allocations: 15.86 kB / 0.7042 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.1742, allocations: 4 kB / 0.7042 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.1743, allocations: 59.88 kB / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.1744, allocations: 4 kB / 0.7043 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.1744, allocations: 11.94 kB / 0.7043 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1745, allocations: 56.02 kB / 0.7043 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1745, allocations: 4 kB / 0.7044 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1745, allocations: 0 / 0.7044 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.1745, allocations: 0 / 0.7044 GB, free: 15.38 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004707/0.175, allocations: 274.2 kB / 0.7046 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1751, allocations: 8.031 kB / 0.7046 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.1751, allocations: 34.75 kB / 0.7047 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.1751, allocations: 4.938 kB / 0.7047 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.1753, allocations: 106.5 kB / 0.7048 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.1754, allocations: 4.375 kB / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.1754, allocations: 4.375 kB / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.1756, allocations: 50.23 kB / 0.7048 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1756, allocations: 3.938 kB / 0.7048 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.1756, allocations: 0 / 0.7048 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1756, allocations: 0 / 0.7048 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.1758, allocations: 39.89 kB / 0.7049 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.1761, allocations: 216.1 kB / 0.7051 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.1763, allocations: 38.5 kB / 0.7051 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.575e-05/0.1764, allocations: 24.89 kB / 0.7051 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005419/0.1769, allocations: 75.92 kB / 0.7052 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.1769, allocations: 34.56 kB / 0.7052 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1769, allocations: 3.938 kB / 0.7052 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003546/0.1773, allocations: 73.64 kB / 0.7053 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.1773, allocations: 59.53 kB / 0.7054 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.277e-05/0.1774, allocations: 101.8 kB / 0.7055 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1774, allocations: 25.7 kB / 0.7055 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.1775, allocations: 88.12 kB / 0.7056 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.1775, allocations: 3.953 kB / 0.7056 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.1775, allocations: 17.66 kB / 0.7056 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1777, allocations: 314.8 kB / 0.7059 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.1778, allocations: 19.97 kB / 0.7059 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-05/0.1778, allocations: 15.98 kB / 0.7059 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.178, allocations: 44.77 kB / 0.706 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.178, allocations: 3.938 kB / 0.706 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.1782, allocations: 65.61 kB / 0.706 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1782, allocations: 12.09 kB / 0.706 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1782, allocations: 192 / 0.706 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1782, allocations: 3.938 kB / 0.706 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.1783, allocations: 7.984 kB / 0.7061 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.1783, allocations: 3.984 kB / 0.7061 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.1784, allocations: 7.984 kB / 0.7061 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.1784, allocations: 7.984 kB / 0.7061 GB, free: 13.42 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 (2): * Single equations (assignments): 2 * 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.46e-05/0.1784, allocations: 109.8 kB / 0.7062 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.1785, allocations: 0 / 0.7062 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.1787, allocations: 84.91 kB / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1787, allocations: 0 / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1787, allocations: 0 / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1787, allocations: 0 / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.1789, allocations: 132.7 kB / 0.7064 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1789, allocations: 0 / 0.7064 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.1789, allocations: 8 kB / 0.7064 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1789, allocations: 32 / 0.7064 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.1789, allocations: 4 kB / 0.7064 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1789, allocations: 0 / 0.7064 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1789, allocations: 0 / 0.7064 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.1792, allocations: 167.4 kB / 0.7066 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.1792, allocations: 15.88 kB / 0.7066 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1792, allocations: 0 / 0.7066 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.1793, allocations: 8.031 kB / 0.7066 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.1793, allocations: 3.984 kB / 0.7066 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-06/0.1793, allocations: 0 / 0.7066 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.437e-05/0.1794, allocations: 83.28 kB / 0.7067 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1794, allocations: 0 / 0.7067 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002395/0.1796, allocations: 16 kB / 0.7067 GB, free: 12.73 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 (2): * Single equations (assignments): 2 * 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.0006576/0.1803, allocations: 0.7123 MB / 0.7074 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.1805, allocations: 39.94 kB / 0.7074 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1805, allocations: 0 / 0.7074 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.457e-05/0.1806, allocations: 23.97 kB / 0.7074 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.1808, allocations: 0 / 0.7074 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.1813, allocations: 139.2 kB / 0.7076 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1816, allocations: 0.6805 MB / 0.7082 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.122e-05/0.1816, allocations: 8.125 kB / 0.7082 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.1816, allocations: 11.44 kB / 0.7083 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1816, allocations: 0 / 0.7083 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.2095, allocations: 1.628 MB / 0.7098 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.02, allocations: 0 / 0.7098 GB, free: 9.527 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.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_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.761515477999637] Failed to read output from testmodel.py, exit status != 0: 11.124854342000617 11.1409207 10.963181106 Calling exit ...