Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.004652/0.004652, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001136/0.001136, allocations: 198.6 kB / 16.68 MB, free: 5.969 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.358/1.358, 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.9992/0.9992, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.91 kB / 0.5852 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4098, allocations: 80.9 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002399/0.4123, allocations: 1.434 MB / 0.6656 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005951/0.4129, allocations: 253.2 kB / 0.6658 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.4129, allocations: 5.375 kB / 0.6658 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.808e-05/0.413, allocations: 3.984 kB / 0.6658 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.413, allocations: 3.938 kB / 0.6658 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.4135, allocations: 67.84 kB / 0.6659 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.113e-05/0.4135, allocations: 20.11 kB / 0.6659 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.418e-05/0.4136, allocations: 7.156 kB / 0.6659 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.265e-05/0.4137, allocations: 7.531 kB / 0.6659 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.4137, allocations: 10.2 kB / 0.6659 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.4138, allocations: 2.719 kB / 0.6659 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.4139, allocations: 67.64 kB / 0.666 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.4139, allocations: 5.531 kB / 0.666 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.4139, allocations: 9.375 kB / 0.666 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.4141, allocations: 60.89 kB / 0.6661 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4141, allocations: 0 / 0.6661 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4141, allocations: 0 / 0.6661 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.4141, allocations: 0 / 0.6661 GB, free: 5.797 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.0003661/0.4145, allocations: 344.3 kB / 0.6664 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.4145, allocations: 10.53 kB / 0.6664 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.451e-05/0.4146, allocations: 34.75 kB / 0.6664 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.318e-05/0.4146, allocations: 6.219 kB / 0.6664 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.768e-05/0.4147, allocations: 161.8 kB / 0.6666 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.4147, allocations: 9.297 kB / 0.6666 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.4147, allocations: 1.406 kB / 0.6666 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.4148, allocations: 46.16 kB / 0.6666 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4149, allocations: 3.938 kB / 0.6667 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.4149, allocations: 0 / 0.6667 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4149, allocations: 5.484 kB / 0.6667 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.415, allocations: 38.66 kB / 0.6667 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.4153, allocations: 248.3 kB / 0.6669 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.4154, allocations: 42.77 kB / 0.667 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.165e-05/0.4155, allocations: 22.53 kB / 0.667 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005625/0.4161, allocations: 459.5 kB / 0.6674 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.4161, allocations: 34.5 kB / 0.6675 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.694e-06/0.4161, allocations: 5.266 kB / 0.6675 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003526/0.4165, allocations: 87.92 kB / 0.6676 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.4165, allocations: 52.88 kB / 0.6676 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.693e-05/0.4165, allocations: 102.1 kB / 0.6677 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.403e-06/0.4166, allocations: 25.7 kB / 0.6677 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.967e-05/0.4166, allocations: 81.61 kB / 0.6678 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.4166, allocations: 5.359 kB / 0.6678 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.4166, allocations: 20.34 kB / 0.6678 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.476e-05/0.4167, allocations: 310.8 kB / 0.6681 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.782e-05/0.4168, allocations: 17.19 kB / 0.6681 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.019e-05/0.4168, allocations: 17.7 kB / 0.6682 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.417, allocations: 43.64 kB / 0.6682 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.417, allocations: 8 kB / 0.6682 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001768/0.4172, allocations: 64.31 kB / 0.6683 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.4172, allocations: 5.125 kB / 0.6683 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4172, allocations: 1.5 kB / 0.6683 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4172, allocations: 0 / 0.6683 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.797e-05/0.4173, allocations: 10.02 kB / 0.6683 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.4173, allocations: 0 / 0.6683 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.4174, allocations: 11.3 kB / 0.6683 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.4174, allocations: 1.125 kB / 0.6683 GB, free: 3.434 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 4.763e-05/0.4174, allocations: 116 kB / 0.6684 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.4175, allocations: 5.016 kB / 0.6684 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.4177, allocations: 70.97 kB / 0.6685 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4177, allocations: 0 / 0.6685 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4177, allocations: 0 / 0.6685 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.4177, allocations: 5.25 kB / 0.6685 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.4178, allocations: 161.1 kB / 0.6686 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4178, allocations: 1.625 kB / 0.6686 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.4179, allocations: 9.375 kB / 0.6686 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4179, allocations: 0 / 0.6686 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.4179, allocations: 5.312 kB / 0.6687 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.4179, allocations: 3.984 kB / 0.6687 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4179, allocations: 0 / 0.6687 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.4181, allocations: 163.8 kB / 0.6688 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.4181, allocations: 81.09 kB / 0.6689 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.4181, allocations: 1.25 kB / 0.6689 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.4182, allocations: 8.25 kB / 0.6689 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.4182, allocations: 5.328 kB / 0.6689 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.4183, allocations: 0 / 0.6689 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.893e-05/0.4183, allocations: 79.5 kB / 0.669 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4183, allocations: 7.969 kB / 0.669 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002354/0.4185, allocations: 17.44 kB / 0.669 GB, free: 2.688 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.0004449/0.419, allocations: 0.7175 MB / 0.6697 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.4192, allocations: 36.66 kB / 0.6697 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4192, allocations: 1.469 kB / 0.6697 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.146e-05/0.4193, allocations: 26 kB / 0.6698 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.4195, allocations: 9.672 kB / 0.6698 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.4199, allocations: 141.3 kB / 0.6699 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.42, allocations: 0.6781 MB / 0.6706 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.19e-05/0.4201, allocations: 0 / 0.6706 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.4201, allocations: 9.906 kB / 0.6706 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.4201, allocations: 0 / 0.6706 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.4372, allocations: 1.509 MB / 0.6721 GB, free: 236 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.999, allocations: 11.62 kB / 0.6721 GB, free: 228 kB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.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_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)