Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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/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.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.008329/0.008329, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001923/0.001923, allocations: 195.3 kB / 16.67 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7559/0.7559, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 63.91 kB / 0.5809 GB, free: 8.043 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4022, allocations: 80.2 MB / 0.6592 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002571/0.4049, allocations: 1.434 MB / 0.6606 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000537/0.4054, allocations: 247.8 kB / 0.6608 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.119e-05/0.4055, allocations: 0 / 0.6608 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.4055, allocations: 0 / 0.6608 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.186e-05/0.4056, allocations: 10.28 kB / 0.6608 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.406, allocations: 56.8 kB / 0.6609 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.959e-05/0.406, allocations: 23.88 kB / 0.6609 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.101e-05/0.4061, allocations: 12.64 kB / 0.6609 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.4062, allocations: 4.469 kB / 0.6609 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.4062, allocations: 14.09 kB / 0.6609 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.4062, allocations: 2.188 kB / 0.6609 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.4064, allocations: 61.12 kB / 0.661 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.4064, allocations: 3.125 kB / 0.661 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.4064, allocations: 15.09 kB / 0.661 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.4066, allocations: 48.61 kB / 0.6611 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4066, allocations: 5.125 kB / 0.6611 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4066, allocations: 0 / 0.6611 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.4066, allocations: 0 / 0.6611 GB, free: 8.555 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.0003687/0.407, allocations: 344.3 kB / 0.6614 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.407, allocations: 8.219 kB / 0.6614 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.402e-05/0.407, allocations: 36.55 kB / 0.6614 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.4071, allocations: 2.156 kB / 0.6614 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.011e-05/0.4072, allocations: 167 kB / 0.6616 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.4072, allocations: 1.594 kB / 0.6616 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.4072, allocations: 1.531 kB / 0.6616 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.4073, allocations: 53.27 kB / 0.6617 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.4074, allocations: 9.516 kB / 0.6617 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.4074, allocations: 0 / 0.6617 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4074, allocations: 0 / 0.6617 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.4076, allocations: 36.78 kB / 0.6617 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.4078, allocations: 251.4 kB / 0.6619 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.408, allocations: 40.53 kB / 0.662 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/0.4081, allocations: 30.67 kB / 0.662 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005624/0.4086, allocations: 453.6 kB / 0.6624 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.4087, allocations: 32.42 kB / 0.6625 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4087, allocations: 0 / 0.6625 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003748/0.409, allocations: 83.84 kB / 0.6626 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.4091, allocations: 52.38 kB / 0.6626 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.476e-05/0.4091, allocations: 101.7 kB / 0.6627 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.4092, allocations: 25.7 kB / 0.6627 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.571e-05/0.4092, allocations: 82.39 kB / 0.6628 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.4092, allocations: 13.8 kB / 0.6628 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.4092, allocations: 11.53 kB / 0.6628 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.066e-05/0.4093, allocations: 317.5 kB / 0.6631 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.4094, allocations: 22.17 kB / 0.6632 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.197e-05/0.4095, allocations: 14.92 kB / 0.6632 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.4096, allocations: 36.34 kB / 0.6632 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4096, allocations: 3.938 kB / 0.6632 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001851/0.4098, allocations: 71.81 kB / 0.6633 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4098, allocations: 9 kB / 0.6633 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4098, allocations: 1.281 kB / 0.6633 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4099, allocations: 0.6562 kB / 0.6633 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.4099, allocations: 8.297 kB / 0.6633 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.41, allocations: 5.344 kB / 0.6633 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.41, allocations: 5.266 kB / 0.6633 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.41, allocations: 1.406 kB / 0.6633 GB, free: 6.32 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.407e-05/0.4101, allocations: 116.3 kB / 0.6634 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.4101, allocations: 6.125 kB / 0.6634 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.4103, allocations: 70.77 kB / 0.6635 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4103, allocations: 1.062 kB / 0.6635 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4103, allocations: 0.75 kB / 0.6635 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4103, allocations: 5.344 kB / 0.6635 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.4105, allocations: 158.9 kB / 0.6636 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4105, allocations: 4.031 kB / 0.6637 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.557e-05/0.4105, allocations: 9.859 kB / 0.6637 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.4105, allocations: 1.5 kB / 0.6637 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-06/0.4105, allocations: 0 / 0.6637 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4105, allocations: 0 / 0.6637 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4106, allocations: 4.688 kB / 0.6637 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.4108, allocations: 167.1 kB / 0.6638 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.4108, allocations: 79.27 kB / 0.6639 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.4108, allocations: 0 / 0.6639 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.4109, allocations: 6.234 kB / 0.6639 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.4109, allocations: 2.734 kB / 0.6639 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.4109, allocations: 5.344 kB / 0.6639 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.139e-05/0.4109, allocations: 83.16 kB / 0.664 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4109, allocations: 1 kB / 0.664 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002351/0.4112, allocations: 17.48 kB / 0.664 GB, free: 5.617 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.0004356/0.4116, allocations: 0.7202 MB / 0.6647 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.4119, allocations: 34.33 kB / 0.6647 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4119, allocations: 0 / 0.6647 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.673e-05/0.412, allocations: 16.36 kB / 0.6648 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.4122, allocations: 7.016 kB / 0.6648 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.4126, allocations: 148.1 kB / 0.6649 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.4127, allocations: 0.6758 MB / 0.6656 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.4128, allocations: 1.375 kB / 0.6656 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.4128, allocations: 9.453 kB / 0.6656 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4128, allocations: 0 / 0.6656 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.4287, allocations: 1.496 MB / 0.667 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.153, allocations: 13.12 kB / 0.6671 GB, free: 3.328 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.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_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)