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.0007757/0.0007758, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008365/0.0008365, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7381/0.7381, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003579, allocations: 8 kB / 0.5035 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3855, allocations: 81.58 MB / 0.5832 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.0005861/0.3861, allocations: 309.3 kB / 0.5835 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000349/0.3865, allocations: 177.8 kB / 0.5836 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.886e-06/0.3865, allocations: 0 / 0.5836 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.085e-06/0.3865, allocations: 0.75 kB / 0.5836 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.25e-06/0.3865, allocations: 0 / 0.5836 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.3868, allocations: 40.73 kB / 0.5837 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.728e-05/0.3868, allocations: 2.422 kB / 0.5837 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.3869, allocations: 0.6562 kB / 0.5837 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.125e-05/0.3869, allocations: 4.656 kB / 0.5837 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.994e-05/0.3869, allocations: 1.219 kB / 0.5837 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-06/0.3869, allocations: 0 / 0.5837 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.3871, allocations: 65.7 kB / 0.5837 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.979e-06/0.3871, allocations: 0 / 0.5837 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.421e-05/0.3871, allocations: 26.98 kB / 0.5838 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.084e-05/0.3872, allocations: 15.94 kB / 0.5838 GB, free: 3.609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3872, allocations: 0 / 0.5838 GB, free: 3.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3872, allocations: 0 / 0.5838 GB, free: 3.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.3872, allocations: 0.6562 kB / 0.5838 GB, free: 3.609 MB / 430.1 MB 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.0001794/0.3874, allocations: 323.8 kB / 0.5841 GB, free: 3.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3875, allocations: 9.969 kB / 0.5841 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.562e-05/0.3875, allocations: 31.17 kB / 0.5841 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.652e-05/0.3875, allocations: 3.953 kB / 0.5841 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.706e-05/0.3876, allocations: 160.9 kB / 0.5843 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.3876, allocations: 0.875 kB / 0.5843 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.3876, allocations: 1.062 kB / 0.5843 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.665e-05/0.3877, allocations: 31.84 kB / 0.5843 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.3877, allocations: 5.062 kB / 0.5843 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.3877, allocations: 4 kB / 0.5843 GB, free: 2.973 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.3877, allocations: 0 / 0.5843 GB, free: 2.973 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.651e-05/0.3877, allocations: 6.734 kB / 0.5843 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.394e-05/0.3878, allocations: 152 kB / 0.5845 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.894e-05/0.3878, allocations: 16.92 kB / 0.5845 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.192e-05/0.3879, allocations: 9.609 kB / 0.5845 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000554/0.3884, allocations: 464.1 kB / 0.5849 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.3884, allocations: 31.12 kB / 0.585 GB, free: 2.219 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3885, allocations: 0 / 0.585 GB, free: 2.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001032/0.3886, allocations: 32.39 kB / 0.585 GB, free: 2.188 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.55e-05/0.3886, allocations: 51.41 kB / 0.5851 GB, free: 2.125 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.714e-05/0.3886, allocations: 96.08 kB / 0.5851 GB, free: 2.023 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-06/0.3886, allocations: 25.7 kB / 0.5852 GB, free: 1.992 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.257e-06/0.3886, allocations: 80.14 kB / 0.5852 GB, free: 1.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.3887, allocations: 5.719 kB / 0.5853 GB, free: 1.906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-06/0.3887, allocations: 0 / 0.5853 GB, free: 1.906 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.864e-05/0.3887, allocations: 319.4 kB / 0.5856 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.076e-06/0.3887, allocations: 5.984 kB / 0.5856 GB, free: 1.582 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-06/0.3887, allocations: 0 / 0.5856 GB, free: 1.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.356e-05/0.3888, allocations: 6.469 kB / 0.5856 GB, free: 1.578 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3888, allocations: 0.7031 kB / 0.5856 GB, free: 1.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.978e-05/0.3888, allocations: 31.75 kB / 0.5856 GB, free: 1.547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.3888, allocations: 5.062 kB / 0.5856 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.3888, allocations: 1.094 kB / 0.5856 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.3888, allocations: 0.75 kB / 0.5856 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.315e-05/0.3889, allocations: 1.875 kB / 0.5856 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.3889, allocations: 0 / 0.5856 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.073e-05/0.3889, allocations: 1.672 kB / 0.5856 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.3889, allocations: 0 / 0.5856 GB, free: 1.547 MB / 430.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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.389, allocations: 117.2 kB / 0.5857 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-06/0.389, allocations: 1.156 kB / 0.5857 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.097e-05/0.389, allocations: 43.16 kB / 0.5858 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.389, allocations: 1.312 kB / 0.5858 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3891, allocations: 0 / 0.5858 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3891, allocations: 0.7969 kB / 0.5858 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.626e-05/0.3891, allocations: 159.6 kB / 0.5859 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3891, allocations: 1.484 kB / 0.5859 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.18e-05/0.3891, allocations: 2.062 kB / 0.5859 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3891, allocations: 4.828 kB / 0.5859 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.3892, allocations: 1.25 kB / 0.5859 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3892, allocations: 0 / 0.5859 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3892, allocations: 0 / 0.5859 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.828e-05/0.3892, allocations: 68.05 kB / 0.586 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.3892, allocations: 78.59 kB / 0.5861 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.3892, allocations: 4.75 kB / 0.5861 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-06/0.3893, allocations: 4.641 kB / 0.5861 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-06/0.3893, allocations: 1.938 kB / 0.5861 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.3893, allocations: 0 / 0.5861 GB, free: 1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.004e-05/0.3893, allocations: 76.31 kB / 0.5862 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3893, allocations: 0 / 0.5862 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.3895, allocations: 15.36 kB / 0.5862 GB, free: 0.9219 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002716/0.3898, allocations: 0.6146 MB / 0.5868 GB, free: 328 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.472e-05/0.3899, allocations: 11.91 kB / 0.5868 GB, free: 320 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3899, allocations: 0 / 0.5868 GB, free: 320 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-06/0.3899, allocations: 2.125 kB / 0.5868 GB, free: 320 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.39, allocations: 1.922 kB / 0.5868 GB, free: 320 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.3902, allocations: 107.4 kB / 0.5869 GB, free: 184 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.3904, allocations: 0.6761 MB / 0.5875 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.182e-05/0.3904, allocations: 0.6094 kB / 0.5875 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.228e-05/0.3904, allocations: 12.59 kB / 0.5876 GB, free: 15.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3905, allocations: 0 / 0.5876 GB, free: 15.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009591/0.4, allocations: 0.9473 MB / 0.5885 GB, free: 15.34 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/0.4002, allocations: 171.7 kB / 0.5886 GB, free: 15.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/1.918, allocations: 0 / 0.5886 GB, free: 15.1 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: