Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_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.007023/0.007023, allocations: 96.53 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.001418/0.001417, allocations: 196.6 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.312/1.312, 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.7266/0.7266, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 73.06 kB / 0.5809 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1417, allocations: 80.2 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001703/0.1434, allocations: 0.5759 MB / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004862/0.144, allocations: 191.7 kB / 0.66 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.332e-05/0.144, allocations: 8 kB / 0.66 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.144, allocations: 0 / 0.66 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.144, allocations: 0 / 0.66 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.1444, allocations: 47.84 kB / 0.66 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.794e-05/0.1445, allocations: 0 / 0.66 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.1445, allocations: 4 kB / 0.66 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.406e-05/0.1445, allocations: 0 / 0.66 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.736e-05/0.1446, allocations: 0 / 0.66 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.593e-06/0.1446, allocations: 0 / 0.66 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.1447, allocations: 63.86 kB / 0.6601 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.644e-06/0.1448, allocations: 0 / 0.6601 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.725e-05/0.1448, allocations: 11.94 kB / 0.6601 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.1449, allocations: 40.09 kB / 0.6601 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.1449, allocations: 4 kB / 0.6601 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1449, allocations: 0 / 0.6601 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1449, allocations: 0 / 0.6601 GB, free: 13.02 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.0003502/0.1453, allocations: 315.5 kB / 0.6604 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1453, allocations: 12.03 kB / 0.6605 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.1454, allocations: 30.75 kB / 0.6605 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.1454, allocations: 0.9375 kB / 0.6605 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1455, allocations: 162.7 kB / 0.6606 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.1455, allocations: 4.375 kB / 0.6606 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.1456, allocations: 384 / 0.6607 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.27e-05/0.1457, allocations: 34.2 kB / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1457, allocations: 3.938 kB / 0.6607 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.1457, allocations: 0 / 0.6607 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1457, allocations: 0 / 0.6607 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/0.1457, allocations: 3.984 kB / 0.6607 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.1459, allocations: 149.7 kB / 0.6608 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.986e-05/0.1459, allocations: 18.58 kB / 0.6609 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.146, allocations: 4.859 kB / 0.6609 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007759/0.1467, allocations: 457.5 kB / 0.6613 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1468, allocations: 34.5 kB / 0.6613 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.1468, allocations: 4 kB / 0.6613 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.1469, allocations: 33.64 kB / 0.6614 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.147, allocations: 55.41 kB / 0.6614 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.322e-05/0.147, allocations: 89.86 kB / 0.6615 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.147, allocations: 29.7 kB / 0.6615 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.236e-05/0.1471, allocations: 80.14 kB / 0.6616 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.1471, allocations: 3.953 kB / 0.6616 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.1471, allocations: 13.7 kB / 0.6616 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.1472, allocations: 319 kB / 0.6619 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.1472, allocations: 0 / 0.6619 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-06/0.1473, allocations: 7.875 kB / 0.6619 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.054e-05/0.1473, allocations: 8.859 kB / 0.6619 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1473, allocations: 0 / 0.6619 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.019e-05/0.1474, allocations: 33.7 kB / 0.662 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1474, allocations: 5.875 kB / 0.662 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1474, allocations: 8.031 kB / 0.662 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1474, allocations: 4 kB / 0.662 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.574e-05/0.1474, allocations: 3.984 kB / 0.662 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1474, allocations: 0 / 0.662 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-06/0.1475, allocations: 0 / 0.662 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.1475, allocations: 7.938 kB / 0.662 GB, free: 10.79 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 5.451e-05/0.1475, allocations: 106.5 kB / 0.6621 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-06/0.1475, allocations: 0 / 0.6621 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.958e-05/0.1476, allocations: 48.69 kB / 0.6621 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1476, allocations: 4.031 kB / 0.6622 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1476, allocations: 3.984 kB / 0.6622 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1477, allocations: 0 / 0.6622 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.942e-05/0.1477, allocations: 149.7 kB / 0.6623 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1477, allocations: 0 / 0.6623 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.148e-05/0.1478, allocations: 0 / 0.6623 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1478, allocations: 0 / 0.6623 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1478, allocations: 3.938 kB / 0.6623 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1478, allocations: 4 kB / 0.6623 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1478, allocations: 0 / 0.6623 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.374e-05/0.1479, allocations: 65.06 kB / 0.6624 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.1479, allocations: 77.11 kB / 0.6624 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.1479, allocations: 3.938 kB / 0.6624 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-06/0.1479, allocations: 4 kB / 0.6625 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.1479, allocations: 0 / 0.6625 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.148, allocations: 3.984 kB / 0.6625 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.894e-05/0.148, allocations: 75.28 kB / 0.6625 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.148, allocations: 0 / 0.6625 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002014/0.1482, allocations: 19.97 kB / 0.6625 GB, free: 10.13 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.0003924/0.1486, allocations: 0.6085 MB / 0.6631 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.566e-05/0.1487, allocations: 7.938 kB / 0.6631 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1487, allocations: 3.938 kB / 0.6632 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.931e-06/0.1487, allocations: 4 kB / 0.6632 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.1488, allocations: 3.234 kB / 0.6632 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.1491, allocations: 114.6 kB / 0.6633 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.1493, allocations: 0.669 MB / 0.6639 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.1e-05/0.1493, allocations: 0 / 0.6639 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.382e-05/0.1493, allocations: 11.56 kB / 0.6639 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1493, allocations: 0 / 0.6639 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.1646, allocations: 1.13 MB / 0.665 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.65/7.815, allocations: 12.59 kB / 0.665 GB, free: 7.57 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)