Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_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.0007623/0.0007623, allocations: 91.84 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.0008462/0.0008463, 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.326/1.326, allocations: 223.3 MB / 240 MB, free: 5.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7356/0.7356, allocations: 132.3 MB / 423.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003363, allocations: 8 kB / 0.5035 GB, free: 4.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3904, allocations: 81.57 MB / 0.5832 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001881/0.3923, allocations: 1.143 MB / 0.5843 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005007/0.3928, allocations: 232.6 kB / 0.5845 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.3929, allocations: 1 kB / 0.5845 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.3929, allocations: 0.75 kB / 0.5845 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.606e-05/0.3929, allocations: 0.6562 kB / 0.5845 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.3933, allocations: 45.41 kB / 0.5845 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.717e-05/0.3933, allocations: 19.23 kB / 0.5846 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.833e-05/0.3934, allocations: 8.828 kB / 0.5846 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.823e-05/0.3935, allocations: 8.812 kB / 0.5846 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.811e-05/0.3935, allocations: 9 kB / 0.5846 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.3935, allocations: 1.25 kB / 0.5846 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.3937, allocations: 63.89 kB / 0.5846 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.3937, allocations: 1.125 kB / 0.5846 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.3937, allocations: 30.64 kB / 0.5847 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.3939, allocations: 37.34 kB / 0.5847 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3939, allocations: 0.7188 kB / 0.5847 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3939, allocations: 0 / 0.5847 GB, free: 2.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.3939, allocations: 4.625 kB / 0.5847 GB, free: 2.875 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003764/0.3943, allocations: 348.8 kB / 0.585 GB, free: 2.516 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3943, allocations: 9.031 kB / 0.5851 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.018e-05/0.3943, allocations: 35.8 kB / 0.5851 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.3944, allocations: 5.406 kB / 0.5851 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.82e-05/0.3945, allocations: 166.4 kB / 0.5853 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3945, allocations: 1.906 kB / 0.5853 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.3945, allocations: 0.6562 kB / 0.5853 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.3947, allocations: 53.17 kB / 0.5853 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3947, allocations: 1.312 kB / 0.5853 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.3947, allocations: 0 / 0.5853 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3947, allocations: 0 / 0.5853 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.3949, allocations: 46.5 kB / 0.5854 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.3952, allocations: 259.5 kB / 0.5856 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.3953, allocations: 44.97 kB / 0.5856 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/0.3954, allocations: 29.3 kB / 0.5857 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005462/0.3959, allocations: 458 kB / 0.5861 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.396, allocations: 32.45 kB / 0.5861 GB, free: 1.383 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.396, allocations: 0 / 0.5861 GB, free: 1.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000343/0.3963, allocations: 105.9 kB / 0.5862 GB, free: 1.332 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.3964, allocations: 57.11 kB / 0.5863 GB, free: 1.266 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.049e-05/0.3964, allocations: 100 kB / 0.5864 GB, free: 1.164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.652e-06/0.3965, allocations: 26.55 kB / 0.5864 GB, free: 1.133 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.49e-05/0.3965, allocations: 85.77 kB / 0.5865 GB, free: 1.047 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.3965, allocations: 9.703 kB / 0.5865 GB, free: 1.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.3965, allocations: 0 / 0.5865 GB, free: 1.039 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.945e-05/0.3966, allocations: 313.2 kB / 0.5868 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.3966, allocations: 22.56 kB / 0.5868 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/0.3967, allocations: 19.69 kB / 0.5868 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.671e-05/0.3968, allocations: 27.33 kB / 0.5869 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3968, allocations: 0 / 0.5869 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/0.397, allocations: 81.05 kB / 0.5869 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.397, allocations: 5 kB / 0.587 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.397, allocations: 0 / 0.587 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3971, allocations: 1.734 kB / 0.587 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.3971, allocations: 14.38 kB / 0.587 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3972, allocations: 1.219 kB / 0.587 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.3972, allocations: 12.73 kB / 0.587 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.3972, allocations: 4.641 kB / 0.587 GB, free: 0.6602 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 (2): * Single equations (assignments): 2 * 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.875e-05/0.3973, allocations: 118.9 kB / 0.5871 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.3973, allocations: 1.375 kB / 0.5871 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.3975, allocations: 79.58 kB / 0.5872 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3975, allocations: 5.5 kB / 0.5872 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3975, allocations: 0 / 0.5872 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3975, allocations: 5.031 kB / 0.5872 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.3977, allocations: 158.9 kB / 0.5873 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3977, allocations: 1.594 kB / 0.5873 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.3977, allocations: 11.52 kB / 0.5873 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3977, allocations: 0 / 0.5873 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.3978, allocations: 0 / 0.5873 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3978, allocations: 1.75 kB / 0.5874 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3978, allocations: 0 / 0.5874 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.398, allocations: 180.8 kB / 0.5875 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.398, allocations: 78.62 kB / 0.5876 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.398, allocations: 5.781 kB / 0.5876 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.3981, allocations: 7.688 kB / 0.5876 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.3981, allocations: 2.781 kB / 0.5876 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3981, allocations: 0.8438 kB / 0.5876 GB, free: 48 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.926e-05/0.3982, allocations: 87.66 kB / 0.5877 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3982, allocations: 0 / 0.5877 GB, free: 15.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.3985, allocations: 18.27 kB / 0.5877 GB, free: 15.96 MB / 446.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 (2): * Single equations (assignments): 2 * 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.0005886/0.3991, allocations: 0.7245 MB / 0.5884 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.3993, allocations: 43.64 kB / 0.5885 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3993, allocations: 0.9688 kB / 0.5885 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.003e-05/0.3994, allocations: 33.34 kB / 0.5885 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.3996, allocations: 1.938 kB / 0.5885 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.4, allocations: 149.8 kB / 0.5886 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.4002, allocations: 0.6758 MB / 0.5893 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.148e-05/0.4003, allocations: 5.75 kB / 0.5893 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.4003, allocations: 13.75 kB / 0.5893 GB, free: 14.39 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4003, allocations: 0 / 0.5893 GB, free: 14.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01181/0.4121, allocations: 1.229 MB / 0.5905 GB, free: 14.25 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.4123, allocations: 165.3 kB / 0.5907 GB, free: 14.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.085, allocations: 0.5625 kB / 0.5907 GB, free: 14.01 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: