Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",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.001294/0.001294, allocations: 100 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.001846/0.001846, 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.558/2.558, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.627/1.627, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005464/0.0005466, allocations: 8 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2958, allocations: 82.32 MB / 0.5873 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001067/0.2969, allocations: 299.1 kB / 0.5876 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006458/0.2976, allocations: 187.5 kB / 0.5878 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.2976, allocations: 0 / 0.5878 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.2977, allocations: 0 / 0.5878 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.112e-06/0.2977, allocations: 0 / 0.5878 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.2981, allocations: 39.83 kB / 0.5878 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.056e-05/0.2982, allocations: 8 kB / 0.5878 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.2983, allocations: 0 / 0.5878 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.608e-05/0.2983, allocations: 0 / 0.5878 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.844e-05/0.2983, allocations: 0 / 0.5878 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.225e-06/0.2983, allocations: 0 / 0.5878 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.2986, allocations: 63.92 kB / 0.5879 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.235e-06/0.2986, allocations: 0 / 0.5879 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.2987, allocations: 29.7 kB / 0.5879 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.2988, allocations: 15.97 kB / 0.5879 GB, free: 2.383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2988, allocations: 4 kB / 0.5879 GB, free: 2.379 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.288e-06/0.2988, allocations: 3.938 kB / 0.5879 GB, free: 2.375 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.2989, allocations: 7.938 kB / 0.5879 GB, free: 2.367 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.0004052/0.2993, allocations: 315.4 kB / 0.5882 GB, free: 2.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.2993, allocations: 8.031 kB / 0.5882 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.2994, allocations: 30.56 kB / 0.5883 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.2994, allocations: 4 kB / 0.5883 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.2996, allocations: 163 kB / 0.5884 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2996, allocations: 0 / 0.5884 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.2996, allocations: 0 / 0.5884 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.2998, allocations: 29.7 kB / 0.5885 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.2998, allocations: 0 / 0.5885 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.2998, allocations: 4 kB / 0.5885 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.2998, allocations: 0 / 0.5885 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.261e-05/0.2999, allocations: 3.984 kB / 0.5885 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.3001, allocations: 157.5 kB / 0.5886 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.896e-05/0.3002, allocations: 18.61 kB / 0.5886 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.3015, allocations: 461.5 kB / 0.5891 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.3015, allocations: 30.56 kB / 0.5891 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.884e-06/0.3015, allocations: 4 kB / 0.5891 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001942/0.3018, allocations: 33.64 kB / 0.5891 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.3018, allocations: 51.53 kB / 0.5892 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.503e-05/0.3019, allocations: 97.84 kB / 0.5893 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.302, allocations: 25.7 kB / 0.5893 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.302, allocations: 80.14 kB / 0.5894 GB, free: 0.582 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.3021, allocations: 7.844 kB / 0.5894 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.3021, allocations: 4 kB / 0.5894 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3022, allocations: 314.8 kB / 0.5897 GB, free: 264 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.3023, allocations: 0 / 0.5897 GB, free: 264 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.3023, allocations: 0 / 0.5897 GB, free: 264 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.501e-05/0.3023, allocations: 4.062 kB / 0.5897 GB, free: 260 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3023, allocations: 0 / 0.5897 GB, free: 260 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.546e-05/0.3024, allocations: 41.66 kB / 0.5897 GB, free: 212 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.3025, allocations: 4 kB / 0.5897 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3025, allocations: 3.984 kB / 0.5897 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3025, allocations: 0 / 0.5897 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.3026, allocations: 7.938 kB / 0.5897 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3026, allocations: 0 / 0.5897 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.3027, allocations: 0 / 0.5897 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.3027, allocations: 0 / 0.5897 GB, free: 196 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.0001031/0.3028, allocations: 113.9 kB / 0.5899 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.3028, allocations: 3.953 kB / 0.5899 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.3029, allocations: 40.81 kB / 0.5899 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.303, allocations: 3.938 kB / 0.5899 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.303, allocations: 0 / 0.5899 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.303, allocations: 0 / 0.5899 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.3032, allocations: 145.7 kB / 0.59 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.3032, allocations: 0 / 0.59 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/0.3032, allocations: 4 kB / 0.59 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3033, allocations: 7.984 kB / 0.5901 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3033, allocations: 0 / 0.5901 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.3033, allocations: 11.86 kB / 0.5901 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3033, allocations: 0 / 0.5901 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.3034, allocations: 57.14 kB / 0.5901 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.3035, allocations: 77.11 kB / 0.5902 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.3035, allocations: 3.953 kB / 0.5902 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.3036, allocations: 4.031 kB / 0.5902 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.3036, allocations: 7.969 kB / 0.5902 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.3036, allocations: 0 / 0.5902 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.936e-05/0.3037, allocations: 75.28 kB / 0.5903 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3037, allocations: 0 / 0.5903 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000388/0.3041, allocations: 16 kB / 0.5903 GB, free: 15.53 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.0007176/0.3048, allocations: 0.6088 MB / 0.5909 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.915e-05/0.3049, allocations: 8 kB / 0.5909 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3049, allocations: 0 / 0.5909 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/0.3049, 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.0001546/0.3051, allocations: 12.11 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.0004502/0.3056, allocations: 112.3 kB / 0.591 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.306, allocations: 0.6731 MB / 0.5917 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.761e-05/0.306, allocations: 7.938 kB / 0.5917 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.306, allocations: 7.438 kB / 0.5917 GB, free: 14 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.306, allocations: 0 / 0.5917 GB, free: 14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.3253, allocations: 0.9485 MB / 0.5926 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000271/0.3256, allocations: 174.3 kB / 0.5928 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/3.135, allocations: 3.938 kB / 0.5928 GB, free: 12.95 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: