Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.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.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",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.00486/0.00486, allocations: 96.06 kB / 15.73 MB, free: 6.055 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.001142/0.001142, allocations: 202.8 kB / 16.68 MB, free: 5.977 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7537/0.7537, allocations: 132.2 MB / 422.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.89 kB / 0.5809 GB, free: 7.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.4702, allocations: 80.21 MB / 0.6592 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001826/0.4721, allocations: 0.5681 MB / 0.6598 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005154/0.4726, allocations: 200.7 kB / 0.66 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.437e-05/0.4726, allocations: 0 / 0.66 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.4727, allocations: 3.938 kB / 0.66 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.816e-06/0.4727, allocations: 0 / 0.66 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.4731, allocations: 53.7 kB / 0.66 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.612e-05/0.4731, allocations: 5.359 kB / 0.66 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.4732, allocations: 0.7031 kB / 0.66 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.531e-05/0.4732, allocations: 2.078 kB / 0.66 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.332e-05/0.4732, allocations: 0 / 0.66 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.4733, allocations: 0 / 0.66 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.4734, allocations: 62.44 kB / 0.6601 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.4735, allocations: 4 kB / 0.6601 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.4735, allocations: 5.359 kB / 0.6601 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.4736, allocations: 35.94 kB / 0.6602 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4736, allocations: 0 / 0.6602 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.787e-06/0.4736, allocations: 0.7031 kB / 0.6602 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4737, allocations: 0 / 0.6602 GB, free: 9.383 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.0003026/0.474, allocations: 325.4 kB / 0.6605 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.474, allocations: 10.28 kB / 0.6605 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.602e-05/0.474, allocations: 34.69 kB / 0.6605 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.4741, allocations: 0.9375 kB / 0.6605 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.165e-05/0.4741, allocations: 166 kB / 0.6607 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.4742, allocations: 1.75 kB / 0.6607 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.4742, allocations: 4.375 kB / 0.6607 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.73e-05/0.4743, allocations: 33.67 kB / 0.6607 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4743, allocations: 4.453 kB / 0.6607 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.4743, allocations: 0 / 0.6607 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4743, allocations: 0 / 0.6607 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.4743, allocations: 5.875 kB / 0.6607 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.4745, allocations: 148.4 kB / 0.6609 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.347e-05/0.4745, allocations: 18.03 kB / 0.6609 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.4745, allocations: 6.234 kB / 0.6609 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006974/0.4752, allocations: 456.8 kB / 0.6613 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.4753, allocations: 36.69 kB / 0.6613 GB, free: 8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.4753, allocations: 0 / 0.6613 GB, free: 8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.4754, allocations: 40.39 kB / 0.6614 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.4754, allocations: 60 kB / 0.6614 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.6e-05/0.4755, allocations: 89.86 kB / 0.6615 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.4755, allocations: 27.08 kB / 0.6616 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.275e-05/0.4755, allocations: 80.14 kB / 0.6616 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.4755, allocations: 4.828 kB / 0.6616 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.4755, allocations: 16.47 kB / 0.6617 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.605e-05/0.4756, allocations: 311.6 kB / 0.6619 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.4756, allocations: 2.078 kB / 0.6619 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.4756, allocations: 1.375 kB / 0.662 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.571e-05/0.4757, allocations: 12.27 kB / 0.662 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4757, allocations: 0 / 0.662 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.503e-05/0.4757, allocations: 36.31 kB / 0.662 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4758, allocations: 8.219 kB / 0.662 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4758, allocations: 5.828 kB / 0.662 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4758, allocations: 0 / 0.662 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.655e-05/0.4758, allocations: 1.938 kB / 0.662 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.4758, allocations: 0 / 0.662 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-06/0.4759, allocations: 1.984 kB / 0.662 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.4759, allocations: 0 / 0.662 GB, free: 7.289 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 4.421e-05/0.4759, allocations: 108.7 kB / 0.6621 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-06/0.4759, allocations: 1.375 kB / 0.6621 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.053e-05/0.476, allocations: 50.94 kB / 0.6622 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.476, allocations: 0.5625 kB / 0.6622 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.476, allocations: 0 / 0.6622 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.476, allocations: 1.375 kB / 0.6622 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.011e-05/0.4761, allocations: 149.2 kB / 0.6623 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4761, allocations: 0 / 0.6623 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.17e-05/0.4761, allocations: 1.984 kB / 0.6623 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4761, allocations: 0 / 0.6623 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.4761, allocations: 6.016 kB / 0.6623 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4761, allocations: 0 / 0.6623 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4761, allocations: 8.031 kB / 0.6623 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.183e-05/0.4762, allocations: 57.98 kB / 0.6624 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.4762, allocations: 77.81 kB / 0.6625 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.4762, allocations: 5.969 kB / 0.6625 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.724e-06/0.4762, allocations: 0 / 0.6625 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.4763, allocations: 8.672 kB / 0.6625 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.4763, allocations: 1.375 kB / 0.6625 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.37e-05/0.4763, allocations: 79.31 kB / 0.6625 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4763, allocations: 0 / 0.6625 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002105/0.4765, allocations: 15.59 kB / 0.6626 GB, free: 6.664 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.0003078/0.4768, allocations: 0.6142 MB / 0.6632 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.343e-05/0.4769, allocations: 3.109 kB / 0.6632 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4769, allocations: 1.312 kB / 0.6632 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.715e-06/0.4769, allocations: 9.984 kB / 0.6632 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.4771, allocations: 1.344 kB / 0.6632 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.4773, allocations: 116.3 kB / 0.6633 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.056e-05/0.4774, allocations: 0.6789 MB / 0.664 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.109e-05/0.4774, allocations: 1.875 kB / 0.664 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.27e-05/0.4774, allocations: 7.438 kB / 0.664 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.4774, allocations: 1.062 kB / 0.664 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.4939, allocations: 1.13 MB / 0.6651 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.982, allocations: 9.422 kB / 0.6651 GB, free: 4.77 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1_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_Functions_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)