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.005659/0.005659, allocations: 103.7 kB / 15.74 MB, free: 6.445 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.001198/0.001198, allocations: 196.3 kB / 16.67 MB, free: 6.352 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9947/0.9947, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 67.89 kB / 0.5852 GB, free: 3.805 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4374, allocations: 80.91 MB / 0.6642 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001476/0.4389, allocations: 0.572 MB / 0.6648 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003888/0.4394, allocations: 187.5 kB / 0.6649 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.26e-05/0.4394, allocations: 0 / 0.6649 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.13e-05/0.4394, allocations: 7.938 kB / 0.6649 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.681e-06/0.4394, allocations: 0 / 0.6649 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.4398, allocations: 45.41 kB / 0.665 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.805e-05/0.4398, allocations: 9 kB / 0.665 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.525e-05/0.4398, allocations: 2.406 kB / 0.665 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.34e-05/0.4399, allocations: 3.984 kB / 0.665 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.774e-05/0.4399, allocations: 0 / 0.665 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.163e-06/0.4399, allocations: 1.094 kB / 0.665 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.44, allocations: 57.84 kB / 0.6651 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.462e-06/0.4401, allocations: 0 / 0.6651 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.366e-05/0.4401, allocations: 0 / 0.6651 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.4402, allocations: 40.62 kB / 0.6651 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4402, allocations: 0 / 0.6651 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4402, allocations: 5.312 kB / 0.6651 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.4402, allocations: 0 / 0.6651 GB, free: 6.633 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.0002104/0.4404, allocations: 321.2 kB / 0.6654 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.4405, allocations: 10.59 kB / 0.6654 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.477e-05/0.4405, allocations: 34.69 kB / 0.6655 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.4405, allocations: 4.938 kB / 0.6655 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.616e-05/0.4406, allocations: 163.1 kB / 0.6656 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.4406, allocations: 5.688 kB / 0.6656 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-06/0.4406, allocations: 384 / 0.6656 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.391e-05/0.4407, allocations: 28.11 kB / 0.6656 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.4407, allocations: 4.812 kB / 0.6657 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.4407, allocations: 0 / 0.6657 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.4407, allocations: 0 / 0.6657 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/0.4408, allocations: 5.844 kB / 0.6657 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.284e-05/0.4408, allocations: 146.9 kB / 0.6658 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.872e-05/0.4409, allocations: 28.8 kB / 0.6658 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.315e-05/0.4409, allocations: 5.922 kB / 0.6658 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005685/0.4415, allocations: 451.5 kB / 0.6663 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.4415, allocations: 31.5 kB / 0.6663 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.4415, allocations: 4 kB / 0.6663 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001185/0.4416, allocations: 42.77 kB / 0.6663 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.4417, allocations: 55.34 kB / 0.6664 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.728e-05/0.4417, allocations: 89.86 kB / 0.6665 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-06/0.4417, allocations: 26.86 kB / 0.6665 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.296e-06/0.4417, allocations: 80.14 kB / 0.6666 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.4417, allocations: 1.156 kB / 0.6666 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.4418, allocations: 11.12 kB / 0.6666 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.988e-05/0.4418, allocations: 324.3 kB / 0.6669 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-06/0.4418, allocations: 0 / 0.6669 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-06/0.4418, allocations: 1.469 kB / 0.6669 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.058e-05/0.4418, allocations: 7.109 kB / 0.6669 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4418, allocations: 1.125 kB / 0.6669 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.125e-05/0.4419, allocations: 42.27 kB / 0.6669 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.4419, allocations: 7.25 kB / 0.667 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.4419, allocations: 3.938 kB / 0.667 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.4419, allocations: 5.156 kB / 0.667 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.343e-05/0.442, allocations: 5.047 kB / 0.667 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.442, allocations: 1.125 kB / 0.667 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.709e-06/0.442, allocations: 4 kB / 0.667 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.442, allocations: 1.531 kB / 0.667 GB, free: 4.496 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 3.829e-05/0.4421, allocations: 111.4 kB / 0.6671 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-06/0.4421, allocations: 0 / 0.6671 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/0.4421, allocations: 37.17 kB / 0.6671 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.4421, allocations: 7.969 kB / 0.6671 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.4421, allocations: 3.984 kB / 0.6671 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.4421, allocations: 1.312 kB / 0.6671 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.189e-05/0.4422, allocations: 147 kB / 0.6673 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4422, allocations: 0 / 0.6673 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.076e-05/0.4422, allocations: 1.438 kB / 0.6673 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.4422, allocations: 0 / 0.6673 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.4422, allocations: 5.062 kB / 0.6673 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.4422, allocations: 0 / 0.6673 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4422, allocations: 1.125 kB / 0.6673 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.396e-05/0.4423, allocations: 63.16 kB / 0.6673 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.4423, allocations: 77.11 kB / 0.6674 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.4423, allocations: 5.219 kB / 0.6674 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-06/0.4423, allocations: 0 / 0.6674 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-06/0.4423, allocations: 3.938 kB / 0.6674 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.4424, allocations: 1.438 kB / 0.6674 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.195e-05/0.4424, allocations: 75.28 kB / 0.6675 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.72e-07/0.4424, allocations: 0 / 0.6675 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002078/0.4426, allocations: 27.64 kB / 0.6675 GB, free: 3.863 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.0002823/0.4429, allocations: 0.6138 MB / 0.6681 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.326e-05/0.4429, allocations: 2.875 kB / 0.6681 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.443, allocations: 0 / 0.6681 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.394e-06/0.443, allocations: 6.375 kB / 0.6681 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.4431, allocations: 1.406 kB / 0.6681 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.4433, allocations: 119 kB / 0.6682 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.055e-05/0.4434, allocations: 0.6701 MB / 0.6689 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.06e-05/0.4434, allocations: 1.531 kB / 0.6689 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.4435, allocations: 11.56 kB / 0.6689 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.4435, allocations: 0 / 0.6689 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.4588, allocations: 1.132 MB / 0.67 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.519/7.978, allocations: 18.84 kB / 0.67 GB, free: 1.715 MB / 0.4981 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)