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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004716/0.004717, allocations: 103.6 kB / 15.74 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 202.2 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7888/0.7888, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 67.5 kB / 0.5809 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1707, allocations: 80.2 MB / 0.6592 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002746/0.1735, allocations: 1.426 MB / 0.6606 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005446/0.174, allocations: 248 kB / 0.6608 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.1741, allocations: 8 kB / 0.6608 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.1741, allocations: 3.938 kB / 0.6608 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.928e-05/0.1742, allocations: 0 / 0.6608 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.1745, allocations: 55.81 kB / 0.6609 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.428e-05/0.1746, allocations: 27.92 kB / 0.6609 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.644e-05/0.1747, allocations: 3.984 kB / 0.6609 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.339e-05/0.1748, allocations: 11.94 kB / 0.6609 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.111e-05/0.1748, allocations: 15.92 kB / 0.6609 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.1748, allocations: 3.938 kB / 0.661 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.175, allocations: 63.89 kB / 0.661 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.175, allocations: 3.984 kB / 0.661 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.175, allocations: 15.92 kB / 0.661 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1752, allocations: 44.16 kB / 0.6611 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1752, allocations: 0 / 0.6611 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.634e-06/0.1752, allocations: 0 / 0.6611 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.1752, allocations: 0 / 0.6611 GB, free: 11.97 MB / 0.4981 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.0005033/0.1757, allocations: 343.4 kB / 0.6614 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1758, allocations: 12.03 kB / 0.6614 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.1758, allocations: 34.75 kB / 0.6614 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.1759, allocations: 8.875 kB / 0.6615 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.176, allocations: 168.3 kB / 0.6616 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.176, allocations: 8.312 kB / 0.6616 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.176, allocations: 384 / 0.6616 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1762, allocations: 50.23 kB / 0.6617 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.1763, allocations: 3.938 kB / 0.6617 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.1763, allocations: 0 / 0.6617 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1763, allocations: 0 / 0.6617 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.1765, allocations: 35.97 kB / 0.6617 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.1768, allocations: 256.9 kB / 0.662 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.177, allocations: 42.44 kB / 0.662 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.255e-05/0.1771, allocations: 24.91 kB / 0.662 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007069/0.1778, allocations: 453.5 kB / 0.6624 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1778, allocations: 30.56 kB / 0.6625 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1778, allocations: 0 / 0.6625 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003664/0.1782, allocations: 85.64 kB / 0.6626 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1782, allocations: 55.34 kB / 0.6626 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.1784, allocations: 101.8 kB / 0.6627 GB, free: 10 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1784, allocations: 25.7 kB / 0.6627 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.1785, allocations: 84.14 kB / 0.6628 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.1785, allocations: 3.953 kB / 0.6628 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.1785, allocations: 17.84 kB / 0.6628 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.1787, allocations: 314.8 kB / 0.6631 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.9e-05/0.1788, allocations: 19.97 kB / 0.6632 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.1789, allocations: 11.98 kB / 0.6632 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.1791, allocations: 36.83 kB / 0.6632 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1791, allocations: 8 kB / 0.6632 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000201/0.1793, allocations: 69.59 kB / 0.6633 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1793, allocations: 4 kB / 0.6633 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1793, allocations: 0 / 0.6633 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1793, allocations: 3.938 kB / 0.6633 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.049e-05/0.1794, allocations: 11.98 kB / 0.6633 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1794, allocations: 0 / 0.6633 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/0.1795, allocations: 11.98 kB / 0.6633 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1795, allocations: 4.031 kB / 0.6633 GB, free: 9.352 MB / 0.4981 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.284e-05/0.1796, allocations: 114.4 kB / 0.6634 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.1796, allocations: 8.078 kB / 0.6634 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.1799, allocations: 72.77 kB / 0.6635 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1799, allocations: 0 / 0.6635 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1799, allocations: 4 kB / 0.6635 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1799, allocations: 0 / 0.6635 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.1801, allocations: 165.6 kB / 0.6637 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1801, allocations: 3.938 kB / 0.6637 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.1801, allocations: 4 kB / 0.6637 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1801, allocations: 0 / 0.6637 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.1802, allocations: 4 kB / 0.6637 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.1802, allocations: 3.984 kB / 0.6637 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1802, allocations: 0 / 0.6637 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.1804, allocations: 159.5 kB / 0.6638 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.1805, allocations: 85.09 kB / 0.6639 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1805, allocations: 0 / 0.6639 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.1806, allocations: 8 kB / 0.6639 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.1806, allocations: 3.984 kB / 0.6639 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1806, allocations: 4 kB / 0.6639 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.962e-05/0.1807, allocations: 75.28 kB / 0.664 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1807, allocations: 0 / 0.664 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002379/0.1809, allocations: 23.97 kB / 0.664 GB, free: 8.523 MB / 0.4981 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.0006868/0.1816, allocations: 0.724 MB / 0.6647 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.1819, allocations: 31.97 kB / 0.6648 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1819, allocations: 0 / 0.6648 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.167e-05/0.182, allocations: 23.91 kB / 0.6648 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.1822, allocations: 4 kB / 0.6648 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.1827, allocations: 135.2 kB / 0.6649 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.183, allocations: 0.6768 MB / 0.6656 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.153e-05/0.183, allocations: 4 kB / 0.6656 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.183, allocations: 7.438 kB / 0.6656 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.183, allocations: 0 / 0.6656 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.2051, allocations: 1.489 MB / 0.667 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.047, allocations: 17.5 kB / 0.6671 GB, free: 5.41 MB / 0.4981 GB (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)