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.001579/0.001579, 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.001913/0.001913, allocations: 193.9 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.333/1.333, 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.7481/0.7481, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 66.83 kB / 0.5019 GB, free: 8.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1439, allocations: 80.21 MB / 0.5802 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002568/0.1465, allocations: 1.422 MB / 0.5816 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005164/0.1471, allocations: 249.8 kB / 0.5818 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.1471, allocations: 0 / 0.5818 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.1471, allocations: 3.938 kB / 0.5818 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.422e-05/0.1472, allocations: 3.984 kB / 0.5818 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.1476, allocations: 59.81 kB / 0.5819 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.178e-05/0.1476, allocations: 19.94 kB / 0.5819 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.735e-05/0.1477, allocations: 11.98 kB / 0.5819 GB, free: 6.922 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.829e-05/0.1478, allocations: 11.94 kB / 0.5819 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.1478, allocations: 7.984 kB / 0.5819 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.1479, allocations: 4 kB / 0.5819 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.148, allocations: 59.88 kB / 0.582 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.148, allocations: 4 kB / 0.582 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.1481, allocations: 15.92 kB / 0.582 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.1482, allocations: 51.86 kB / 0.5821 GB, free: 6.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1482, allocations: 0 / 0.5821 GB, free: 6.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1482, allocations: 0 / 0.5821 GB, free: 6.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1482, allocations: 4 kB / 0.5821 GB, free: 6.766 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004256/0.1487, allocations: 347.7 kB / 0.5824 GB, free: 6.375 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1487, allocations: 8.031 kB / 0.5824 GB, free: 6.367 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.1487, allocations: 30.75 kB / 0.5824 GB, free: 6.328 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.1488, allocations: 4.938 kB / 0.5825 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1489, allocations: 164.4 kB / 0.5826 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1489, allocations: 4.375 kB / 0.5826 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.1489, allocations: 4.375 kB / 0.5826 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1491, allocations: 54.17 kB / 0.5827 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1491, allocations: 3.938 kB / 0.5827 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.1491, allocations: 4 kB / 0.5827 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1491, allocations: 0 / 0.5827 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.1493, allocations: 27.97 kB / 0.5827 GB, free: 6.023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.1496, allocations: 248.9 kB / 0.5829 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.1498, allocations: 42.5 kB / 0.583 GB, free: 5.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.695e-05/0.1499, allocations: 20.91 kB / 0.583 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006415/0.1505, allocations: 465.4 kB / 0.5834 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1506, allocations: 30.56 kB / 0.5835 GB, free: 5.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.1506, allocations: 3.938 kB / 0.5835 GB, free: 5.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003526/0.1509, allocations: 81.64 kB / 0.5836 GB, free: 4.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.151, allocations: 55.34 kB / 0.5836 GB, free: 4.914 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.884e-05/0.151, allocations: 97.98 kB / 0.5837 GB, free: 4.809 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.151, allocations: 33.69 kB / 0.5837 GB, free: 4.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.1511, allocations: 80.14 kB / 0.5838 GB, free: 4.688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.1511, allocations: 7.906 kB / 0.5838 GB, free: 4.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.1511, allocations: 9.719 kB / 0.5838 GB, free: 4.664 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.1512, allocations: 314.8 kB / 0.5841 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.671e-05/0.1513, allocations: 23.91 kB / 0.5841 GB, free: 4.324 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.1514, allocations: 19.98 kB / 0.5842 GB, free: 4.305 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1516, allocations: 36.83 kB / 0.5842 GB, free: 4.266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1516, allocations: 3.938 kB / 0.5842 GB, free: 4.262 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001958/0.1518, allocations: 61.66 kB / 0.5843 GB, free: 4.195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1518, allocations: 8 kB / 0.5843 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1518, allocations: 192 / 0.5843 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1518, allocations: 4.094 kB / 0.5843 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.941e-05/0.1519, allocations: 7.984 kB / 0.5843 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1519, allocations: 4 kB / 0.5843 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.152, allocations: 7.984 kB / 0.5843 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.152, allocations: 3.938 kB / 0.5843 GB, free: 4.16 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 (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 7.464e-05/0.1521, allocations: 118.4 kB / 0.5844 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.1521, allocations: 0 / 0.5844 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.1524, allocations: 76.69 kB / 0.5845 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1524, allocations: 0 / 0.5845 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1524, allocations: 0 / 0.5845 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1524, allocations: 4 kB / 0.5845 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.1525, allocations: 161.5 kB / 0.5846 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1525, allocations: 3.984 kB / 0.5846 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.1526, allocations: 12 kB / 0.5847 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1526, allocations: 0 / 0.5847 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1526, allocations: 0 / 0.5847 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1526, allocations: 4.031 kB / 0.5847 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1526, allocations: 0 / 0.5847 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.1529, allocations: 163.4 kB / 0.5848 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.1529, allocations: 85.09 kB / 0.5849 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.1529, allocations: 0 / 0.5849 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.067e-05/0.153, allocations: 8.031 kB / 0.5849 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.1531, allocations: 11.92 kB / 0.5849 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1531, allocations: 0 / 0.5849 GB, free: 3.422 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.265e-05/0.1531, allocations: 79.28 kB / 0.585 GB, free: 3.344 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1531, allocations: 0 / 0.585 GB, free: 3.344 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.1534, allocations: 15.94 kB / 0.585 GB, free: 3.328 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 (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.0005782/0.154, allocations: 0.7241 MB / 0.5857 GB, free: 2.578 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.1542, allocations: 35.97 kB / 0.5858 GB, free: 2.543 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1542, allocations: 4.094 kB / 0.5858 GB, free: 2.539 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.953e-05/0.1543, allocations: 23.97 kB / 0.5858 GB, free: 2.516 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.1545, allocations: 2.531 kB / 0.5858 GB, free: 2.516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.1549, allocations: 151 kB / 0.5859 GB, free: 2.328 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.1552, allocations: 0.6768 MB / 0.5866 GB, free: 1.625 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.186e-05/0.1552, allocations: 4.062 kB / 0.5866 GB, free: 1.621 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.1553, allocations: 11.42 kB / 0.5866 GB, free: 1.609 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1553, allocations: 0 / 0.5866 GB, free: 1.609 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.1732, allocations: 1.451 MB / 0.588 GB, free: 228 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/7.333, allocations: 9.188 kB / 0.588 GB, free: 224 kB / 494.1 MB (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)