Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_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.001528/0.001528, 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.001672/0.001672, allocations: 198.6 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9181/0.9181, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 64.8 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1598, allocations: 80.93 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002585/0.1625, allocations: 1.417 MB / 0.5859 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005029/0.163, allocations: 245.7 kB / 0.5861 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.874e-05/0.163, allocations: 0 / 0.5861 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.1631, allocations: 0 / 0.5861 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.1631, allocations: 3.938 kB / 0.5861 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.1634, allocations: 59.81 kB / 0.5862 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.452e-05/0.1635, allocations: 19.94 kB / 0.5862 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.629e-05/0.1636, allocations: 7.984 kB / 0.5862 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.568e-05/0.1636, allocations: 11.94 kB / 0.5862 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.1637, allocations: 11.92 kB / 0.5862 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.1637, allocations: 4 kB / 0.5862 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1638, allocations: 59.94 kB / 0.5863 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.1638, allocations: 11.92 kB / 0.5863 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.1639, allocations: 3.938 kB / 0.5863 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.164, allocations: 55.86 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.164, allocations: 4 kB / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.164, allocations: 0 / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.164, allocations: 0 / 0.5863 GB, free: 2.547 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.0004129/0.1645, allocations: 351.7 kB / 0.5867 GB, free: 2.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1645, allocations: 8.031 kB / 0.5867 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.895e-05/0.1645, allocations: 30.75 kB / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.1646, allocations: 8.922 kB / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1647, allocations: 164.3 kB / 0.5869 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1647, allocations: 384 / 0.5869 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.1647, allocations: 384 / 0.5869 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1649, allocations: 50.23 kB / 0.5869 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1649, allocations: 7.875 kB / 0.5869 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1649, allocations: 4 kB / 0.5869 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1649, allocations: 4 kB / 0.5869 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.1651, allocations: 27.97 kB / 0.587 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.1654, allocations: 253 kB / 0.5872 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1655, allocations: 42.5 kB / 0.5872 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.1656, allocations: 24.89 kB / 0.5873 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006117/0.1662, allocations: 449.5 kB / 0.5877 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1663, allocations: 38.5 kB / 0.5877 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.1663, allocations: 7.938 kB / 0.5877 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003402/0.1666, allocations: 77.64 kB / 0.5878 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.1667, allocations: 55.41 kB / 0.5879 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.318e-05/0.1667, allocations: 101.8 kB / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.1668, allocations: 25.7 kB / 0.588 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.1668, allocations: 84.27 kB / 0.5881 GB, free: 476 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.1668, allocations: 7.906 kB / 0.5881 GB, free: 468 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.1669, allocations: 13.72 kB / 0.5881 GB, free: 448 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.118e-05/0.1669, allocations: 318.8 kB / 0.5884 GB, free: 120 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-05/0.167, allocations: 15.98 kB / 0.5884 GB, free: 104 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.351e-05/0.1671, allocations: 19.92 kB / 0.5884 GB, free: 84 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.1673, allocations: 40.89 kB / 0.5885 GB, free: 40 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1673, allocations: 3.938 kB / 0.5885 GB, free: 36 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000202/0.1675, allocations: 61.66 kB / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1675, allocations: 8 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1675, allocations: 0 / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1675, allocations: 3.938 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.95e-05/0.1676, allocations: 7.984 kB / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1676, allocations: 4.031 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.1677, allocations: 7.984 kB / 0.5886 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1677, allocations: 4 kB / 0.5886 GB, free: 15.93 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 7.037e-05/0.1678, allocations: 117.7 kB / 0.5887 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.1678, allocations: 3.906 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.168, allocations: 68.78 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.168, allocations: 4.031 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1681, allocations: 0 / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1681, allocations: 0 / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.1682, allocations: 165.5 kB / 0.5889 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1682, allocations: 0 / 0.5889 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.1683, allocations: 8 kB / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1683, allocations: 0 / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.1683, allocations: 3.984 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1683, allocations: 0 / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1683, allocations: 0 / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.1685, allocations: 171.4 kB / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.1686, allocations: 77.11 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1686, allocations: 7.938 kB / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/0.1687, allocations: 8 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.1687, allocations: 7.984 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1687, allocations: 0 / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.51e-05/0.1688, allocations: 83.31 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1688, allocations: 0 / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002435/0.169, allocations: 12 kB / 0.5893 GB, free: 15.11 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.0005372/0.1696, allocations: 0.7202 MB / 0.59 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.1698, allocations: 39.95 kB / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1698, allocations: 0 / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.1699, allocations: 24.05 kB / 0.59 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.1701, allocations: 0 / 0.59 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.1705, allocations: 151 kB / 0.5902 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.1707, allocations: 0.6806 MB / 0.5908 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.829e-05/0.1707, allocations: 0 / 0.5908 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.1707, allocations: 11.44 kB / 0.5909 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1707, allocations: 0 / 0.5909 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.1883, allocations: 1.48 MB / 0.5923 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.252/7.44, allocations: 9.156 kB / 0.5923 GB, free: 11.98 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)