Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_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.001413/0.001413, allocations: 108 kB / 15.61 MB, free: 152 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.001105/0.001105, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7606/0.7606, allocations: 132.2 MB / 422.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002028, allocations: 59.81 kB / 0.5019 GB, free: 8.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1645, allocations: 80.2 MB / 0.5802 GB, free: 8.746 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002582/0.1671, allocations: 1.434 MB / 0.5816 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004833/0.1676, allocations: 249.8 kB / 0.5818 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.1677, allocations: 4 kB / 0.5818 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.1677, allocations: 0 / 0.5818 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.753e-05/0.1677, allocations: 3.938 kB / 0.5818 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.1681, allocations: 59.83 kB / 0.5819 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.404e-05/0.1681, allocations: 23.92 kB / 0.5819 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.78e-05/0.1682, allocations: 7.984 kB / 0.5819 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.446e-05/0.1683, allocations: 11.94 kB / 0.5819 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.15e-05/0.1683, allocations: 7.984 kB / 0.5819 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.1683, allocations: 0 / 0.5819 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.1684, allocations: 67.88 kB / 0.582 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.1685, allocations: 8 kB / 0.582 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.1685, allocations: 3.938 kB / 0.582 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.1686, allocations: 59.84 kB / 0.5821 GB, free: 6.793 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1686, allocations: 0 / 0.5821 GB, free: 6.793 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1686, allocations: 0 / 0.5821 GB, free: 6.793 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1687, allocations: 0 / 0.5821 GB, free: 6.793 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.0004387/0.1691, allocations: 347.7 kB / 0.5824 GB, free: 6.402 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1692, allocations: 12.03 kB / 0.5824 GB, free: 6.391 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/0.1692, allocations: 38.73 kB / 0.5825 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/0.1692, allocations: 0.9375 kB / 0.5825 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1693, allocations: 168.4 kB / 0.5826 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1693, allocations: 384 / 0.5826 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1694, allocations: 384 / 0.5826 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.1695, allocations: 54.17 kB / 0.5827 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1695, allocations: 3.938 kB / 0.5827 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1696, allocations: 0 / 0.5827 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1696, allocations: 0 / 0.5827 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.1697, allocations: 35.97 kB / 0.5827 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.17, allocations: 252.9 kB / 0.583 GB, free: 5.746 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.1702, allocations: 42.44 kB / 0.583 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.517e-05/0.1703, allocations: 24.91 kB / 0.583 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006436/0.1709, allocations: 457.5 kB / 0.5835 GB, free: 5.129 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.171, allocations: 34.5 kB / 0.5835 GB, free: 5.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.171, allocations: 0 / 0.5835 GB, free: 5.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003413/0.1713, allocations: 85.64 kB / 0.5836 GB, free: 4.996 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.1713, allocations: 51.41 kB / 0.5836 GB, free: 4.934 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.882e-05/0.1714, allocations: 101.8 kB / 0.5837 GB, free: 4.824 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.1714, allocations: 25.7 kB / 0.5837 GB, free: 4.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.1715, allocations: 92.12 kB / 0.5838 GB, free: 4.699 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.1715, allocations: 7.844 kB / 0.5838 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.1715, allocations: 17.84 kB / 0.5839 GB, free: 4.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.1716, allocations: 314.8 kB / 0.5842 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.1717, allocations: 15.97 kB / 0.5842 GB, free: 4.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.1718, allocations: 15.98 kB / 0.5842 GB, free: 4.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.1719, allocations: 40.83 kB / 0.5842 GB, free: 4.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.172, allocations: 8 kB / 0.5842 GB, free: 4.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001915/0.1722, allocations: 65.66 kB / 0.5843 GB, free: 4.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1722, allocations: 4 kB / 0.5843 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1722, allocations: 0 / 0.5843 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1722, allocations: 0 / 0.5843 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/0.1723, allocations: 15.92 kB / 0.5843 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1723, allocations: 0 / 0.5843 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.812e-05/0.1723, allocations: 8.016 kB / 0.5843 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.1724, allocations: 4 kB / 0.5843 GB, free: 4.168 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 6.438e-05/0.1724, allocations: 118.4 kB / 0.5844 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.1725, allocations: 0 / 0.5844 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.1727, allocations: 68.69 kB / 0.5845 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1727, allocations: 0 / 0.5845 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1727, allocations: 4 kB / 0.5845 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1727, allocations: 4.031 kB / 0.5845 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.1729, allocations: 165.5 kB / 0.5847 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1729, allocations: 0 / 0.5847 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/0.1729, allocations: 4 kB / 0.5847 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.173, allocations: 0 / 0.5847 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.173, allocations: 8.172 kB / 0.5847 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.173, allocations: 3.938 kB / 0.5847 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.173, allocations: 0 / 0.5847 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.1732, allocations: 171.4 kB / 0.5848 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.1733, allocations: 81.05 kB / 0.5849 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.1733, allocations: 0 / 0.5849 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.1734, allocations: 4 kB / 0.5849 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.1734, allocations: 7.984 kB / 0.5849 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1734, allocations: 4 kB / 0.5849 GB, free: 3.434 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.216e-05/0.1735, allocations: 75.28 kB / 0.585 GB, free: 3.359 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1735, allocations: 4.031 kB / 0.585 GB, free: 3.355 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.1737, allocations: 16 kB / 0.585 GB, free: 3.34 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.0005687/0.1743, allocations: 0.724 MB / 0.5857 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1745, allocations: 35.95 kB / 0.5858 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1745, allocations: 0 / 0.5858 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.714e-05/0.1746, allocations: 19.98 kB / 0.5858 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.1748, allocations: 2.312 kB / 0.5858 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.1753, allocations: 151 kB / 0.5859 GB, free: 2.348 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.1755, allocations: 0.6768 MB / 0.5866 GB, free: 1.645 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.097e-05/0.1755, allocations: 4 kB / 0.5866 GB, free: 1.641 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.1755, allocations: 15.44 kB / 0.5866 GB, free: 1.625 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1755, allocations: 0 / 0.5866 GB, free: 1.625 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.1915, allocations: 1.459 MB / 0.588 GB, free: 240 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.182/7.373, allocations: 4.641 kB / 0.588 GB, free: 236 kB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)