Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_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.001115/0.001115, 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.001137/0.001137, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9497/0.9497, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001562, allocations: 65.02 kB / 0.5055 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1605, allocations: 80.92 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002817/0.1633, allocations: 1.421 MB / 0.5859 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005289/0.1639, allocations: 257.7 kB / 0.5861 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.97e-05/0.1639, allocations: 0 / 0.5861 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.164, allocations: 7.922 kB / 0.5861 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.194e-05/0.1641, allocations: 0 / 0.5861 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.1644, allocations: 59.81 kB / 0.5862 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.634e-05/0.1645, allocations: 23.94 kB / 0.5862 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.054e-05/0.1646, allocations: 7.984 kB / 0.5862 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.645e-05/0.1646, allocations: 7.938 kB / 0.5862 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.322e-05/0.1647, allocations: 7.984 kB / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.1647, allocations: 8 kB / 0.5862 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.1648, allocations: 67.86 kB / 0.5863 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.1649, allocations: 7.938 kB / 0.5863 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.1649, allocations: 4 kB / 0.5863 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.165, allocations: 55.84 kB / 0.5864 GB, free: 2.516 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1651, allocations: 0 / 0.5864 GB, free: 2.516 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1651, allocations: 0 / 0.5864 GB, free: 2.516 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1651, allocations: 0 / 0.5864 GB, free: 2.516 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.0004526/0.1655, allocations: 347.7 kB / 0.5867 GB, free: 2.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1656, allocations: 12.03 kB / 0.5867 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.1656, allocations: 30.75 kB / 0.5867 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.1656, allocations: 4.938 kB / 0.5867 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.1658, allocations: 164.3 kB / 0.5869 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1658, allocations: 4.312 kB / 0.5869 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1658, allocations: 4.375 kB / 0.5869 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.166, allocations: 50.17 kB / 0.5869 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.166, allocations: 11.94 kB / 0.587 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.166, allocations: 0 / 0.587 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.166, allocations: 4 kB / 0.587 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.1662, allocations: 31.95 kB / 0.587 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.1665, allocations: 244.9 kB / 0.5872 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.1667, allocations: 50.47 kB / 0.5873 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/0.1668, allocations: 20.91 kB / 0.5873 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007252/0.1675, allocations: 461.4 kB / 0.5877 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.1675, allocations: 34.56 kB / 0.5878 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1675, allocations: 4 kB / 0.5878 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003574/0.1679, allocations: 77.64 kB / 0.5878 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.1679, allocations: 55.41 kB / 0.5879 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.503e-05/0.168, allocations: 101.8 kB / 0.588 GB, free: 0.543 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.168, allocations: 25.7 kB / 0.588 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.1681, allocations: 88.12 kB / 0.5881 GB, free: 432 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.1681, allocations: 8.031 kB / 0.5881 GB, free: 424 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.1681, allocations: 13.72 kB / 0.5881 GB, free: 404 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.224e-05/0.1682, allocations: 314.8 kB / 0.5884 GB, free: 80 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-05/0.1683, allocations: 15.98 kB / 0.5884 GB, free: 64 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.1684, allocations: 19.97 kB / 0.5885 GB, free: 44 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.1686, allocations: 40.89 kB / 0.5885 GB, free: 0 / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/0.1686, allocations: 208 / 0.5885 GB, free: 16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001998/0.1688, allocations: 65.59 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1688, allocations: 8 kB / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1688, allocations: 0 / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1689, allocations: 0 / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.169, allocations: 11.92 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.169, allocations: 0 / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.169, allocations: 8.031 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.169, allocations: 4 kB / 0.5886 GB, free: 15.89 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 6.987e-05/0.1691, allocations: 117.8 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.1691, allocations: 3.906 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.1694, allocations: 68.78 kB / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1694, allocations: 0 / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1694, allocations: 4.031 kB / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1694, allocations: 0 / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1696, allocations: 161.5 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1696, allocations: 0 / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.1697, allocations: 11.98 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1697, allocations: 7.875 kB / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.1697, allocations: 0 / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1697, allocations: 0 / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.1697, allocations: 0 / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.1699, allocations: 171.4 kB / 0.5891 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.17, allocations: 81.11 kB / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.17, allocations: 7.984 kB / 0.5892 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.1701, allocations: 0 / 0.5892 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.1701, allocations: 8 kB / 0.5892 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1701, allocations: 3.984 kB / 0.5892 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.1702, allocations: 83.31 kB / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1702, allocations: 0 / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002472/0.1704, allocations: 16 kB / 0.5893 GB, free: 15.06 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.0006078/0.171, allocations: 0.7163 MB / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1713, allocations: 35.97 kB / 0.59 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1713, allocations: 0 / 0.59 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.395e-05/0.1714, allocations: 23.97 kB / 0.5901 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.1716, allocations: 8.062 kB / 0.5901 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.1721, allocations: 151 kB / 0.5902 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.1724, allocations: 0.6768 MB / 0.5909 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.1724, allocations: 0 / 0.5909 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.1724, allocations: 11.44 kB / 0.5909 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1724, allocations: 0 / 0.5909 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.1905, allocations: 1.482 MB / 0.5923 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.096/7.287, allocations: 10.69 kB / 0.5923 GB, free: 11.93 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)