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.007573/0.007573, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001972/0.001972, allocations: 206.4 kB / 16.68 MB, free: 5.973 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8327/0.8327, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 70.22 kB / 0.5809 GB, free: 1.082 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1602, allocations: 80.2 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001763/0.162, allocations: 0.5741 MB / 0.6598 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004969/0.1625, allocations: 191.7 kB / 0.66 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.466e-05/0.1625, allocations: 0 / 0.66 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.1626, allocations: 0 / 0.66 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.646e-06/0.1626, allocations: 0 / 0.66 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.163, allocations: 55.83 kB / 0.66 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.851e-05/0.163, allocations: 0 / 0.66 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.506e-05/0.1631, allocations: 0 / 0.66 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.418e-05/0.1631, allocations: 4 kB / 0.66 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.774e-05/0.1631, allocations: 0 / 0.66 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.915e-06/0.1631, allocations: 7.938 kB / 0.66 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.1633, allocations: 63.86 kB / 0.6601 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.881e-06/0.1633, allocations: 0 / 0.6601 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.353e-05/0.1633, allocations: 0 / 0.6601 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.1635, allocations: 37.52 kB / 0.6601 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1635, allocations: 0 / 0.6601 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1635, allocations: 0 / 0.6601 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.1635, allocations: 4 kB / 0.6601 GB, free: 13.04 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.0003552/0.1639, allocations: 323.5 kB / 0.6605 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1639, allocations: 8.031 kB / 0.6605 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/0.1639, allocations: 34.69 kB / 0.6605 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.949e-05/0.164, allocations: 4.938 kB / 0.6605 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1641, allocations: 166.7 kB / 0.6607 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1641, allocations: 4.359 kB / 0.6607 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.1641, allocations: 384 / 0.6607 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.395e-05/0.1642, allocations: 26.27 kB / 0.6607 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1642, allocations: 3.938 kB / 0.6607 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.1642, allocations: 4 kB / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1642, allocations: 4 kB / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.657e-05/0.1642, allocations: 0 / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.1644, allocations: 145.7 kB / 0.6608 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.596e-05/0.1645, allocations: 26.53 kB / 0.6609 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.1645, allocations: 4.859 kB / 0.6609 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007241/0.1652, allocations: 457.5 kB / 0.6613 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.1652, allocations: 30.56 kB / 0.6613 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.1652, allocations: 0 / 0.6613 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001334/0.1654, allocations: 41.56 kB / 0.6614 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.1654, allocations: 51.41 kB / 0.6614 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.224e-05/0.1655, allocations: 89.86 kB / 0.6615 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1655, allocations: 29.83 kB / 0.6615 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.1655, allocations: 84.14 kB / 0.6616 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.1656, allocations: 7.953 kB / 0.6616 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.1656, allocations: 9.719 kB / 0.6616 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1657, allocations: 310.8 kB / 0.6619 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-06/0.1658, allocations: 0 / 0.6619 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.1658, allocations: 4 kB / 0.6619 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.1658, allocations: 8.922 kB / 0.6619 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1658, allocations: 7.938 kB / 0.6619 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6e-05/0.1659, allocations: 41.62 kB / 0.662 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1659, allocations: 4 kB / 0.662 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1659, allocations: 3.938 kB / 0.662 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1659, allocations: 0 / 0.662 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.77e-05/0.166, allocations: 7.938 kB / 0.662 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.166, allocations: 0 / 0.662 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-06/0.166, allocations: 0 / 0.662 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.166, allocations: 4 kB / 0.662 GB, free: 10.8 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 7.261e-05/0.1661, allocations: 110.5 kB / 0.6621 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-06/0.1661, allocations: 4 kB / 0.6621 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.246e-05/0.1662, allocations: 44.75 kB / 0.6622 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1662, allocations: 0 / 0.6622 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1662, allocations: 0 / 0.6622 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1662, allocations: 0 / 0.6622 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.1663, allocations: 145.7 kB / 0.6623 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1663, allocations: 0 / 0.6623 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.381e-05/0.1663, allocations: 7.938 kB / 0.6623 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1663, allocations: 4.031 kB / 0.6623 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.1664, allocations: 3.938 kB / 0.6623 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1664, allocations: 0 / 0.6623 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1664, allocations: 0 / 0.6623 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.367e-05/0.1664, allocations: 61.12 kB / 0.6624 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.1665, allocations: 77.11 kB / 0.6624 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.1665, allocations: 3.938 kB / 0.6624 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-06/0.1665, allocations: 4.031 kB / 0.6625 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.1665, allocations: 0 / 0.6625 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.1666, allocations: 0 / 0.6625 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.321e-05/0.1666, allocations: 79.28 kB / 0.6625 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1666, allocations: 0 / 0.6625 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002015/0.1668, allocations: 11.94 kB / 0.6625 GB, free: 10.15 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.0004601/0.1673, allocations: 0.6201 MB / 0.6631 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.569e-05/0.1673, allocations: 4 kB / 0.6631 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1674, allocations: 0 / 0.6631 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.698e-06/0.1674, allocations: 4 kB / 0.6632 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.1675, allocations: 9.656 kB / 0.6632 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.1678, allocations: 114.5 kB / 0.6633 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.1681, allocations: 0.669 MB / 0.6639 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.909e-06/0.1681, allocations: 4 kB / 0.6639 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.397e-05/0.1681, allocations: 7.438 kB / 0.6639 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1681, allocations: 0 / 0.6639 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.188, allocations: 1.132 MB / 0.665 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/7.981, allocations: 8.969 kB / 0.665 GB, free: 7.586 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)