Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.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.BesselY0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselY0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselY0",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.0008457/0.0008457, allocations: 84.38 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.0009758/0.0009757, 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.313/1.313, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7419/0.7419, allocations: 132.3 MB / 423.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003085, allocations: 8 kB / 0.5035 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3948, allocations: 81.57 MB / 0.5832 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY0): time 0.001393/0.3963, allocations: 1.14 MB / 0.5843 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005857/0.3969, allocations: 331 kB / 0.5846 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.3969, allocations: 0.9375 kB / 0.5846 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.3969, allocations: 1.312 kB / 0.5846 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.418e-05/0.397, allocations: 7.516 kB / 0.5846 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.3973, allocations: 74.89 kB / 0.5847 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.102e-05/0.3974, allocations: 17.56 kB / 0.5847 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.648e-05/0.3974, allocations: 7.312 kB / 0.5847 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.511e-05/0.3975, allocations: 9.094 kB / 0.5847 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.3975, allocations: 12.92 kB / 0.5847 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.3976, allocations: 1.719 kB / 0.5847 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.3978, allocations: 129.1 kB / 0.5848 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.147e-06/0.3978, allocations: 1.344 kB / 0.5848 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.3978, allocations: 27.64 kB / 0.5849 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.398, allocations: 52.92 kB / 0.5849 GB, free: 2.809 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.398, allocations: 4.781 kB / 0.5849 GB, free: 2.805 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.398, allocations: 0 / 0.5849 GB, free: 2.805 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.398, allocations: 0 / 0.5849 GB, free: 2.805 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.0003439/0.3984, allocations: 360.4 kB / 0.5853 GB, free: 2.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3984, allocations: 9.719 kB / 0.5853 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.3984, allocations: 31.27 kB / 0.5853 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.945e-05/0.3985, allocations: 5.203 kB / 0.5853 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.425e-05/0.3985, allocations: 165.8 kB / 0.5855 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3986, allocations: 6.469 kB / 0.5855 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.3986, allocations: 3.938 kB / 0.5855 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.3987, allocations: 58.12 kB / 0.5855 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3988, allocations: 0 / 0.5855 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.3988, allocations: 0 / 0.5855 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.3988, allocations: 0.5312 kB / 0.5855 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.3989, allocations: 47.09 kB / 0.5856 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.3992, allocations: 250.3 kB / 0.5858 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.3993, allocations: 45.47 kB / 0.5859 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.435e-05/0.3994, allocations: 28.84 kB / 0.5859 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005494/0.4, allocations: 459.2 kB / 0.5863 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.4, allocations: 36.06 kB / 0.5864 GB, free: 1.305 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/0.4, allocations: 3.984 kB / 0.5864 GB, free: 1.301 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003354/0.4003, allocations: 105.2 kB / 0.5865 GB, free: 1.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.4004, allocations: 57.23 kB / 0.5865 GB, free: 1.184 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.871e-05/0.4004, allocations: 100.4 kB / 0.5866 GB, free: 1.082 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.4005, allocations: 26.86 kB / 0.5866 GB, free: 1.051 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.4005, allocations: 81.97 kB / 0.5867 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.4005, allocations: 4.516 kB / 0.5867 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.4005, allocations: 0.8125 kB / 0.5867 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.346e-05/0.4006, allocations: 317.7 kB / 0.587 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.4006, allocations: 21.52 kB / 0.587 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.4007, allocations: 23.62 kB / 0.5871 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.491e-05/0.4008, allocations: 23.27 kB / 0.5871 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4008, allocations: 1.219 kB / 0.5871 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00018/0.401, allocations: 72.28 kB / 0.5872 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.401, allocations: 5.391 kB / 0.5872 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.401, allocations: 0 / 0.5872 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.401, allocations: 9.438 kB / 0.5872 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/0.4011, allocations: 11.48 kB / 0.5872 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4011, allocations: 3.953 kB / 0.5872 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.4012, allocations: 13.28 kB / 0.5872 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.4012, allocations: 0 / 0.5872 GB, free: 0.5859 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.644e-05/0.4013, allocations: 109.6 kB / 0.5873 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.4013, allocations: 5.719 kB / 0.5873 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.4015, allocations: 85.17 kB / 0.5874 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.4015, allocations: 0.6094 kB / 0.5874 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4015, allocations: 5.312 kB / 0.5874 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4016, allocations: 3.953 kB / 0.5874 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.4017, allocations: 155 kB / 0.5875 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4017, allocations: 5.281 kB / 0.5876 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.4017, allocations: 14.56 kB / 0.5876 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4017, allocations: 5.672 kB / 0.5876 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.4018, allocations: 0 / 0.5876 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4018, allocations: 1.562 kB / 0.5876 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4018, allocations: 0.6094 kB / 0.5876 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.402, allocations: 180.3 kB / 0.5877 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.402, allocations: 78.78 kB / 0.5878 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.402, allocations: 0 / 0.5878 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.4021, allocations: 8.891 kB / 0.5878 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.4022, allocations: 6.703 kB / 0.5878 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.4022, allocations: 0.8438 kB / 0.5878 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.626e-05/0.4022, allocations: 80.42 kB / 0.5879 GB, free: 15.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4022, allocations: 0 / 0.5879 GB, free: 15.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.4025, allocations: 32.59 kB / 0.5879 GB, free: 15.88 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.000671/0.4032, allocations: 0.7464 MB / 0.5887 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.4034, allocations: 44.02 kB / 0.5887 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4034, allocations: 0 / 0.5887 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.4035, allocations: 26.05 kB / 0.5887 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.4037, allocations: 8.703 kB / 0.5887 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.4041, allocations: 160.2 kB / 0.5889 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.4043, allocations: 0.677 MB / 0.5896 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.42e-05/0.4044, allocations: 5.844 kB / 0.5896 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.4044, allocations: 8.141 kB / 0.5896 GB, free: 14.31 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4044, allocations: 1.438 kB / 0.5896 GB, free: 14.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01168/0.4161, allocations: 1.479 MB / 0.591 GB, free: 14.15 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/0.4163, allocations: 168.4 kB / 0.5912 GB, free: 13.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.044, allocations: 0 / 0.5912 GB, free: 13.91 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselY0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.pipe 2>&1) Environment - environmentSimulation: