Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_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.007142/0.007143, allocations: 96.95 kB / 15.73 MB, free: 6.484 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.001709/0.001709, allocations: 189.7 kB / 16.67 MB, free: 6.391 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.45/1.45, 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-master/package.mo): time 0.9826/0.9826, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 71.89 kB / 0.5858 GB, free: 3.16 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.4769, allocations: 81 MB / 0.6649 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001483/0.4785, allocations: 0.5829 MB / 0.6655 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004189/0.4789, allocations: 192.3 kB / 0.6657 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.249e-05/0.4789, allocations: 1.156 kB / 0.6657 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.479, allocations: 3.938 kB / 0.6657 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-06/0.479, allocations: 0 / 0.6657 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.4793, allocations: 61.75 kB / 0.6657 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.53e-05/0.4794, allocations: 1.281 kB / 0.6657 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.4794, allocations: 1.469 kB / 0.6657 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.121e-05/0.4794, allocations: 0 / 0.6657 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.787e-05/0.4794, allocations: 5.156 kB / 0.6657 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.52e-06/0.4795, allocations: 0 / 0.6657 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.4796, allocations: 58.88 kB / 0.6658 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.254e-06/0.4796, allocations: 3.984 kB / 0.6658 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.354e-05/0.4796, allocations: 1.531 kB / 0.6658 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.833e-05/0.4797, allocations: 32.05 kB / 0.6658 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.4797, allocations: 0 / 0.6658 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4798, allocations: 4 kB / 0.6658 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.4798, allocations: 1.625 kB / 0.6658 GB, free: 6.34 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.0002068/0.48, allocations: 329 kB / 0.6661 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.48, allocations: 9 kB / 0.6661 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.015e-05/0.48, allocations: 32.06 kB / 0.6662 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.798e-05/0.4801, allocations: 0.9375 kB / 0.6662 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.541e-05/0.4801, allocations: 160.4 kB / 0.6663 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.4801, allocations: 1.594 kB / 0.6663 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.4801, allocations: 384 / 0.6663 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.961e-05/0.4802, allocations: 36.69 kB / 0.6664 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.4802, allocations: 3.938 kB / 0.6664 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.4802, allocations: 0 / 0.6664 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4803, allocations: 1.156 kB / 0.6664 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.659e-05/0.4803, allocations: 9.203 kB / 0.6664 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.075e-05/0.4804, allocations: 150.9 kB / 0.6665 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.807e-05/0.4804, allocations: 16.05 kB / 0.6665 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.136e-05/0.4804, allocations: 10.11 kB / 0.6666 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005732/0.481, allocations: 459.2 kB / 0.667 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.481, allocations: 31.81 kB / 0.667 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.481, allocations: 3.938 kB / 0.667 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000105/0.4811, allocations: 45.62 kB / 0.6671 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.688e-05/0.4812, allocations: 52.47 kB / 0.6671 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.394e-05/0.4812, allocations: 89.86 kB / 0.6672 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.4812, allocations: 25.7 kB / 0.6672 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.248e-06/0.4812, allocations: 85.48 kB / 0.6673 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.4812, allocations: 7.938 kB / 0.6673 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/0.4812, allocations: 11.22 kB / 0.6673 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.805e-05/0.4813, allocations: 312.2 kB / 0.6676 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-06/0.4813, allocations: 4.125 kB / 0.6676 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-06/0.4813, allocations: 1.25 kB / 0.6676 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.104e-05/0.4813, allocations: 11.53 kB / 0.6676 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4813, allocations: 1.312 kB / 0.6676 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.832e-05/0.4814, allocations: 37.73 kB / 0.6677 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.4814, allocations: 5.406 kB / 0.6677 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4814, allocations: 4.938 kB / 0.6677 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.4814, allocations: 4 kB / 0.6677 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.472e-05/0.4815, allocations: 6.75 kB / 0.6677 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.4815, allocations: 0 / 0.6677 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.937e-06/0.4815, allocations: 0 / 0.6677 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.4815, allocations: 1.375 kB / 0.6677 GB, free: 4.195 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.12e-05/0.4815, allocations: 111.5 kB / 0.6678 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-06/0.4815, allocations: 0 / 0.6678 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.927e-05/0.4816, allocations: 44.83 kB / 0.6678 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.4816, allocations: 0 / 0.6678 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4816, allocations: 1.406 kB / 0.6678 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.4816, allocations: 4 kB / 0.6679 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.66e-05/0.4817, allocations: 147.2 kB / 0.668 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4817, allocations: 0 / 0.668 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.049e-05/0.4817, allocations: 1.469 kB / 0.668 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.4817, allocations: 0 / 0.668 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.4817, allocations: 5.25 kB / 0.668 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4817, allocations: 3.984 kB / 0.668 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4817, allocations: 0 / 0.668 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.436e-05/0.4818, allocations: 63.12 kB / 0.6681 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.4818, allocations: 78.27 kB / 0.6681 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-06/0.4818, allocations: 7.875 kB / 0.6681 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-06/0.4818, allocations: 5.062 kB / 0.6682 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.4818, allocations: 0 / 0.6682 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.4819, allocations: 5.344 kB / 0.6682 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.142e-05/0.4819, allocations: 75.28 kB / 0.6682 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4819, allocations: 0 / 0.6682 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000187/0.4821, allocations: 15 kB / 0.6682 GB, free: 3.562 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.4824, allocations: 0.6118 MB / 0.6688 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.658e-05/0.4824, allocations: 8 kB / 0.6688 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4824, allocations: 0 / 0.6688 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.673e-06/0.4824, allocations: 6.656 kB / 0.6689 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.4826, allocations: 1.375 kB / 0.6689 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002227/0.4828, allocations: 119 kB / 0.669 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.89e-05/0.4829, allocations: 0.6703 MB / 0.6696 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.002e-05/0.4829, allocations: 1.375 kB / 0.6696 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.139e-05/0.4829, allocations: 7.438 kB / 0.6696 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4829, allocations: 4.125 kB / 0.6696 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.5043, allocations: 1.144 MB / 0.6708 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.375, allocations: 11.47 kB / 0.6708 GB, free: 1.414 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)