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.001266/0.001266, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 194.7 kB / 16.53 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7455/0.7455, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 69.41 kB / 0.5019 GB, free: 8.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1449, allocations: 80.2 MB / 0.5802 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001863/0.1468, allocations: 0.574 MB / 0.5808 GB, free: 8.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004314/0.1472, allocations: 183.4 kB / 0.5809 GB, free: 7.891 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.102e-05/0.1472, allocations: 0 / 0.5809 GB, free: 7.891 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.1473, allocations: 4 kB / 0.5809 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.1473, allocations: 0 / 0.5809 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.1476, allocations: 59.7 kB / 0.581 GB, free: 7.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.284e-05/0.1477, allocations: 4 kB / 0.581 GB, free: 7.824 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.1477, allocations: 0 / 0.581 GB, free: 7.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.355e-05/0.1477, allocations: 3.984 kB / 0.581 GB, free: 7.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.631e-05/0.1478, allocations: 0 / 0.581 GB, free: 7.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.911e-06/0.1478, allocations: 0 / 0.581 GB, free: 7.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.1479, allocations: 63.88 kB / 0.5811 GB, free: 7.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.624e-06/0.1479, allocations: 0 / 0.5811 GB, free: 7.758 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.57e-05/0.148, allocations: 0 / 0.5811 GB, free: 7.758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.1481, allocations: 43.94 kB / 0.5811 GB, free: 7.715 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1481, allocations: 0 / 0.5811 GB, free: 7.715 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1481, allocations: 0 / 0.5811 GB, free: 7.715 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1481, allocations: 0 / 0.5811 GB, free: 7.715 MB / 494.1 MB 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.0002894/0.1484, allocations: 315.6 kB / 0.5814 GB, free: 7.355 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1484, allocations: 8.031 kB / 0.5814 GB, free: 7.348 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.258e-05/0.1485, allocations: 30.75 kB / 0.5814 GB, free: 7.309 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.1485, allocations: 4.922 kB / 0.5815 GB, free: 7.305 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.699e-05/0.1486, allocations: 160.4 kB / 0.5816 GB, free: 7.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1486, allocations: 384 / 0.5816 GB, free: 7.109 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.1486, allocations: 16.31 kB / 0.5816 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.94e-05/0.1487, allocations: 30.2 kB / 0.5817 GB, free: 7.059 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1488, allocations: 3.938 kB / 0.5817 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1488, allocations: 0 / 0.5817 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1488, allocations: 0 / 0.5817 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.351e-05/0.1488, allocations: 8 kB / 0.5817 GB, free: 7.047 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.1489, allocations: 145.7 kB / 0.5818 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.972e-05/0.149, allocations: 18.58 kB / 0.5818 GB, free: 6.828 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.149, allocations: 8.953 kB / 0.5818 GB, free: 6.816 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007084/0.1497, allocations: 453.4 kB / 0.5823 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1498, allocations: 38.55 kB / 0.5823 GB, free: 6.234 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1498, allocations: 4 kB / 0.5823 GB, free: 6.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001315/0.1499, allocations: 33.64 kB / 0.5823 GB, free: 6.191 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.15, allocations: 51.41 kB / 0.5824 GB, free: 6.129 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.622e-05/0.15, allocations: 93.86 kB / 0.5825 GB, free: 6.027 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.15, allocations: 25.7 kB / 0.5825 GB, free: 5.996 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.401e-05/0.15, allocations: 80.14 kB / 0.5826 GB, free: 5.914 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.1501, allocations: 3.906 kB / 0.5826 GB, free: 5.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.1501, allocations: 13.72 kB / 0.5826 GB, free: 5.891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.1502, allocations: 315 kB / 0.5829 GB, free: 5.574 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.1502, allocations: 0 / 0.5829 GB, free: 5.574 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-06/0.1502, allocations: 11.92 kB / 0.5829 GB, free: 5.562 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.429e-05/0.1503, allocations: 8.859 kB / 0.5829 GB, free: 5.551 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1503, allocations: 3.938 kB / 0.5829 GB, free: 5.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.145e-05/0.1503, allocations: 33.7 kB / 0.5829 GB, free: 5.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1503, allocations: 4 kB / 0.5829 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1504, allocations: 3.938 kB / 0.583 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1504, allocations: 4.094 kB / 0.583 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.62e-05/0.1504, allocations: 0 / 0.583 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1504, allocations: 4 kB / 0.583 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-06/0.1504, allocations: 0 / 0.583 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1505, allocations: 3.984 kB / 0.583 GB, free: 5.488 MB / 494.1 MB 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 6.228e-05/0.1505, allocations: 114.4 kB / 0.5831 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-06/0.1505, allocations: 0 / 0.5831 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.141e-05/0.1506, allocations: 40.77 kB / 0.5831 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1506, allocations: 0 / 0.5831 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1506, allocations: 11.97 kB / 0.5831 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.1506, allocations: 0 / 0.5831 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.031e-05/0.1507, allocations: 145.7 kB / 0.5833 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1507, allocations: 0 / 0.5833 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-05/0.1507, allocations: 0 / 0.5833 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1507, allocations: 4 kB / 0.5833 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.1508, allocations: 3.938 kB / 0.5833 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1508, allocations: 0 / 0.5833 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1508, allocations: 4 kB / 0.5833 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.405e-05/0.1508, allocations: 65.06 kB / 0.5833 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.1509, allocations: 81.11 kB / 0.5834 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.1509, allocations: 3.938 kB / 0.5834 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.1509, allocations: 0 / 0.5834 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-06/0.1509, allocations: 0 / 0.5834 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.1509, allocations: 0 / 0.5834 GB, free: 4.918 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.47e-05/0.1509, allocations: 75.28 kB / 0.5835 GB, free: 4.844 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.151, allocations: 0 / 0.5835 GB, free: 4.844 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001954/0.1512, allocations: 12 kB / 0.5835 GB, free: 4.832 MB / 494.1 MB 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.0003882/0.1515, allocations: 0.6205 MB / 0.5841 GB, free: 4.184 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.857e-05/0.1516, allocations: 8.031 kB / 0.5841 GB, free: 4.176 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1516, allocations: 0 / 0.5841 GB, free: 4.176 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.821e-06/0.1516, allocations: 0 / 0.5841 GB, free: 4.176 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.1518, allocations: 8 kB / 0.5841 GB, free: 4.168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.152, allocations: 116.3 kB / 0.5842 GB, free: 4.016 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.1523, allocations: 0.669 MB / 0.5849 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.006e-05/0.1523, allocations: 0 / 0.5849 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.1523, allocations: 11.38 kB / 0.5849 GB, free: 3.312 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1523, allocations: 4.125 kB / 0.5849 GB, free: 3.309 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.1686, allocations: 1.11 MB / 0.586 GB, free: 2.281 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/7.51, allocations: 5.469 kB / 0.586 GB, free: 2.277 MB / 494.1 MB (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)