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.0008553/0.0008553, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001128/0.001128, allocations: 168.7 kB / 15.95 MB, free: 204 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.333/1.333, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9086/0.9086, allocations: 135.3 MB / 426.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003383, allocations: 12 kB / 0.5071 GB, free: 5.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1508, allocations: 82.31 MB / 0.5875 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006188/0.1515, allocations: 311.1 kB / 0.5878 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003555/0.1518, allocations: 167.6 kB / 0.5879 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.045e-06/0.1519, allocations: 0 / 0.5879 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.955e-06/0.1519, allocations: 0 / 0.5879 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.1519, allocations: 0 / 0.5879 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.1522, allocations: 43.89 kB / 0.588 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.924e-05/0.1522, allocations: 4 kB / 0.588 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.851e-05/0.1522, allocations: 0 / 0.588 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.021e-05/0.1523, allocations: 4 kB / 0.588 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.675e-05/0.1523, allocations: 0 / 0.588 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.28e-06/0.1523, allocations: 0 / 0.588 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.1524, allocations: 63.86 kB / 0.588 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-06/0.1525, allocations: 7.938 kB / 0.5881 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.1525, allocations: 25.7 kB / 0.5881 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.726e-05/0.1526, allocations: 15.97 kB / 0.5881 GB, free: 2.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1526, allocations: 3.938 kB / 0.5881 GB, free: 2.227 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1526, allocations: 0 / 0.5881 GB, free: 2.227 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.1526, allocations: 4 kB / 0.5881 GB, free: 2.223 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.0002263/0.1528, allocations: 319.4 kB / 0.5884 GB, free: 1.863 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1529, allocations: 12.02 kB / 0.5884 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.1529, allocations: 30.56 kB / 0.5884 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.516e-05/0.1529, allocations: 4 kB / 0.5884 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.914e-05/0.153, allocations: 163 kB / 0.5886 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.153, allocations: 4 kB / 0.5886 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-06/0.153, allocations: 4 kB / 0.5886 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.906e-05/0.1531, allocations: 25.7 kB / 0.5886 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.1531, allocations: 0 / 0.5886 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-06/0.1531, allocations: 4 kB / 0.5886 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-06/0.1531, allocations: 0 / 0.5886 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.675e-05/0.1532, allocations: 7.938 kB / 0.5886 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001145/0.1533, allocations: 149.6 kB / 0.5888 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.043e-05/0.1533, allocations: 18.58 kB / 0.5888 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.485e-05/0.1533, allocations: 8.953 kB / 0.5888 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006183/0.154, allocations: 453.5 kB / 0.5892 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.154, allocations: 34.56 kB / 0.5893 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.154, allocations: 0 / 0.5893 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 9.649e-05/0.1541, allocations: 37.64 kB / 0.5893 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.1541, allocations: 51.41 kB / 0.5894 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.011e-05/0.1542, allocations: 93.98 kB / 0.5895 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.1542, allocations: 25.7 kB / 0.5895 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.161e-05/0.1542, allocations: 80.14 kB / 0.5896 GB, free: 436 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.1543, allocations: 3.906 kB / 0.5896 GB, free: 432 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-06/0.1543, allocations: 7.938 kB / 0.5896 GB, free: 424 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.1544, allocations: 310.8 kB / 0.5899 GB, free: 104 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-06/0.1544, allocations: 0 / 0.5899 GB, free: 104 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.1544, allocations: 3.984 kB / 0.5899 GB, free: 100 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.827e-05/0.1544, allocations: 19.95 kB / 0.5899 GB, free: 80 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1544, allocations: 0 / 0.5899 GB, free: 80 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.74e-05/0.1545, allocations: 33.64 kB / 0.5899 GB, free: 40 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.1545, allocations: 6.656 kB / 0.5899 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.1545, allocations: 0 / 0.5899 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.1545, allocations: 0 / 0.5899 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.978e-05/0.1545, allocations: 4 kB / 0.5899 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.1546, allocations: 0 / 0.5899 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.895e-06/0.1546, allocations: 0 / 0.5899 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-06/0.1546, allocations: 0 / 0.5899 GB, free: 32 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 7.993e-05/0.1547, allocations: 121.8 kB / 0.59 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-06/0.1547, allocations: 0 / 0.59 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/0.1547, allocations: 40.81 kB / 0.5901 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1547, allocations: 0 / 0.5901 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.1548, allocations: 0 / 0.5901 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1548, allocations: 0 / 0.5901 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.323e-05/0.1548, allocations: 145.7 kB / 0.5902 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1549, allocations: 3.953 kB / 0.5902 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.1549, allocations: 7.938 kB / 0.5902 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1549, allocations: 4.031 kB / 0.5902 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-06/0.1549, allocations: 0 / 0.5902 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1549, allocations: 0 / 0.5902 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1549, allocations: 0 / 0.5902 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.987e-05/0.155, allocations: 61.12 kB / 0.5903 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.155, allocations: 81.06 kB / 0.5904 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-06/0.155, allocations: 0 / 0.5904 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-06/0.155, allocations: 4 kB / 0.5904 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-06/0.1551, allocations: 4.031 kB / 0.5904 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1551, allocations: 4 kB / 0.5904 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.347e-05/0.1551, allocations: 76.94 kB / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1551, allocations: 0 / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001926/0.1553, allocations: 8 kB / 0.5905 GB, free: 15.38 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.0004163/0.1557, allocations: 0.6244 MB / 0.5911 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.903e-05/0.1558, allocations: 4 kB / 0.5911 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1558, allocations: 0 / 0.5911 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-06/0.1558, allocations: 7.938 kB / 0.5911 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.1559, allocations: 7.938 kB / 0.5911 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.1562, allocations: 112.5 kB / 0.5912 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.1564, allocations: 0.673 MB / 0.5919 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.204e-05/0.1564, allocations: 4 kB / 0.5919 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.159e-05/0.1564, allocations: 7.438 kB / 0.5919 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1565, allocations: 0 / 0.5919 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009634/0.1661, allocations: 0.9428 MB / 0.5928 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.1663, allocations: 182.2 kB / 0.593 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/1.726, allocations: 0 / 0.593 GB, free: 12.8 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: