Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) 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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.007254/0.007254, allocations: 100.5 kB / 15.73 MB, free: 6.02 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.001764/0.001764, allocations: 192 kB / 16.67 MB, free: 5.93 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.877/0.877, allocations: 135.6 MB / 426.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.42 kB / 0.5858 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.168, allocations: 81.03 MB / 0.6649 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001771/0.1698, allocations: 0.5603 MB / 0.6655 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004639/0.1703, allocations: 194.2 kB / 0.6656 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.326e-05/0.1703, allocations: 0 / 0.6656 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.1703, allocations: 0 / 0.6656 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.1704, allocations: 0 / 0.6656 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.1707, allocations: 59.83 kB / 0.6657 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.602e-05/0.1708, allocations: 0 / 0.6657 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.1708, allocations: 0 / 0.6657 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.242e-05/0.1709, allocations: 0 / 0.6657 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.824e-05/0.1709, allocations: 0 / 0.6657 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.192e-06/0.1709, allocations: 4 kB / 0.6657 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.1711, allocations: 59.92 kB / 0.6658 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.873e-06/0.1711, allocations: 0 / 0.6658 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.193e-05/0.1711, allocations: 0 / 0.6658 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.1712, allocations: 48.03 kB / 0.6658 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1712, allocations: 0 / 0.6658 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1712, allocations: 4 kB / 0.6658 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1713, allocations: 4 kB / 0.6658 GB, free: 4.676 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003445/0.1716, allocations: 315.5 kB / 0.6661 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1717, allocations: 9.109 kB / 0.6661 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.1717, allocations: 30.75 kB / 0.6661 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.1717, allocations: 4.938 kB / 0.6662 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.1718, allocations: 160.4 kB / 0.6663 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1719, allocations: 384 / 0.6663 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.1719, allocations: 384 / 0.6663 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.836e-05/0.172, allocations: 34.27 kB / 0.6663 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.172, allocations: 3.938 kB / 0.6663 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.172, allocations: 4 kB / 0.6663 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.172, allocations: 0 / 0.6663 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.238e-05/0.172, allocations: 3.938 kB / 0.6664 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.1722, allocations: 145.7 kB / 0.6665 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.499e-05/0.1723, allocations: 18.61 kB / 0.6665 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.1723, allocations: 8.859 kB / 0.6665 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009139/0.1732, allocations: 461.5 kB / 0.667 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.1733, allocations: 34.5 kB / 0.667 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.1733, allocations: 0 / 0.667 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001749/0.1735, allocations: 41.67 kB / 0.667 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.1735, allocations: 55.44 kB / 0.6671 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.79e-05/0.1736, allocations: 89.86 kB / 0.6672 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.1736, allocations: 25.7 kB / 0.6672 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.1737, allocations: 80.14 kB / 0.6673 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.1737, allocations: 4 kB / 0.6673 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.1737, allocations: 9.719 kB / 0.6673 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.1739, allocations: 314.8 kB / 0.6676 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.1739, allocations: 4 kB / 0.6676 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.946e-06/0.174, allocations: 8 kB / 0.6676 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.309e-05/0.174, allocations: 12.8 kB / 0.6676 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.174, allocations: 4 kB / 0.6676 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.963e-05/0.1741, allocations: 37.59 kB / 0.6676 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1741, allocations: 4 kB / 0.6677 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1741, allocations: 3.938 kB / 0.6677 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1741, allocations: 0 / 0.6677 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.1742, allocations: 7.984 kB / 0.6677 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1742, allocations: 8.078 kB / 0.6677 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.039e-05/0.1742, allocations: 0 / 0.6677 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1742, allocations: 0 / 0.6677 GB, free: 2.445 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 (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.055e-05/0.1743, allocations: 105.8 kB / 0.6678 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-06/0.1744, allocations: 4 kB / 0.6678 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1745, allocations: 44.7 kB / 0.6678 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1745, allocations: 0 / 0.6678 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.1745, allocations: 3.984 kB / 0.6678 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.1745, allocations: 4.031 kB / 0.6678 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.1747, allocations: 141.7 kB / 0.668 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1747, allocations: 0 / 0.668 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.51e-05/0.1747, allocations: 4 kB / 0.668 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1747, allocations: 0 / 0.668 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1747, allocations: 3.938 kB / 0.668 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1747, allocations: 0 / 0.668 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1747, allocations: 0 / 0.668 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.1748, allocations: 65.12 kB / 0.668 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.1749, allocations: 77.11 kB / 0.6681 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1749, allocations: 3.938 kB / 0.6681 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-06/0.1749, allocations: 0 / 0.6681 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.175, allocations: 0 / 0.6681 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.175, allocations: 0 / 0.6681 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.572e-05/0.175, allocations: 83.22 kB / 0.6682 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.175, allocations: 3.938 kB / 0.6682 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002528/0.1753, allocations: 15.92 kB / 0.6682 GB, free: 1.789 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 (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.0006087/0.1759, allocations: 0.6124 MB / 0.6688 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.176, allocations: 8 kB / 0.6688 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.1761, allocations: 4.094 kB / 0.6688 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.668e-06/0.1761, allocations: 11.88 kB / 0.6688 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.1762, allocations: 0 / 0.6688 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.1767, allocations: 113.6 kB / 0.6689 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.177, allocations: 0.6729 MB / 0.6696 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.675e-05/0.177, allocations: 4 kB / 0.6696 GB, free: 276 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.1771, allocations: 7.438 kB / 0.6696 GB, free: 268 kB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.1771, allocations: 0 / 0.6696 GB, free: 268 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.2002, allocations: 1.129 MB / 0.6707 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/8.076, allocations: 0.5938 kB / 0.6707 GB, free: 15.2 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.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_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)