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.00113/0.001131, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00122/0.00122, allocations: 190.6 kB / 16.25 MB, free: 6.59 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.276/1.276, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9081/0.9081, allocations: 135.1 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 61.34 kB / 0.505 GB, free: 5.535 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1613, allocations: 80.93 MB / 0.584 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.00251/0.1639, allocations: 1.473 MB / 0.5854 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004872/0.1644, allocations: 244.1 kB / 0.5857 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.226e-05/0.1644, allocations: 0 / 0.5857 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.1645, allocations: 3.938 kB / 0.5857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.771e-05/0.1645, allocations: 3.984 kB / 0.5857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.1648, allocations: 51.91 kB / 0.5857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.58e-05/0.1649, allocations: 19.92 kB / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.546e-05/0.165, allocations: 11.94 kB / 0.5858 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.165, allocations: 11.92 kB / 0.5858 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.427e-05/0.1651, allocations: 11.98 kB / 0.5858 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.347e-06/0.1651, allocations: 4 kB / 0.5858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.1652, allocations: 63.88 kB / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.1653, allocations: 4 kB / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.1653, allocations: 11.92 kB / 0.5859 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.1654, allocations: 55.86 kB / 0.5859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1654, allocations: 0 / 0.5859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1654, allocations: 0 / 0.5859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1655, allocations: 0 / 0.5859 GB, free: 2.781 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.0004089/0.1659, allocations: 351.7 kB / 0.5862 GB, free: 2.387 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1659, allocations: 12.03 kB / 0.5863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.166, allocations: 30.75 kB / 0.5863 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.166, allocations: 0.9375 kB / 0.5863 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.485e-05/0.1661, allocations: 172.2 kB / 0.5864 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1661, allocations: 4.375 kB / 0.5865 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.1661, allocations: 4.375 kB / 0.5865 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1663, allocations: 50.23 kB / 0.5865 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.1663, allocations: 7.938 kB / 0.5865 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1663, allocations: 4 kB / 0.5865 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1663, allocations: 0 / 0.5865 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.1665, allocations: 31.97 kB / 0.5865 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.1668, allocations: 248.9 kB / 0.5868 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1669, allocations: 42.5 kB / 0.5868 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/0.167, allocations: 16.91 kB / 0.5868 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006456/0.1677, allocations: 457.5 kB / 0.5873 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1677, allocations: 38.5 kB / 0.5873 GB, free: 1.074 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.1677, allocations: 0 / 0.5873 GB, free: 1.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003795/0.1681, allocations: 85.58 kB / 0.5874 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.1681, allocations: 51.41 kB / 0.5874 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.385e-05/0.1682, allocations: 93.86 kB / 0.5875 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1683, allocations: 29.7 kB / 0.5876 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.1683, allocations: 92.25 kB / 0.5876 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1683, allocations: 3.906 kB / 0.5877 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.1684, allocations: 9.719 kB / 0.5877 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1685, allocations: 318.8 kB / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.1686, allocations: 11.98 kB / 0.588 GB, free: 348 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.1687, allocations: 19.97 kB / 0.588 GB, free: 328 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1689, allocations: 40.89 kB / 0.588 GB, free: 284 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1689, allocations: 3.938 kB / 0.588 GB, free: 280 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001935/0.1691, allocations: 69.59 kB / 0.5881 GB, free: 204 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1691, allocations: 7.938 kB / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1691, allocations: 0 / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1691, allocations: 192 / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/0.1692, allocations: 16.02 kB / 0.5881 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1692, allocations: 0 / 0.5881 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.1693, allocations: 4 kB / 0.5881 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1693, allocations: 0 / 0.5881 GB, free: 176 kB / 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.732e-05/0.1693, allocations: 117.8 kB / 0.5882 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.1694, allocations: 11.89 kB / 0.5883 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.1696, allocations: 72.72 kB / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1696, allocations: 0 / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1696, allocations: 0 / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1696, allocations: 4 kB / 0.5883 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.1698, allocations: 161.5 kB / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1698, allocations: 0 / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.1698, allocations: 7.984 kB / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1699, allocations: 0 / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1699, allocations: 8 kB / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1699, allocations: 0 / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1699, allocations: 0 / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.1701, allocations: 167.5 kB / 0.5887 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.1701, allocations: 81.05 kB / 0.5887 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.1702, allocations: 3.984 kB / 0.5887 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.1702, allocations: 4 kB / 0.5887 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.1703, allocations: 4 kB / 0.5887 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1703, allocations: 15.95 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.1703, allocations: 75.28 kB / 0.5888 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1703, allocations: 0 / 0.5888 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000237/0.1706, allocations: 16 kB / 0.5889 GB, free: 15.34 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.0005601/0.1711, allocations: 0.7163 MB / 0.5895 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1713, allocations: 31.97 kB / 0.5896 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1714, allocations: 3.938 kB / 0.5896 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.1715, allocations: 28.06 kB / 0.5896 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.1717, allocations: 4 kB / 0.5896 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.1721, allocations: 147 kB / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.1723, allocations: 0.6768 MB / 0.5904 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.079e-05/0.1723, allocations: 4 kB / 0.5904 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.1723, allocations: 11.38 kB / 0.5904 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1723, allocations: 4.062 kB / 0.5904 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.183, allocations: 1.347 MB / 0.5917 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.1832, allocations: 180.9 kB / 0.5919 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/1.856, allocations: 0 / 0.5919 GB, free: 12.13 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)