Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_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.0009984/0.0009983, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009792/0.0009793, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.047/2.047, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.719/1.719, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004587, allocations: 12 kB / 0.5069 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2397, allocations: 82.31 MB / 0.5873 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.0009933/0.2408, allocations: 303.1 kB / 0.5876 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005696/0.2414, allocations: 163.6 kB / 0.5877 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.558e-05/0.2414, allocations: 4 kB / 0.5877 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.2414, allocations: 0 / 0.5877 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.646e-06/0.2415, allocations: 0 / 0.5877 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.242, allocations: 39.83 kB / 0.5878 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.764e-05/0.2421, allocations: 0 / 0.5878 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.578e-05/0.2421, allocations: 4 kB / 0.5878 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.738e-05/0.2422, allocations: 4 kB / 0.5878 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.028e-05/0.2422, allocations: 0 / 0.5878 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.2422, allocations: 0 / 0.5878 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.2425, allocations: 67.86 kB / 0.5878 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.216e-06/0.2425, allocations: 0 / 0.5878 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.52e-05/0.2426, allocations: 29.64 kB / 0.5879 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.2427, allocations: 19.97 kB / 0.5879 GB, free: 2.375 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2427, allocations: 0 / 0.5879 GB, free: 2.375 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2427, allocations: 0 / 0.5879 GB, free: 2.375 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2427, allocations: 0 / 0.5879 GB, free: 2.375 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003894/0.2431, allocations: 323.4 kB / 0.5882 GB, free: 2.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.2432, allocations: 12.03 kB / 0.5882 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.2432, allocations: 30.56 kB / 0.5882 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.2433, allocations: 0 / 0.5882 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.2434, allocations: 163 kB / 0.5884 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2434, allocations: 0 / 0.5884 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.2434, allocations: 0 / 0.5884 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.2436, allocations: 33.64 kB / 0.5884 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2436, allocations: 0 / 0.5884 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.2436, allocations: 4 kB / 0.5884 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2436, allocations: 0 / 0.5884 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.2436, allocations: 4 kB / 0.5884 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.2438, allocations: 153.6 kB / 0.5886 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.047e-05/0.2439, allocations: 14.58 kB / 0.5886 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009589/0.2449, allocations: 461.5 kB / 0.589 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.2449, allocations: 34.5 kB / 0.5891 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.2449, allocations: 0 / 0.5891 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001548/0.2451, allocations: 29.7 kB / 0.5891 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.2451, allocations: 55.41 kB / 0.5892 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.514e-05/0.2452, allocations: 93.8 kB / 0.5892 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.2452, allocations: 25.83 kB / 0.5893 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.2453, allocations: 88.14 kB / 0.5894 GB, free: 0.582 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.2453, allocations: 3.906 kB / 0.5894 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.2453, allocations: 0 / 0.5894 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2455, allocations: 310.8 kB / 0.5897 GB, free: 272 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.2455, allocations: 0 / 0.5897 GB, free: 272 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.547e-06/0.2455, allocations: 11.92 kB / 0.5897 GB, free: 260 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.957e-05/0.2455, allocations: 0 / 0.5897 GB, free: 260 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2455, allocations: 0 / 0.5897 GB, free: 260 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.109e-05/0.2456, allocations: 37.72 kB / 0.5897 GB, free: 216 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.2457, allocations: 9.719 kB / 0.5897 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2457, allocations: 0 / 0.5897 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.2457, allocations: 4 kB / 0.5897 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.2458, allocations: 0 / 0.5897 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.2458, allocations: 0 / 0.5897 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.345e-05/0.2458, allocations: 4 kB / 0.5897 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.2458, allocations: 0 / 0.5897 GB, free: 200 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 (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 0.0001203/0.246, allocations: 117.8 kB / 0.5898 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.246, allocations: 7.984 kB / 0.5898 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.2461, allocations: 36.77 kB / 0.5899 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2461, allocations: 0 / 0.5899 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2461, allocations: 0 / 0.5899 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2461, allocations: 4 kB / 0.5899 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.2463, allocations: 149.7 kB / 0.59 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2463, allocations: 0 / 0.59 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/0.2463, allocations: 0 / 0.59 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.2464, allocations: 3.953 kB / 0.59 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.2464, allocations: 8 kB / 0.59 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2464, allocations: 4.031 kB / 0.59 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2464, allocations: 0 / 0.59 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.2465, allocations: 61.05 kB / 0.5901 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.2466, allocations: 77.11 kB / 0.5902 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.2466, allocations: 7.953 kB / 0.5902 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.008e-05/0.2466, allocations: 0 / 0.5902 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.2466, allocations: 0 / 0.5902 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.2467, allocations: 7.969 kB / 0.5902 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.2467, allocations: 83.22 kB / 0.5903 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2467, allocations: 0 / 0.5903 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003275/0.2471, allocations: 16 kB / 0.5903 GB, free: 15.52 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 (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.0006139/0.2477, allocations: 0.6089 MB / 0.5909 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.472e-05/0.2478, allocations: 7.938 kB / 0.5909 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2478, allocations: 0 / 0.5909 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.494e-06/0.2478, allocations: 0 / 0.5909 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.2479, allocations: 3.953 kB / 0.5909 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.2484, allocations: 120.5 kB / 0.591 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.2487, allocations: 0.6692 MB / 0.5917 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.539e-05/0.2487, allocations: 0 / 0.5917 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.2488, allocations: 11.44 kB / 0.5917 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.2488, allocations: 0 / 0.5917 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.269, allocations: 0.9503 MB / 0.5926 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/0.2693, allocations: 168 kB / 0.5928 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.752/3.021, allocations: 7.312 kB / 0.5928 GB, free: 12.96 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: