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.004735/0.004735, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001772/0.001772, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8526/0.8526, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001887, allocations: 68.06 kB / 0.5809 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1628, allocations: 80.2 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002633/0.1654, allocations: 1.431 MB / 0.6606 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005586/0.166, allocations: 256 kB / 0.6608 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.166, allocations: 0 / 0.6608 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.1661, allocations: 4 kB / 0.6608 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.124e-05/0.1661, allocations: 7.938 kB / 0.6608 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.1665, allocations: 63.8 kB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.276e-05/0.1665, allocations: 19.94 kB / 0.6609 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.036e-05/0.1666, allocations: 7.984 kB / 0.6609 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.757e-05/0.1667, allocations: 7.938 kB / 0.6609 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.1667, allocations: 11.98 kB / 0.6609 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.1668, allocations: 3.938 kB / 0.661 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.1669, allocations: 67.88 kB / 0.661 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.1669, allocations: 7.984 kB / 0.661 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.167, allocations: 7.938 kB / 0.661 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1671, allocations: 56.14 kB / 0.6611 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1671, allocations: 4 kB / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.72e-07/0.1671, allocations: 0 / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1671, allocations: 0 / 0.6611 GB, free: 8.785 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.0004617/0.1676, allocations: 343.4 kB / 0.6614 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1676, allocations: 8.031 kB / 0.6614 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.1677, allocations: 34.75 kB / 0.6615 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.176e-05/0.1677, allocations: 12.88 kB / 0.6615 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.1679, allocations: 164.3 kB / 0.6616 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1679, allocations: 384 / 0.6616 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-06/0.1679, allocations: 384 / 0.6616 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.1681, allocations: 58.16 kB / 0.6617 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.1681, allocations: 3.938 kB / 0.6617 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.1681, allocations: 0 / 0.6617 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1681, allocations: 4 kB / 0.6617 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.1683, allocations: 35.95 kB / 0.6617 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.1686, allocations: 244.9 kB / 0.662 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.1688, allocations: 46.42 kB / 0.662 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.256e-05/0.1689, allocations: 24.91 kB / 0.662 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007601/0.1696, allocations: 457.5 kB / 0.6625 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.1697, allocations: 34.56 kB / 0.6625 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1697, allocations: 0 / 0.6625 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003717/0.17, allocations: 85.58 kB / 0.6626 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.1701, allocations: 51.41 kB / 0.6626 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.1702, allocations: 105.8 kB / 0.6627 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1702, allocations: 25.7 kB / 0.6628 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.1703, allocations: 84.12 kB / 0.6628 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.1703, allocations: 7.953 kB / 0.6628 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.1703, allocations: 13.72 kB / 0.6629 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1705, allocations: 315 kB / 0.6632 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.1706, allocations: 15.98 kB / 0.6632 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.565e-05/0.1707, allocations: 19.97 kB / 0.6632 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.1709, allocations: 32.83 kB / 0.6632 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1709, allocations: 3.938 kB / 0.6632 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002005/0.1711, allocations: 73.72 kB / 0.6633 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1711, allocations: 4 kB / 0.6633 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1711, allocations: 0 / 0.6633 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1711, allocations: 4 kB / 0.6633 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/0.1712, allocations: 11.92 kB / 0.6633 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1712, allocations: 0 / 0.6633 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/0.1713, allocations: 4 kB / 0.6633 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.1713, allocations: 0 / 0.6633 GB, free: 6.176 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 8.886e-05/0.1714, allocations: 118.7 kB / 0.6634 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.1714, allocations: 11.88 kB / 0.6634 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.1717, allocations: 72.78 kB / 0.6635 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1717, allocations: 0 / 0.6635 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1717, allocations: 0 / 0.6635 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1717, allocations: 0 / 0.6635 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.1719, allocations: 157.6 kB / 0.6637 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1719, allocations: 4.031 kB / 0.6637 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.172, allocations: 15.98 kB / 0.6637 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.172, allocations: 3.938 kB / 0.6637 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.172, allocations: 0 / 0.6637 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.172, allocations: 0 / 0.6637 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.172, allocations: 0 / 0.6637 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.1723, allocations: 167.5 kB / 0.6638 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.1723, allocations: 77.11 kB / 0.6639 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.1723, allocations: 0 / 0.6639 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.1724, allocations: 7.984 kB / 0.6639 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.1725, allocations: 4 kB / 0.6639 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1725, allocations: 0 / 0.6639 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.737e-05/0.1725, allocations: 87.45 kB / 0.664 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1726, allocations: 0 / 0.664 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002339/0.1728, allocations: 15.94 kB / 0.664 GB, free: 5.344 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.0006902/0.1735, allocations: 0.728 MB / 0.6647 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.1737, allocations: 35.97 kB / 0.6648 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1737, allocations: 0 / 0.6648 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.345e-05/0.1738, allocations: 15.98 kB / 0.6648 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.174, allocations: 15.97 kB / 0.6648 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.1745, allocations: 135.2 kB / 0.6649 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1748, allocations: 0.6768 MB / 0.6656 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.1748, allocations: 3.984 kB / 0.6656 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.1749, allocations: 11.44 kB / 0.6656 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1749, allocations: 0 / 0.6656 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.1982, allocations: 1.494 MB / 0.6671 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.14, allocations: 2.672 kB / 0.6671 GB, free: 2.207 MB / 0.4981 GB (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)